From 31cf4c33bb73ab39a1d41482306ec0cfd61b93df Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 5 Jun 2020 08:18:03 +0200 Subject: update to 4.0.0 rename to php-phpunit-php-timer4 move to /usr/share/php/SebastianBergmann/Timer4 sources from git snapshot bootstrap build --- php-phpunit-php-timer4.spec | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'php-phpunit-php-timer4.spec') diff --git a/php-phpunit-php-timer4.spec b/php-phpunit-php-timer4.spec index 5d6ef2b..e0c9f7b 100644 --- a/php-phpunit-php-timer4.spec +++ b/php-phpunit-php-timer4.spec @@ -1,4 +1,4 @@ -# remirepo/fedora spec file for php-phpunit-php-timer3 +# remirepo/fedora spec file for php-phpunit-php-timer4 # # Copyright (c) 2010-2020 Christof Damian, Remi Collet # @@ -7,8 +7,8 @@ # # Please, preserve the changelog entries # -%global bootstrap 0 -%global gh_commit dc9368fae6ef2ffa57eba80a7410bcef81df6258 +%global bootstrap 1 +%global gh_commit d6359824fc9bd2a4f90383b224906a1884aa56ca %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner sebastianbergmann %global gh_project php-timer @@ -19,7 +19,7 @@ %global ns_vendor SebastianBergmann %global ns_project Timer -%global major 3 +%global major 4 %global php_home %{_datadir}/php %if %{bootstrap} %global with_tests 0%{?_with_tests:1} @@ -28,27 +28,28 @@ %endif Name: php-%{pk_vendor}-%{pk_project}%{major} -Version: 3.1.4 +Version: 4.0.0 Release: 1%{?dist} Summary: PHP Utility class for timing License: BSD URL: https://github.com/%{gh_owner}/%{gh_project} -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz +Source0: %{name}-%{version}-%{gh_short}.tgz +Source1: makesrc.sh BuildArch: noarch BuildRequires: php(language) >= 7.3 BuildRequires: php-fedora-autoloader-devel %if %{with_tests} # From composer.json"require-dev": { -# "phpunit/phpunit": "^9.0" -BuildRequires: phpunit9 +# "phpunit/phpunit": "^9.2" +BuildRequires: phpunit9 >= 9.2 %endif # From composer.json # "php": "^7.3" Requires: php(language) >= 7.3 -# From phpcompatinfo report for version 3.0.0 +# From phpcompatinfo report for version 4.0.0 Requires: php-spl # Autoloader Requires: php-composer(fedora/autoloader) @@ -105,6 +106,13 @@ exit $ret %changelog +* Fri Jun 5 2020 Remi Collet - 4.0.0-1 +- update to 4.0.0 +- rename to php-phpunit-php-timer4 +- move to /usr/share/php/SebastianBergmann/Timer4 +- sources from git snapshot +- bootstrap build + * Mon Apr 20 2020 Remi Collet - 3.1.4-1 - update to 3.1.4 -- cgit