summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-timer2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-php-timer2.spec')
-rw-r--r--php-phpunit-php-timer2.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-phpunit-php-timer2.spec b/php-phpunit-php-timer2.spec
index ec5f67c..d206fb0 100644
--- a/php-phpunit-php-timer2.spec
+++ b/php-phpunit-php-timer2.spec
@@ -29,13 +29,15 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Version: 2.1.1
-Release: 1%{?dist}
+Release: 2%{?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
+Patch0: https://patch-diff.githubusercontent.com/raw/sebastianbergmann/php-timer/pull/21.patch
+
BuildArch: noarch
BuildRequires: php(language) >= 7.1
BuildRequires: php-fedora-autoloader-devel
@@ -63,6 +65,7 @@ component.
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
%build
@@ -105,6 +108,10 @@ exit $ret
%changelog
+* Wed Feb 20 2019 Remi Collet <remi@remirepo.net> - 2.1.1-2
+- test build for https://github.com/sebastianbergmann/php-timer/pull/21
+ fix for 32-bit where large value are converted to float
+
* Wed Feb 20 2019 Remi Collet <remi@remirepo.net> - 2.1.1-1
- update to 2.1.1