SPECS: capi4k-utils.spec - fixed scripts (was stoppng service on u...
glen
glen at pld-linux.org
Fri Feb 24 16:01:10 CET 2006
Author: glen Date: Fri Feb 24 15:01:10 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- fixed scripts (was stoppng service on upgrade), STBR
---- Files affected:
SPECS:
capi4k-utils.spec (1.15 -> 1.16)
---- Diffs:
================================================================
Index: SPECS/capi4k-utils.spec
diff -u SPECS/capi4k-utils.spec:1.15 SPECS/capi4k-utils.spec:1.16
--- SPECS/capi4k-utils.spec:1.15 Mon Dec 12 16:19:32 2005
+++ SPECS/capi4k-utils.spec Fri Feb 24 16:01:04 2006
@@ -21,7 +21,8 @@
URL: ftp://ftp.in-berlin.de/pub/capi4linux/
BuildRequires: libtool
BuildRequires: ppp-plugin-devel
-Requires(post,postun): /sbin/ldconfig
+BuildRequires: rpmbuild(macros) >= 1.268
+Requires(post): /sbin/ldconfig
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -51,8 +52,8 @@
%package devel
Summary: Header files for capi development
-Summary(pl): Pliki nagłówkowe capi
Summary(de): Kopfdateien zur Entwicklung von CAPI Programmen
+Summary(pl): Pliki nagłówkowe capi
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
@@ -194,21 +195,15 @@
%post
/sbin/ldconfig
/sbin/chkconfig --add capi
-exit 0
+%service capi restart
%preun
if [ "$1" = "0" ]; then
- /etc/rc.d/init.d/capi stop >&2
+ %service capi stop
/sbin/chkconfig --del capi
fi
-exit 0
-%postun
-/sbin/ldconfig
-if [ "$1" -ge "1" ]; then
- /etc/rc.d/init.d/capi stop >&2
-fi
-exit 0
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
@@ -259,6 +254,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16 2006/02/24 15:01:04 glen
+- fixed scripts (was stoppng service on upgrade), STBR
+
Revision 1.15 2005/12/12 15:19:32 glen
- adapterized (sorted %verify flags)
@@ -284,7 +282,7 @@
- on amd64 place libraries in /usr/lib64
Revision 1.7 2004/12/22 13:40:13 radzio
- - apply Patch1 only on amd64
+- apply Patch1 only on amd64
Revision 1.6 2004/12/21 16:54:40 radzio
- add capi4k-utils-amd64.patch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/capi4k-utils.spec?r1=1.15&r2=1.16&f=u
More information about the pld-cvs-commit
mailing list