[php-pear/f20] - update Console_Getopt to 1.4.0 - raise php minimum version to 5.4 - cleanup registry after removal
Remi Collet
remi at fedoraproject.org
Mon Feb 23 08:07:54 UTC 2015
commit 8ceeeb63f9d1bb667c6def657a82588a3548ce94
Author: Remi Collet <remi at fedoraproject.org>
Date: Mon Feb 23 09:00:18 2015 +0100
- update Console_Getopt to 1.4.0
- raise php minimum version to 5.4
- cleanup registry after removal
- drop old php-pear-XML-Util scriptlets
- remove PHP from License, Console_Getopt is now BSD
(cherry picked from commit 7b61d5503c059923e1c5c7724d9917b1a3d70900)
.gitignore | 1 +
php-pear.spec | 30 ++++++++++++++++++------------
sources | 2 +-
3 files changed, 20 insertions(+), 13 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bd2db34..7e59fc9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ clog
/PEAR-1.9.5.tgz
/Archive_Tar-1.3.12.tgz
/Archive_Tar-1.3.13.tgz
+/Console_Getopt-1.4.0.tgz
diff --git a/php-pear.spec b/php-pear.spec
index 20c8ef6..dd3e00a 100644
--- a/php-pear.spec
+++ b/php-pear.spec
@@ -1,7 +1,7 @@
%global peardir %{_datadir}/pear
%global metadir %{_localstatedir}/lib/pear
-%global getoptver 1.3.1
+%global getoptver 1.4.0
%global arctarver 1.3.13
# https://pear.php.net/bugs/bug.php?id=19367
# Structures_Graph 1.0.4 - incorrect FSF address
@@ -17,12 +17,11 @@
Summary: PHP Extension and Application Repository framework
Name: php-pear
Version: 1.9.5
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
-# PEAR, Archive_Tar, XML_Util are BSD
-# Console_Getopt is PHP
+# PEAR, Archive_Tar, XML_Util, Console_Getopt are BSD
# Structures_Graph is LGPLv2+
-License: BSD and PHP and LGPLv2+
+License: BSD and LGPLv2+
Group: Development/Languages
URL: http://pear.php.net/package/PEAR
Source0: http://download.pear.php.net/package/PEAR-%{version}.tgz
@@ -279,10 +278,10 @@ if [ "$current" != "%{_datadir}/tests/pecl" ]; then
fi
-%triggerpostun -- php-pear-XML-Util
-# re-register extension unregistered during postun of obsoleted php-pear-XML-Util
-%{_bindir}/pear install --nodeps --soft --force --register-only \
- %{_localstatedir}/lib/pear/pkgxml/XML_Util.xml >/dev/null || :
+%postun
+if [ $1 -eq 0 -a -d %{metadir}/.registry ] ; then
+ rm -rf %{metadir}/.registry
+fi
%files
@@ -291,9 +290,9 @@ fi
%dir %{metadir}
%{metadir}/.channels
%verify(not mtime size md5) %{metadir}/.depdb
-%verify(not mtime)%{metadir}/.depdblock
-%verify(not mtime size md5)%{metadir}/.filemap
-%verify(not mtime)%{metadir}/.lock
+%verify(not mtime) %{metadir}/.depdblock
+%verify(not mtime size md5) %{metadir}/.filemap
+%verify(not mtime) %{metadir}/.lock
%{metadir}/.registry
%{metadir}/pkgxml
%{_bindir}/*
@@ -317,6 +316,13 @@ fi
%changelog
+* Mon Feb 23 2015 Remi Collet <remi at fedoraproject.org> 1:1.9.5-4
+- update Console_Getopt to 1.4.0
+- raise php minimum version to 5.4
+- cleanup registry after removal
+- drop old php-pear-XML-Util scriptlets
+- remove PHP from License, Console_Getopt is now BSD
+
* Thu Sep 4 2014 Remi Collet <remi at fedoraproject.org> 1:1.9.5-3
- update Archive_Tar to 1.3.13
diff --git a/sources b/sources
index c2b2f92..f868774 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
ded37747ef1e75ee90e3fbaab68685fb Archive_Tar-1.3.13.tgz
-310b39cf091b9a0abf398bead60f3f8d Console_Getopt-1.3.1.tgz
+72c19ce19d5c6fab89ec79fa14b10c4b Console_Getopt-1.4.0.tgz
f44a56765988dafbe348828cac2562ca PEAR-1.9.5.tgz
b99c5e9ac348a2e81515ba16deb7ded3 Structures_Graph-1.0.4.tgz
7280fe3c5a7db11a7a9c293dcf81a285 XML_Util-1.2.3.tgz
More information about the scm-commits
mailing list