summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-23 08:15:56 +0100
committerRemi Collet <remi@remirepo.net>2020-11-23 08:15:56 +0100
commitc0613b995b1ea52a36fda8d3a3acd92251383101 (patch)
tree356a41a8bbd40d3201877605027ed9166056afd8
parent39388935481d988923e246f124fa4b250d9ec237 (diff)
update Archive_Tar to 1.4.11HEADmaster
-rw-r--r--php-pear.spec13
1 files changed, 8 insertions, 5 deletions
diff --git a/php-pear.spec b/php-pear.spec
index 3363351..55f64c2 100644
--- a/php-pear.spec
+++ b/php-pear.spec
@@ -20,7 +20,7 @@
%global metadir %{_localstatedir}/lib/pear
%global getoptver 1.4.3
-%global arctarver 1.4.10
+%global arctarver 1.4.11
# https://pear.php.net/bugs/bug.php?id=19367
# Structures_Graph 1.0.4 - incorrect FSF address
%global structver 1.1.1
@@ -29,7 +29,7 @@
# Tests are only run with rpmbuild --with tests
# Can't be run in mock / koji because PEAR is the first package
-%global with_tests 0%{?_with_tests:1}
+%bcond_with tests
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_root_sysconfdir}/rpm; echo $d)
@@ -40,7 +40,7 @@
Summary: PHP Extension and Application Repository framework
Name: %{?scl_prefix}php-pear
Version: 1.10.12
-Release: 2%{?dist}
+Release: 4%{?dist}
Epoch: 1
# PEAR, PEAR_Manpages, Archive_Tar, XML_Util, Console_Getopt are BSD
# Structures_Graph is LGPLv3+
@@ -68,7 +68,7 @@ BuildRequires: %{?scl_prefix}php-xml
BuildRequires: %{_root_bindir}/gpg
# For pecl_xmldir macro
BuildRequires: %{?scl_prefix}php-devel
-%if %{with_tests}
+%if %{with tests}
BuildRequires: %{_bindir}/phpunit
%endif
%if 0%{?!scl:1}
@@ -310,7 +310,7 @@ grep /usr/local %{buildroot}%{_sysconfdir}/pear.conf && exit 1
grep -rl %{buildroot} %{buildroot} && exit 1
-%if %{with_tests}
+%if %{with tests}
cp /etc/php.ini .
echo "include_path=.:%{buildroot}%{peardir}:/usr/share/php" >>php.ini
export PHPRC=$PWD/php.ini
@@ -462,6 +462,9 @@ fi
%changelog
+* Mon Nov 23 2020 Remi Collet <remi@remirepo.net> - 1:1.10.12-4
+- update Archive_Tar to 1.4.11
+
* Wed Sep 16 2020 Remi Collet <remi@remirepo.net> - 1:1.10.12-2
- update Archive_Tar to 1.4.10