add patch from https://github.com/sebastianbergmann/php-timer/pull/21
fix for 32-bit where large value are converted to float
This commit is contained in:
parent
a8dcf3ae61
commit
0d0909e4e6
2 changed files with 78 additions and 1 deletions
|
|
@ -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
|
||||
|
|
@ -103,6 +106,10 @@ exit $ret
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 20 2019 Remi Collet <remi@remirepo.net> - 2.1.1-2
|
||||
- add patch from 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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue