X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=procprotect.spec;h=d0266560ca06d076c8079680fe88255f0e4e9a3a;hb=d1073645c6e61a13ace893d0f3bb1d4c99f2618c;hp=1cf4c955bdb965f708e8a27057a2b0588c701b7e;hpb=ee105df2c377e54fb294ba8b92de623717abd8c1;p=procprotect.git diff --git a/procprotect.spec b/procprotect.spec index 1cf4c95..d026656 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) @@ -50,8 +50,9 @@ make -C %{kernelpath} V=1 M=$(pwd) modules %install 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 +install -D -m 644 procprotect.conf $RPM_BUILD_ROOT/etc/modules-load.d/procprotect.conf +install -D -m 644 procprotect.service $RPM_BUILD_ROOT/usr/lib/systemd/system/procprotect.service +install -D -m 755 procprotect.init $RPM_BUILD_ROOT/usr/sbin/procprotect.init %clean rm -rf $RPM_BUILD_ROOT @@ -59,13 +60,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