summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json4
-rw-r--r--php-phpunit-php-timer4.spec26
2 files changed, 19 insertions, 11 deletions
diff --git a/composer.json b/composer.json
index 2fb638f..d017747 100644
--- a/composer.json
+++ b/composer.json
@@ -22,7 +22,7 @@
"php": "^7.3"
},
"require-dev": {
- "phpunit/phpunit": "^9.0"
+ "phpunit/phpunit": "^9.2"
},
"config": {
"platform": {
@@ -38,7 +38,7 @@
},
"extra": {
"branch-alias": {
- "dev-master": "3.1-dev"
+ "dev-master": "4.0-dev"
}
}
}
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