SPECS (DEVEL): php-pear-PEAR.spec - use %post message from pear in...

glen glen at pld-linux.org
Sun Sep 18 13:52:29 CEST 2005


Author: glen                         Date: Sun Sep 18 11:52:29 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- use %post message from pear install

---- Files affected:
SPECS:
   php-pear-PEAR.spec (1.65.2.8 -> 1.65.2.9) 

---- Diffs:

================================================================
Index: SPECS/php-pear-PEAR.spec
diff -u SPECS/php-pear-PEAR.spec:1.65.2.8 SPECS/php-pear-PEAR.spec:1.65.2.9
--- SPECS/php-pear-PEAR.spec:1.65.2.8	Sun Sep 18 13:00:35 2005
+++ SPECS/php-pear-PEAR.spec	Sun Sep 18 13:52:23 2005
@@ -11,7 +11,7 @@
 Name:		php-pear-%{_pearname}
 Version:	1.4.0
 %define		_pre b1
-%define		_rel 3.17
+%define		_rel 3.20
 Release:	0.%{_pre}.%{_rel}
 Epoch:		1
 License:	PHP 3.0
@@ -21,7 +21,7 @@
 Patch0:		%{name}-memory.patch
 Patch1:		%{name}-sysconfdir.patch
 URL:		http://pear.php.net/package/PEAR/
-BuildRequires:	php-pear-build
+BuildRequires:	php-pear-build >= 0.3
 Requires:	php-pear >= 4:1.0-5.5
 Requires:	php-cli
 Obsoletes:	php-pear-PEAR-Command
@@ -30,6 +30,9 @@
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# displayed in %post
+%define     _noautocompressdoc  optional-packages.txt
+
 %description
 The PEAR package contains:
 - the PEAR installer, for creating, distributing and installing
@@ -92,10 +95,13 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-echo 'pear/PEAR can optionally use package "pear/PEAR_Delegator"'
+if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
+	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
+fi
 
 %files
 %defattr(644,root,root,755)
+%doc install.log optional-packages.txt
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/pear.conf
 %attr(755,root,root) %{_bindir}/*
 %{php_pear_dir}/.registry/*.reg
@@ -107,6 +113,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65.2.9  2005/09/18 11:52:23  glen
+- use %post message from pear install
+
 Revision 1.65.2.8  2005/09/18 11:00:35  glen
 - use php-pear-build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php-pear-PEAR.spec?r1=1.65.2.8&r2=1.65.2.9&f=u




More information about the pld-cvs-commit mailing list