[spectrum] Fix priorities of the sysvinit script (Closes #680459)

Matej Cepl mcepl at fedoraproject.org
Tue Nov 29 00:44:38 UTC 2011


commit d6d8a5632f8f96804a63d47dcdeba44fdb64a730
Author: Matěj Cepl <mcepl at redhat.com>
Date:   Tue Nov 29 01:45:06 2011 +0100

    Fix priorities of the sysvinit script (Closes #680459)

 spectrum-fix-sysvinit-priority.patch |   11 +++++++++++
 spectrum.spec                        |    9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/spectrum-fix-sysvinit-priority.patch b/spectrum-fix-sysvinit-priority.patch
new file mode 100644
index 0000000..4bcc6f9
--- /dev/null
+++ b/spectrum-fix-sysvinit-priority.patch
@@ -0,0 +1,11 @@
+--- a/initscripts/fedora/spectrum
++++ b/initscripts/fedora/spectrum
+@@ -7,7 +7,7 @@
+ # Copyright 2009 Red Hat, Inc.
+ # Released under GNU GPL v2 or (at your option) any later version.
+ #
+-# chkconfig: - 40 60
++# chkconfig: - 65 35
+ # description:	This is an XMPP transport/gateway to a wide range \
+ #		of different networks such as ICQ, XMPP (Jabber, GTalk), \
+ #		AIM, MSN, Facebook, Twitter, Gadu-Gadu, IRC and SIMPLE.
diff --git a/spectrum.spec b/spectrum.spec
index 9df2bc3..04ab434 100644
--- a/spectrum.spec
+++ b/spectrum.spec
@@ -7,7 +7,7 @@
 Summary: XMPP transport/gateway
 Name: spectrum
 Version: 1.4.8
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: System Environment/Daemons
 # spectrumctl is GPLv3+, rest GPLv2+
 License: GPLv2+ and GPLv3+
@@ -19,6 +19,8 @@ Source0: http://spectrum.im/attachments/download/43/%{name}-%{version}.tar.gz
 # Patch to make spectrum build with an obsolete cmake on RHEL-5
 Source1: spectrum-tmpfiles.conf
 Patch0: spectrum-old-cmake.patch
+#
+Patch1: spectrum-fix-sysvinit-priority.patch
 URL: http://spectrum.im/
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildRequires: libpurple-devel
@@ -58,6 +60,8 @@ switched on in order to get libpurple.
 %patch0 -p1 -b .RHEL-cmake
 %endif
 
+%patch1 -p1 -b .sysvinit
+
 rm -vf po/*.po
 
 %build
@@ -151,6 +155,9 @@ fi
 %endif
 
 %changelog
+* Tue Nov 29 2011 Matěj Cepl <mcepl at redhat.com> - 1.4.8-4
+- Fix priorities of the sysvinit script (Closes #680459)
+
 * Sat Jul 30 2011 Matěj Cepl <mcepl at redhat.com> - 1.4.8-3
 - Rebuilt against new libraries.
 


More information about the scm-commits mailing list