packages: php-pear-Net_UserAgent_Mobile/php-pear-Net_UserAgent_Mobile.spec ...

glen glen at pld-linux.org
Fri Aug 20 18:06:39 CEST 2010


Author: glen                         Date: Fri Aug 20 16:06:39 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- suggests xml ext

---- Files affected:
packages/php-pear-Net_UserAgent_Mobile:
   php-pear-Net_UserAgent_Mobile.spec (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: packages/php-pear-Net_UserAgent_Mobile/php-pear-Net_UserAgent_Mobile.spec
diff -u packages/php-pear-Net_UserAgent_Mobile/php-pear-Net_UserAgent_Mobile.spec:1.43 packages/php-pear-Net_UserAgent_Mobile/php-pear-Net_UserAgent_Mobile.spec:1.44
--- packages/php-pear-Net_UserAgent_Mobile/php-pear-Net_UserAgent_Mobile.spec:1.43	Thu Aug 19 21:54:54 2010
+++ packages/php-pear-Net_UserAgent_Mobile/php-pear-Net_UserAgent_Mobile.spec	Fri Aug 20 18:06:33 2010
@@ -8,8 +8,7 @@
 Summary(pl.UTF-8):	%{_pearname} - analizator identyfikatora przenośnych przeglądarek HTTP
 Name:		php-pear-%{_pearname}
 Version:	1.0.0
-Release:	1
-Epoch:		0
+Release:	2
 License:	PHP 2.02
 Group:		Development/Languages/PHP
 Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
@@ -17,9 +16,10 @@
 URL:		http://pear.php.net/package/Net_UserAgent_Mobile/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.300
+BuildRequires:	rpmbuild(macros) >= 1.571
 Requires:	php-pear
 Requires:	php-pear-PEAR-core >= 1:1.4.3
+Suggests:	php-xml
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -46,7 +46,7 @@
 Summary:	Tests for PEAR::%{_pearname}
 Summary(pl.UTF-8):	Testy dla PEAR::%{_pearname}
 Group:		Development/Languages/PHP
-Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	%{name} = %{version}-%{release}
 AutoProv:	no
 AutoReq:	no
 
@@ -59,6 +59,9 @@
 %prep
 %pear_package_setup
 
+# optional ext not reported properly. do it manually
+echo '%{name} can optionally use PHP extension "php-xml"' >> optional-packages.txt
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
@@ -67,10 +70,8 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
-	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
-fi
+%post -p <lua>
+%pear_package_print_optionalpackages
 
 %files
 %defattr(644,root,root,755)
@@ -92,6 +93,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2010/08/20 16:06:33  glen
+- suggests xml ext
+
 Revision 1.43  2010/08/19 19:54:54  glen
 - up to 1.0.0-stable
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Net_UserAgent_Mobile/php-pear-Net_UserAgent_Mobile.spec?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list