From 72e2926262cb1794eb03c2a3271d1975c281b40c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Jun 2020 08:05:57 +0200 Subject: update to 4.0.2 --- php-sebastian-object-enumerator4.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'php-sebastian-object-enumerator4.spec') diff --git a/php-sebastian-object-enumerator4.spec b/php-sebastian-object-enumerator4.spec index 9f16ddc..6981c97 100644 --- a/php-sebastian-object-enumerator4.spec +++ b/php-sebastian-object-enumerator4.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # %global bootstrap 0 -%global gh_commit 15f319d67c49fc55ebcdbffb3377433125588455 +%global gh_commit 074fed2d0a6d08e1677dd8ce9d32aecb384917b8 #global gh_date 20150728 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann @@ -21,13 +21,13 @@ %global major 4 %global php_home %{_datadir}/php %if %{bootstrap} -%global with_tests 0%{?_with_tests:1} +%bcond_with tests %else -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests %endif Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 4.0.1 +Version: 4.0.2 %global specrel 1 Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: Traverses array and object to enumerate all referenced objects @@ -40,7 +40,7 @@ Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 7.3 BuildRequires: php-fedora-autoloader-devel -%if %{with_tests} +%if %{with tests} # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 BuildRequires: (php-composer(%{pk_vendor}/object-reflector) >= 2.0 with php-composer(%{pk_vendor}/object-reflector) < 3) @@ -56,7 +56,7 @@ BuildRequires: phpunit9 %endif # from composer.json -# "php": "^7.3", +# "php": "^7.3 || ^8.0", # "sebastian/object-reflector": "^2.0", # "sebastian/recursion-context": "^4.0" Requires: php(language) >= 7.3 @@ -107,7 +107,7 @@ cp -pr src %{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}%{major} %check -%if %{with_tests} +%if %{with tests} mkdir vendor %{_bindir}/phpab --template fedora --output vendor/autoload.php tests/_fixture @@ -134,6 +134,9 @@ exit $ret %changelog +* Mon Jun 29 2020 Remi Collet - 4.0.2-1 +- update to 4.0.2 + * Tue Jun 16 2020 Remi Collet - 4.0.1-1 - update to 4.0.1 - sources from git snapshot -- cgit