Author: hobbes1069
Update of /cvs/free/rpms/akmods/F-14
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26488
Modified Files:
akmods.spec
Log Message:
* Tue Nov 24 2011 Richard Shaw <hobbes1069(a)gmail.com> - 0.3.8-3
- Kmod can be newer than akmod due to rebuilds for new kernels (#2063)
Index: akmods.spec
===================================================================
RCS file: /cvs/free/rpms/akmods/F-14/akmods.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- akmods.spec 24 Nov 2011 17:04:46 -0000 1.9
+++ akmods.spec 24 Nov 2011 17:08:01 -0000 1.10
@@ -39,7 +39,7 @@
# we create a special user that used by akmods to build kmod packages
Requires(pre): shadow-utils
-%if %fedora <= 15
+%if %fedora <=16
# for the akmods init script:
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
@@ -73,7 +73,7 @@
install -D -p -m 0755 %{SOURCE0} %{buildroot}%{_sbindir}/akmods
install -D -p -m 0755 %{SOURCE2} %{buildroot}%{_bindir}/akmodsbuild
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/akmodsbuild.1
-%if %fedora <= 15
+%if %fedora <=16
install -D -p -m 0755 %{SOURCE4} %{buildroot}%{_initrddir}/akmods
%else
install -D -p -m 0644 %{SOURCE7} %{buildroot}%{_unitdir}/akmods.service
@@ -90,7 +90,7 @@
-c "User is used by akmods to build akmod packages" akmods
%post
-%if %fedora <= 15
+%if %fedora <=16
# add init script
/sbin/chkconfig --add akmods
# enable init script; users that installed akmods directly or indirectly
@@ -107,7 +107,7 @@
%endif
%preun
-%if %fedora <= 15
+%if %fedora <=16
if [ $1 = 0 ]; then
/sbin/chkconfig --del akmods
fi
@@ -125,7 +125,7 @@
%attr(-,akmods,akmods) %{_localstatedir}/cache/akmods
%{_bindir}/akmodsbuild
%{_sbindir}/akmods
-%if %fedora <= 15
+%if %fedora <=16
%{_initrddir}/akmods
%else
%{_unitdir}/akmods.service
Show replies by date