diff options
Diffstat (limited to 'php-phpunit-PHPUnit-SkeletonGenerator.spec')
-rw-r--r-- | php-phpunit-PHPUnit-SkeletonGenerator.spec | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/php-phpunit-PHPUnit-SkeletonGenerator.spec b/php-phpunit-PHPUnit-SkeletonGenerator.spec index d4a6d8e..64fc2e8 100644 --- a/php-phpunit-PHPUnit-SkeletonGenerator.spec +++ b/php-phpunit-PHPUnit-SkeletonGenerator.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-phpunit-PHPUnit-SkeletonGenerator # -# Copyright (c) 2012-2017 Remi Collet +# Copyright (c) 2012-2018 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -17,7 +17,7 @@ Name: php-phpunit-PHPUnit-SkeletonGenerator Version: 2.0.1 -Release: 7%{?dist} +Release: 11%{?dist} Summary: Tool that can generate skeleton test classes Group: Development/Libraries @@ -25,8 +25,10 @@ License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}.tar.gz -# Autoloader for RPM - die composer ! +# Autoloader Patch0: %{name}-rpm.patch +# For PHP 7.3 +Patch1: %{name}-php73.patch BuildArch: noarch BuildRequires: php(language) >= 5.3.3 @@ -80,6 +82,7 @@ and vice versa. %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm +%patch1 -p1 find . -type f -name \*.rpm -delete @@ -115,7 +118,7 @@ require_once '%{php_home}/org/bovigo/vfs/autoload.php'; EOF cd build -for cmd in php php56 php70 php71 php72; do +for cmd in php php56 php70 php71 php72 php73; do if which $cmd; then $cmd %{_bindir}/phpunit --verbose fi @@ -142,6 +145,9 @@ fi %changelog +* Mon Oct 15 2018 Remi Collet <remi@fedoraproject.org> - 2.0.1-11 +- add patch for PHP 7.3 + * Thu May 11 2017 Remi Collet <remi@fedoraproject.org> - 2.0.1-7 - switch to fedora/autoloader |