SPECS: php-pecl-radius.spec - use sed directly in trigger, rel 8

glen glen at pld-linux.org
Thu Apr 27 21:35:30 CEST 2006


Author: glen                         Date: Thu Apr 27 19:35:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- use sed directly in trigger, rel 8

---- Files affected:
SPECS:
   php-pecl-radius.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/php-pecl-radius.spec
diff -u SPECS/php-pecl-radius.spec:1.20 SPECS/php-pecl-radius.spec:1.21
--- SPECS/php-pecl-radius.spec:1.20	Thu Dec 22 13:12:19 2005
+++ SPECS/php-pecl-radius.spec	Thu Apr 27 21:35:25 2006
@@ -7,7 +7,7 @@
 Summary(pl):	Biblioteka klienta Radiusa
 Name:		php-pecl-%{_modname}
 Version:	1.2.4
-Release:	7
+Release:	8
 License:	PHP/BSD
 Group:		Development/Languages/PHP
 Source0:	http://pecl.php.net/get/%{_modname}-%{version}.tgz
@@ -16,6 +16,7 @@
 BuildRequires:	php-devel >= 3:5.0.0
 BuildRequires:	rpmbuild(macros) >= 1.254
 %{?requires_php_extension}
+Requires(triggerpostun):	sed >= 4.0
 Requires:	%{_sysconfdir}/conf.d
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -71,7 +72,7 @@
 fi
 
 %triggerpostun -- %{name} < 1.2.4-4
-%{_sbindir}/php-module-install remove %{_modname} %{_sysconfdir}/php.ini
+%{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*%{_modname}\.so/d' %{_sysconfdir}/php.ini
 
 %files
 %defattr(644,root,root,755)
@@ -85,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/04/27 19:35:25  glen
+- use sed directly in trigger, rel 8
+
 Revision 1.20  2005/12/22 12:12:19  glen
 - rel 7 (rebuild with new php)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pecl-radius.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list