summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-timer4.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-06-05 08:18:03 +0200
committerRemi Collet <remi@remirepo.net>2020-06-05 08:18:03 +0200
commit31cf4c33bb73ab39a1d41482306ec0cfd61b93df (patch)
treec49e7d57309da8d1900da2d68fb40bde34ea3d95 /php-phpunit-php-timer4.spec
parent142f42a69886adbe2095d12450591d246d327f1f (diff)
update to 4.0.0
rename to php-phpunit-php-timer4 move to /usr/share/php/SebastianBergmann/Timer4 sources from git snapshot bootstrap build
Diffstat (limited to 'php-phpunit-php-timer4.spec')
-rw-r--r--php-phpunit-php-timer4.spec26
1 files changed, 17 insertions, 9 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 3.1.4-1
- update to 3.1.4