diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-04-20 15:20:06 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-04-20 15:20:06 +0200 |
commit | 8a21e63e53a3f1737918eca941a6bd8eb75886b9 (patch) | |
tree | 2dbb828d25a16b4c9ca6f8177991491065cf24ca | |
parent | eb4fad5bcb4613f19b32d621372b5c019cec0842 (diff) |
php-nikic-php-parser: add upstream patch
-rw-r--r-- | php-nikic-php-parser.spec | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/php-nikic-php-parser.spec b/php-nikic-php-parser.spec index 8382915..76c892f 100644 --- a/php-nikic-php-parser.spec +++ b/php-nikic-php-parser.spec @@ -18,7 +18,7 @@ Name: php-%{gh_owner}-%{pk_project} Version: 2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A PHP parser written in PHP Group: Development/Libraries @@ -29,6 +29,8 @@ Source: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit # Autoloader Patch0: %{name}-rpm.patch +Patch1: %{name}-upstream.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %if %{with_tests} @@ -83,6 +85,7 @@ Autoloader: %{php_home}/PhpParser2/autoload.php %setup -q -n %{gh_project}-%{gh_commit} %patch0 -p1 -b .rpm +%patch1 -p1 -b .upstream %build @@ -105,9 +108,6 @@ install -Dpm 0755 bin/php-parse %{buildroot}%{_bindir}/php-parse %check %if %{with_tests} -# See https://github.com/nikic/PHP-Parser/issues/271 -sed -e '\:^//:d' -i test/code/parser/expr/new.test - : Test the command sed -e 's:%{php_home}:%{buildroot}%{php_home}:' \ bin/php-parse > bin/php-parse-test @@ -146,9 +146,14 @@ rm -rf %{buildroot} %changelog +* Wed Apr 20 2016 Remi Collet <remi@fedoraproject.org> - 2.1.0-2 +- fix test suite, add upstream patch + * Wed Apr 20 2016 Remi Collet <remi@fedoraproject.org> - 2.1.0-1 - initial package, version 2.1.0 - drop patches merged upstream +- open https://github.com/nikic/PHP-Parser/issues/271 + issue with test/code/parser/expr/new.test * Fri Apr 15 2016 Remi Collet <remi@fedoraproject.org> - 2.0.1-1 - initial package, version 2.0.1 |