summaryrefslogtreecommitdiffstats
path: root/php-composer-ca-bundle.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-24 08:28:05 +0200
committerRemi Collet <remi@remirepo.net>2020-08-24 08:28:05 +0200
commit6325a55ac395b197fafeb3471c1467998e6ac56c (patch)
tree8c8b72f2cd78dd46ec135a34a3374f4f94034e77 /php-composer-ca-bundle.spec
parent9873c14de12a4011cefd2744ffc636dc82e8e0d8 (diff)
update to 1.2.8 (no change)
Diffstat (limited to 'php-composer-ca-bundle.spec')
-rw-r--r--php-composer-ca-bundle.spec17
1 files changed, 11 insertions, 6 deletions
diff --git a/php-composer-ca-bundle.spec b/php-composer-ca-bundle.spec
index be1848c..ed5bebf 100644
--- a/php-composer-ca-bundle.spec
+++ b/php-composer-ca-bundle.spec
@@ -6,15 +6,17 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 95c63ab2117a72f48f5a55da9740a3273d45b7fd
+
+%bcond_without tests
+
+%global gh_commit 8a7ecad675253e4654ea05505233285377405215
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner composer
%global gh_project ca-bundle
%global php_home %{_datadir}/php
-%global with_tests 0%{!?_without_tests:1}
Name: php-composer-ca-bundle
-Version: 1.2.7
+Version: 1.2.8
Release: 1%{?dist}
Summary: Lets you find a path to the system CA
@@ -28,7 +30,7 @@ Source1: makesrc.sh
Patch0: %{name}-rpm.patch
BuildArch: noarch
-%if %{with_tests}
+%if %{with tests}
BuildRequires: php(language) >= 5.3.2
BuildRequires: php-openssl
BuildRequires: php-pcre
@@ -104,7 +106,7 @@ cp -pr src %{buildroot}%{php_home}/Composer/CaBundle
%check
-%if %{with_tests}
+%if %{with tests}
mkdir vendor
cat << 'EOF' | tee vendor/autoload.php
<?php
@@ -121,7 +123,7 @@ require_once '%{buildroot}%{php_home}/Composer/CaBundle/autoload.php';
EOF
ret=0
-for cmdarg in "php %{phpunit}" "php56 %{_bindir}/phpunit" "php70 %{_bindir}/phpunit6" "php71 %{_bindir}/phpunit7" php72 php73 php74; do
+for cmdarg in "php %{phpunit}" php72 php73 "php74 %{_bindir}/phpunit8"; do
if which $cmdarg; then
set $cmdarg
$1 ${2:-%{_bindir}/phpunit8} --verbose || ret=1
@@ -143,6 +145,9 @@ exit $ret
%changelog
+* Mon Aug 24 2020 Remi Collet <remi@remirepo.net> - 1.2.8-1
+- update to 1.2.8 (no change)
+
* Wed Apr 8 2020 Remi Collet <remi@remirepo.net> - 1.2.7-1
- update to 1.2.7