packages: php-pear-Services_Twitter/php-pear-Services_Twitter.spec - use lu...

glen glen at pld-linux.org
Fri Aug 20 12:41:58 CEST 2010


Author: glen                         Date: Fri Aug 20 10:41:58 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- use lua for optional packages info

---- Files affected:
packages/php-pear-Services_Twitter:
   php-pear-Services_Twitter.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/php-pear-Services_Twitter/php-pear-Services_Twitter.spec
diff -u packages/php-pear-Services_Twitter/php-pear-Services_Twitter.spec:1.3 packages/php-pear-Services_Twitter/php-pear-Services_Twitter.spec:1.4
--- packages/php-pear-Services_Twitter/php-pear-Services_Twitter.spec:1.3	Fri Aug 20 12:32:03 2010
+++ packages/php-pear-Services_Twitter/php-pear-Services_Twitter.spec	Fri Aug 20 12:41:53 2010
@@ -17,6 +17,7 @@
 URL:		http://pear.php.net/package/Services_Twitter/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.571
 Requires:	php-pear
 Requires:	php-pear-HTTP_Request2
 Requires:	php-pear-PEAR-core >= 1:1.4.0-0.b1
@@ -64,10 +65,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)
@@ -88,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/08/20 10:41:53  glen
+- use lua for optional packages info
+
 Revision 1.3  2010/08/20 10:32:03  glen
 - up to 0.6.2
 
================================================================

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



More information about the pld-cvs-commit mailing list