summaryrefslogtreecommitdiffstats
path: root/php-phpunit-php-timer2.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-02-20 15:10:36 +0100
committerRemi Collet <remi@remirepo.net>2019-02-20 15:10:36 +0100
commit896b704c4bf7d7b530a9ae3366dd42499926e5f8 (patch)
tree371bbb1551e4aa139413f9f1997d919b78f3b88d /php-phpunit-php-timer2.spec
parent1f1d202f538cbe5fd4f72e39b9c2ea45ef97815f (diff)
test build for https://github.com/sebastianbergmann/php-timer/pull/21 fix for 32-bit where large value are converted to float
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