diff options
Diffstat (limited to 'php-sabre-vobject4.spec')
-rw-r--r-- | php-sabre-vobject4.spec | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/php-sabre-vobject4.spec b/php-sabre-vobject4.spec index 40985ec..082d8f4 100644 --- a/php-sabre-vobject4.spec +++ b/php-sabre-vobject4.spec @@ -10,7 +10,7 @@ # For compatibility with SCL %undefine __brp_mangle_shebangs -%global gh_commit 6d7476fbd227ae285029c19ad518cd451336038c +%global gh_commit 5b2248d965160f93053f3a24704794a13a22a1bb %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sabre-io %global gh_project vobject @@ -24,7 +24,7 @@ Name: php-sabre-vobject4 Summary: Library to parse and manipulate iCalendar and vCard objects -Version: 4.2.1 +Version: 4.3.0 Release: 1%{?dist} URL: http://sabre.io/vobject/ @@ -37,14 +37,14 @@ Patch0: %{name}-bin.patch BuildArch: noarch %if %{with_tests} -BuildRequires: php(language) >= 5.5 +BuildRequires: php(language) >= 7.1 BuildRequires: php-mbstring # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 -BuildRequires: (php-composer(sabre/xml) >= 1.5 with php-composer(sabre/xml) < 3) +BuildRequires: (php-composer(sabre/xml) >= 2.1 with php-composer(sabre/xml) < 3) # remirepo:3 %else -BuildRequires: php-sabre-xml >= 1.5 +BuildRequires: php-sabre-xml2 >= 2.1 %endif BuildRequires: php-date BuildRequires: php-json @@ -52,25 +52,26 @@ BuildRequires: php-pcre BuildRequires: php-spl BuildRequires: php-xml # From composer.json, "require-dev" -# "phpunit/phpunit" : "> 4.8.35, <6.0.0" -BuildRequires: php-composer(phpunit/phpunit) > 4.8.35 +# "friendsofphp/php-cs-fixer": "~2.16.1", +# "phpunit/phpunit" : "^7 || ^8" +BuildRequires: phpunit8 # Autoloader BuildRequires: php-composer(fedora/autoloader) %endif # From composer.json, "require" -# "php" : ">=5.5", +# "php" : "^7.1", # "ext-mbstring" : "*", -# "sabre/xml" : ">=1.5 <3.0" -Requires: php(language) >= 5.5 +# "sabre/xml" : "^2.1" +Requires: php(language) >= 7.1 Requires: php-mbstring # # remirepo:1 %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 -Requires: (php-composer(sabre/xml) >= 1.5 with php-composer(sabre/xml) < 3) +Requires: (php-composer(sabre/xml) >= 2.1 with php-composer(sabre/xml) < 3) # remirepo:3 %else -Requires: php-sabre-xml >= 1.5 +Requires: php-sabre-xml2 >= 2.1 %endif # From phpcompatinfo report for version 4.1.2 %if %{with_cmd} @@ -137,9 +138,9 @@ fi : Run upstream test suite against installed library ret=0 -for cmd in php php71 php72 php73 php74; do +for cmd in php php72 php73 php74; do if which $cmd; then - $cmd %{_bindir}/phpunit $opt || ret=1 + $cmd %{_bindir}/phpunit8 $opt || ret=1 fi done exit $ret @@ -160,6 +161,15 @@ exit $ret %endif %changelog +* Sat Feb 1 2020 Remi Collet <remi@remirepo.net> - 4.3.0-1 +- update to 4.3.0 +- raise dependency on PHP 7.1 +- raise dependency on sabre/xml 2.1 +- switch to phpunit8 + +* Tue Jan 14 2020 Remi Collet <remi@remirepo.net> - 4.2.2-1 +- update to 4.2.2 + * Thu Dec 19 2019 Remi Collet <remi@remirepo.net> - 4.2.1-1 - update to 4.2.1 - drop patch merged upstream |