SPECS: Regina.spec - init patch; there are still pre/post script f...
shadzik
shadzik at pld-linux.org
Thu May 11 02:04:18 CEST 2006
Author: shadzik Date: Thu May 11 00:04:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- init patch; there are still pre/post script failures
---- Files affected:
SPECS:
Regina.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/Regina.spec
diff -u SPECS/Regina.spec:1.1 SPECS/Regina.spec:1.2
--- SPECS/Regina.spec:1.1 Thu May 11 01:39:11 2006
+++ SPECS/Regina.spec Thu May 11 02:04:13 2006
@@ -14,6 +14,7 @@
Source0: http://dl.sourceforge.net/regina-rexx/%{name}-REXX-%{version}.tar.gz
# Source0-md5: bdb85f57cbe3e7f9b45aea329cd7752e
Patch0: %{name}-makefileinfix.patch
+Patch1: %{name}-init.patch
URL: http://regina-rexx.sourceforge.net
BuildRequires: autoconf
BuildRequires: automake
@@ -59,7 +60,8 @@
%prep
%setup -q
-%patch -p1
+%patch0 -p1
+%patch1 -p0
%build
./configure
@@ -80,18 +82,15 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
+%post
/sbin/chkconfig --add rxstack
-%service rxstack restart
%preun
-if [ "$1" = "0" ]; then
- %service rxstack stop
- /sbin/chkconfig --del rxstack
+if [ "$1" = "0" ] ; then
+ %service rxstack stop
+ /sbin/chkconfig --del rxstack
fi
-%postun -p /sbin/ldconfig
-
%files
%defattr(644,root,root,755)
%doc COPYING-LIB README* demo
@@ -108,6 +107,9 @@
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/05/11 00:04:13 shadzik
+- init patch; there are still pre/post script failures
+
Revision 1.1 2006/05/10 23:39:11 shadzik
- new (originally by Piotr Michonski, cleaned up by myself)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/Regina.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list