X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=procprotect.spec;h=3251c22b69fcaf797dc716d5bef6ccad45e68229;hb=f70c77aa82b35c10e6256dbdef263518fb1f4c14;hp=1cf4c955bdb965f708e8a27057a2b0588c701b7e;hpb=ee105df2c377e54fb294ba8b92de623717abd8c1;p=procprotect.git diff --git a/procprotect.spec b/procprotect.spec index 1cf4c95..3251c22 100644 --- a/procprotect.spec +++ b/procprotect.spec @@ -1,6 +1,6 @@ %define name procprotect -%define version 0.3 -%define taglevel 4 +%define version 0.4 +%define taglevel 1 ### legacy from locally-built kernels, used to define these # kernel_release : 1.fc16 (24 is then the planetlab taglevel) @@ -52,6 +52,9 @@ make -C %{kernelpath} V=1 M=$(pwd) modules install -D -m 755 procprotect.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/kernel/net/procprotect/procprotect.ko mkdir -p $RPM_BUILD_ROOT/etc/modules-load.d install -m 644 procprotect.conf $RPM_BUILD_ROOT/etc/modules-load.d/procprotect.conf +mkdir -p $RPM_BUILD_ROOT/usr/lib/systemd/system +install -m 644 procprotect.service $RPM_BUILD_ROOT/usr/lib/systemd/system/procprotect.service +install -m 755 procprotect.init $RPM_BUILD_ROOT/usr/sbin/procprotect.init %clean rm -rf $RPM_BUILD_ROOT @@ -59,13 +62,19 @@ rm -rf $RPM_BUILD_ROOT %files /lib/modules/%{kernel_id} /etc/modules-load.d/procprotect.conf +/usr/sbin/procprotect.init +/usr/lib/systemd/system/procprotect.service %post /sbin/depmod -a +/bin/systemctl enable procprotect.service %postun %changelog +* Mon Aug 19 2013 Thierry Parmentelat - procprotect-0.4-1 +- working version with kernels 3.10 + * Tue May 21 2013 Sapan Bhatia - procprotect-0.3-4 - Compatibility with kernel 3.9