diff options
| author | Remi Collet <fedora@famillecollet.com> | 2016-02-14 07:36:43 +0100 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2016-02-14 07:36:43 +0100 | 
| commit | 22cffd6169fd15308692a952ca05283e0f3fc351 (patch) | |
| tree | e23032d74e0ace00b53f2e7b0077be119bc12e91 | |
| parent | 2debfc22948d9eb7e820d2b64a5cdd9aa0ce6d37 (diff) | |
php-tracy: fix tests
| -rw-r--r-- | php-tracy.spec | 10 | 
1 files changed, 9 insertions, 1 deletions
diff --git a/php-tracy.spec b/php-tracy.spec index 5214b3b..f1771ec 100644 --- a/php-tracy.spec +++ b/php-tracy.spec @@ -17,7 +17,7 @@  Name:           php-%{gh_project}  Version:        2.3.8 -%global specrel 1 +%global specrel 2  Release:        %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}  Summary:        Tracy: useful PHP debugger @@ -28,6 +28,9 @@ Source0:        %{name}-%{version}-%{gh_short}.tgz  # pull a git snapshot to get test sutie  Source1:        makesrc.sh +# Fix test for new PHP +Patch1:         %{name}-upstream.patch +  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)  BuildArch:      noarch  BuildRequires:  php-composer(theseer/autoload) @@ -82,6 +85,8 @@ To use this library, you just have to add, in your project:  %prep  %setup -q -n %{gh_project}-%{gh_commit} +%patch1 -p1 -b .upstream +  # drop upstream autoloader which is outside tree  rm src/tracy.php  # move @@ -145,6 +150,9 @@ rm -rf %{buildroot}  %changelog +* Sun Feb 14 2016 Remi Collet <remi@fedoraproject.org> - 2.3.8-2 +- add upstream patch for new PHP +  * Wed Jan 20 2016 Remi Collet <remi@fedoraproject.org> - 2.3.8-1  - update to 2.3.8  - run test suite with both php 5 and 7 when available  | 
