[initscripts] fix udev unit naming

Bill Nottingham notting at fedoraproject.org
Mon Jul 9 18:48:50 UTC 2012


commit 870007dd9639789caa89f9f158de42442eb55e86
Author: Bill Nottingham <notting at redhat.com>
Date:   Mon Jul 9 14:48:39 2012 -0400

    fix udev unit naming

 fixunit.diff     |   12 ++++++++++++
 initscripts.spec |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/fixunit.diff b/fixunit.diff
new file mode 100644
index 0000000..bdfc418
--- /dev/null
+++ b/fixunit.diff
@@ -0,0 +1,12 @@
+diff -up initscripts-9.39/systemd/system/fedora-wait-storage.service.old initscripts-9.39/systemd/system/fedora-wait-storage.service
+--- initscripts-9.39/systemd/system/fedora-wait-storage.service.old	2012-06-29 16:28:04.000000000 -0400
++++ initscripts-9.39/systemd/system/fedora-wait-storage.service	2012-07-09 14:47:30.288511989 -0400
+@@ -4,7 +4,7 @@ DefaultDependencies=no
+ Conflicts=shutdown.target
+ After=systemd-udev-settle.service
+ Before=local-fs.target shutdown.target
+-Wants=systemd-udev.service systemd-udev-settle.service
++Wants=systemd-udev-settle.service
+ 
+ [Service]
+ ExecStart=-/sbin/rmmod scsi_wait_scan
diff --git a/initscripts.spec b/initscripts.spec
index 5224f77..ce2a880 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -8,9 +8,10 @@ Version: 9.39
 # ppp-watch is GPLv2+, everything else is GPLv2
 License: GPLv2 and GPLv2+
 Group: System Environment/Base
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://fedorahosted.org/releases/i/n/initscripts/
 Source: http://fedorahosted.org/releases/i/n/initscripts/initscripts-%{version}.tar.bz2
+Patch1: fixunit.diff
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires: /bin/awk, sed, coreutils
 Requires: /sbin/sysctl
@@ -76,6 +77,7 @@ Currently, this consists of various memory checking code.
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 make
@@ -313,6 +315,9 @@ rm -rf $RPM_BUILD_ROOT
 /etc/profile.d/debug*
 
 %changelog
+* Mon Jul 09 2012 Bill Nottingham <notting at redhat.com> - 9.39-2
+- fix udev unit naming
+
 * Fri Jun 29 2012 Bill Nottingham <notting at redhat.com> - 9.39-1
 - assorted documentation cleanups
 - typo, spelling, licenese clean up (<ville.skytta at iki.fi>)


More information about the scm-commits mailing list