summaryrefslogtreecommitdiffstats
path: root/php-nette-application.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-05-30 17:59:58 +0200
committerRemi Collet <fedora@famillecollet.com>2016-05-30 17:59:58 +0200
commit0bc0208298ba87c07dff60acec8dd8efa612484c (patch)
tree5174580c28218336670e0f3ba576db117a532a6f /php-nette-application.spec
parent55855deb1f8cb1999e54d07966dd98fb816bb060 (diff)
php-nette-application: add upstream patch for tests
Diffstat (limited to 'php-nette-application.spec')
-rw-r--r--php-nette-application.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@fedoraproject.org> - 2.3.12-3
+- add upstream patch for tests, fix FTBFS, thanks Koschei
+
* Thu Apr 14 2016 Remi Collet <remi@fedoraproject.org> - 2.3.12-2
- don't use include_once in autoloader