diff options
author | Elan Ruusamäe | 2010-08-22 10:44:03 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | d95a135eb39b6392a23eb22134b722630ad59698 (patch) | |
tree | 999837ecd616c0d6972f5c321404ecae5c2f899f | |
parent | dbeea8af2ff9ef36d2ac3bfedabb8aa7a03aba47 (diff) | |
download | php-pear-PEAR-d95a135eb39b6392a23eb22134b722630ad59698.zip php-pear-PEAR-d95a135eb39b6392a23eb22134b722630ad59698.tar.gz |
- bootstrap lockfile for non-root; rel 3auto/th/php-pear-PEAR-1_9_1-3
Changed files:
php-pear-PEAR.spec -> 1.157
-rw-r--r-- | php-pear-PEAR.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/php-pear-PEAR.spec b/php-pear-PEAR.spec index dd6ac22..184b0ec 100644 --- a/php-pear-PEAR.spec +++ b/php-pear-PEAR.spec @@ -14,7 +14,7 @@ Summary: PEAR Base System 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 @@ -167,6 +167,12 @@ if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then 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 |