packages: php-pear-PEAR/php-pear-PEAR.spec - bootstrap lockfile for non-roo...

glen glen at pld-linux.org
Sun Aug 22 12:44:08 CEST 2010


Author: glen                         Date: Sun Aug 22 10:44:08 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- bootstrap lockfile for non-root; rel 3

---- Files affected:
packages/php-pear-PEAR:
   php-pear-PEAR.spec (1.156 -> 1.157) 

---- Diffs:

================================================================
Index: packages/php-pear-PEAR/php-pear-PEAR.spec
diff -u packages/php-pear-PEAR/php-pear-PEAR.spec:1.156 packages/php-pear-PEAR/php-pear-PEAR.spec:1.157
--- packages/php-pear-PEAR/php-pear-PEAR.spec:1.156	Sat Aug 21 21:08:17 2010
+++ packages/php-pear-PEAR/php-pear-PEAR.spec	Sun Aug 22 12:44:03 2010
@@ -15,7 +15,7 @@
 Summary(pl.UTF-8):	Podstawowy system PEAR
 Name:		php-pear-%{_pearname}
 Version:	1.9.1
-Release:	2
+Release:	3
 Epoch:		1
 License:	New BSD License
 Group:		Development/Languages/PHP
@@ -168,6 +168,12 @@
 	cat %{_docdir}/%{name}-%{version}/optional-packages.txt
 fi
 
+# need to bootstrap for non-root user
+if [ ! -f %{php_pear_dir}/.lock ]; then
+	umask 2
+	%{_bindir}/pear list > /dev/null
+fi
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -208,6 +214,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.157  2010/08/22 10:44:03  glen
+- bootstrap lockfile for non-root; rel 3
+
 Revision 1.156  2010/08/21 19:08:17  glen
 - updated deps with pearize.sh
 - release 2
================================================================

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



More information about the pld-cvs-commit mailing list