summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-06-29 08:05:57 +0200
committerRemi Collet <remi@remirepo.net>2020-06-29 08:05:57 +0200
commit72e2926262cb1794eb03c2a3271d1975c281b40c (patch)
treef6eb67ebb491bf0af0ce7d8f8cbba3474ddf7cb9
parentb303169283ef57092bd67201b785a916b142c80c (diff)
update to 4.0.2HEADmaster
-rw-r--r--composer.json2
-rw-r--r--php-sebastian-object-enumerator4.spec17
2 files changed, 11 insertions, 8 deletions
diff --git a/composer.json b/composer.json
index de98982..c5b3db1 100644
--- a/composer.json
+++ b/composer.json
@@ -15,7 +15,7 @@
"sort-packages": true
},
"require": {
- "php": "^7.3",
+ "php": "^7.3 || ^8.0",
"sebastian/object-reflector": "^2.0",
"sebastian/recursion-context": "^4.0"
},
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 <remi@remirepo.net> - 4.0.2-1
+- update to 4.0.2
+
* Tue Jun 16 2020 Remi Collet <remi@remirepo.net> - 4.0.1-1
- update to 4.0.1
- sources from git snapshot