From c8b5c7b28fd74f4ec9312900b22b92bd779d8e1f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 11 May 2020 14:47:41 +0200 Subject: update to 1.4.1 raise dependency on PHP 7.2 switch to phpunit8 switch to classmap autoloader --- php-doctrine-inflector.spec | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) (limited to 'php-doctrine-inflector.spec') diff --git a/php-doctrine-inflector.spec b/php-doctrine-inflector.spec index c450363..5cdbc65 100644 --- a/php-doctrine-inflector.spec +++ b/php-doctrine-inflector.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-doctrine-inflector # -# Copyright (c) 2013-2019 Shawn Iwinski +# Copyright (c) 2013-2020 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,14 +12,14 @@ %global github_owner doctrine %global github_name inflector -%global github_version 1.3.1 -%global github_commit ec3a55242203ffa6a4b27c58176da97ff0a7aec1 +%global github_version 1.4.1 +%global github_commit 4111f6853aea6f28b2b1dcfdde83d12dd3d5e6e3 %global composer_vendor doctrine %global composer_project inflector -# "php": "^7.1" -%global php_min_ver 7.1 +# "php": "^7.2" +%global php_min_ver 7.2 # Build using "--without tests" to disable tests %global with_tests 0%{!?_without_tests:1} @@ -43,12 +43,12 @@ BuildArch: noarch # Tests %if %{with_tests} ## composer.json -BuildRequires: %{_bindir}/phpunit +BuildRequires: phpunit8 BuildRequires: php(language) >= %{php_min_ver} ## phpcompatinfo (computed from version 1.3.0) BuildRequires: php-pcre # Autoloader -BuildRequires: php-composer(fedora/autoloader) +BuildRequires: php-fedora-autoloader-devel %endif # composer.json @@ -74,16 +74,7 @@ Autoloader: %{phpdir}/Doctrine/Common/Inflector/autoload.php %build : Create autoloader -cat <<'AUTOLOAD' | tee lib/Doctrine/Common/Inflector/autoload.php - - 1.4.1-1 +- update to 1.4.1 +- raise dependency on PHP 7.2 +- switch to phpunit8 +- switch to classmap autoloader + * Wed Nov 13 2019 Remi Collet - 1.3.1-1 - update to 1.3.1 -- cgit