X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=procprotect.spec;h=0edf5eee9c010a475ecff59ab26c48d6b3943854;hb=5438f9d2ba5ac297089c8e868b71bb86b1d19bb1;hp=f567b3fb3e21d8003f0a6b00fde231d547b5ae71;hpb=9ed739cdca3fe2f2db821e872289ef88497ca989;p=procprotect.git diff --git a/procprotect.spec b/procprotect.spec index f567b3f..0edf5ee 100644 --- a/procprotect.spec +++ b/procprotect.spec @@ -1,6 +1,6 @@ %define name procprotect %define version 0.4 -%define taglevel 4 +%define taglevel 7 ### legacy from locally-built kernels, used to define these # kernel_release : 1.fc16 (24 is then the planetlab taglevel) @@ -42,6 +42,7 @@ License: GPL Group: System Environment/Kernel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Source0: procprotect-%{version}.tar.gz +Requires: kernel = %{kernel_version}-%{kernel_release} %description ACLs for protecting entries in the proc filesystem. @@ -50,7 +51,7 @@ ACLs for protecting entries in the proc filesystem. %setup -q %build -make -C %{kernelpath} V=1 M=$(pwd) modules +make -C %{kernelpath} V=1 M=$(pwd) KVER=%{kernel_id} modules %install install -D -m 755 procprotect.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/kernel/net/procprotect/procprotect.ko @@ -74,6 +75,15 @@ rm -rf $RPM_BUILD_ROOT %postun %changelog +* Fri Apr 03 2015 Thierry Parmentelat - procprotect-0.4-7 +- only cleaned up the systemd unit file to get rid of ControlGroup: + +* Wed Feb 18 2015 Thierry Parmentelat - procprotect-0.4-6 +- moved pathname from stack to heap, and robustified + +* Wed Jul 16 2014 Thierry Parmentelat - procprotect-0.4-5 +- tweak for building against a home-made kernel + * Mon Apr 28 2014 Thierry Parmentelat - procprotect-0.4-4 - change to specfile only, for running depmod with right kernel version