From 0bc0208298ba87c07dff60acec8dd8efa612484c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 30 May 2016 17:59:58 +0200 Subject: php-nette-application: add upstream patch for tests --- php-nette-application.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-nette-application.spec') diff --git a/php-nette-application.spec b/php-nette-application.spec index 25d4361..4584b59 100644 --- a/php-nette-application.spec +++ b/php-nette-application.spec @@ -18,7 +18,7 @@ Name: php-%{gh_owner}-%{gh_project} Version: 2.3.12 -%global specrel 2 +%global specrel 3 Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist} Summary: Nette Application MVC Component @@ -29,6 +29,8 @@ Source0: %{name}-%{version}-%{gh_short}.tgz # pull a git snapshot to get test sutie Source1: makesrc.sh +Patch0: %{name}-upstream.patch + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: php-composer(theseer/autoload) @@ -103,6 +105,8 @@ To use this library, you just have to add, in your project: %prep %setup -q -n %{gh_project}-%{gh_commit} +%patch0 -p1 -b .upstream + %build : Generate a classmap autoloader @@ -180,6 +184,9 @@ rm -rf %{buildroot} %changelog +* Mon May 30 2016 Remi Collet - 2.3.12-3 +- add upstream patch for tests, fix FTBFS, thanks Koschei + * Thu Apr 14 2016 Remi Collet - 2.3.12-2 - don't use include_once in autoloader -- cgit