X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=procprotect.spec;h=c308b1ea1fe1d04937335892ca7ef874420cbd0f;hb=66d7e95bfabaed2fc2ff8e15d9e357b30cf00498;hp=6128f7134ccde9fd68807eb98fa5600cf93d33f5;hpb=67bda64d19e94d2acc0e86d379da39811312ef2b;p=procprotect.git diff --git a/procprotect.spec b/procprotect.spec index 6128f71..c308b1e 100644 --- a/procprotect.spec +++ b/procprotect.spec @@ -1,6 +1,6 @@ %define name procprotect %define version 0.4 -%define taglevel 1 +%define taglevel 2 ### 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,20 @@ 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 +* Wed Aug 28 2013 Sapan Bhatia - procprotect-0.4-2 +- * Bug fixes that should lead to increased stability +- * Install via make and make install + * Mon Aug 19 2013 Thierry Parmentelat - procprotect-0.4-1 - working version with kernels 3.10