Author: hobbes1069
Update of /cvs/free/rpms/akmods/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv22549
Modified Files:
akmods.spec
Log Message:
* Fri Jun 01 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.5.1-2
- Add service file to run again on shutdown.
- Add conditional for Fedora 18 to specify correct systemd graphical service.
Index: akmods.spec
===================================================================
RCS file: /cvs/free/rpms/akmods/devel/akmods.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- akmods.spec 22 Dec 2012 16:02:20 -0000 1.16
+++ akmods.spec 31 Dec 2012 14:15:10 -0000 1.17
@@ -1,6 +1,6 @@
Name: akmods
Version: 0.5.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Automatic kmods build and install tool
Group: System Environment/Kernel
@@ -51,15 +51,11 @@
%prep
-%if 0%{?fedora} >= 18
-sed -i "s|@SERVICE(a)|display-manager.service|" %{SOURCE4}
-%else
-sed -i "s|@SERVICE(a)|prefdm.service|" %{SOURCE4}
-%endif
+echo Nothing to prep.
%build
-echo nothing to build
+echo Nothing to build.
%install
@@ -70,9 +66,16 @@
install -D -pm 0755 %{SOURCE2} %{buildroot}%{_bindir}/akmodsbuild
install -D -pm 0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/akmodsbuild.1
install -D -pm 0755 %{SOURCE6} %{buildroot}%{_bindir}/akmods-shutdown
-install -D -pm 0644 %{SOURCE4} %{buildroot}%{_unitdir}/akmods.service
-install -D -pm 0644 %{SOURCE7} %{buildroot}%{_unitdir}/akmods-shutdown.service
install -D -pm 0755 %{SOURCE5}
%{buildroot}%{_sysconfdir}/kernel/postinst.d/akmodsposttrans
+install -D -pm 0644 %{SOURCE7} %{buildroot}%{_unitdir}/akmods-shutdown.service
+
+%if 0%{?fedora} >= 18
+sed "s|@SERVICE(a)|display-manager.service|" %{SOURCE4} >\
+ %{buildroot}%{_unitdir}/akmods.service
+%else
+sed "s|@SERVICE(a)|prefdm.service|" %{SOURCE4} >\
+ %{buildroot}%{_unitdir}/akmods.service
+%endif
%pre
@@ -113,7 +116,7 @@
%changelog
-* Fri Jun 01 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.5.1-1
+* Fri Jun 01 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.5.1-2
- Add service file to run again on shutdown.
- Add conditional for Fedora 18 to specify correct systemd graphical service.
Show replies by date