summaryrefslogtreecommitdiffstats
path: root/php-nette-deprecated.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-nette-deprecated.spec')
-rw-r--r--php-nette-deprecated.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-nette-deprecated.spec b/php-nette-deprecated.spec
index 4dd62b4..843e76b 100644
--- a/php-nette-deprecated.spec
+++ b/php-nette-deprecated.spec
@@ -18,7 +18,7 @@
Name: php-%{gh_owner}-%{gh_project}
Version: 2.4.1
-%global specrel 1
+%global specrel 2
Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: APIs and features removed from Nette Framework
@@ -29,6 +29,8 @@ Source0: %{name}-%{version}-%{gh_short}.tgz
# pull a git snapshot to get test sutie
Source1: makesrc.sh
+Patch0: %{name}-php72.patch
+
BuildArch: noarch
BuildRequires: php-composer(theseer/autoload)
%if %{with_tests}
@@ -79,6 +81,7 @@ To use this library, you just have to add, in your project:
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p0
mkdir src/%{ns_project}
@@ -145,6 +148,9 @@ exit $ret
%changelog
+* Thu Nov 9 2017 Remi Collet <remi@remirepo.net> - 2.4.1-2
+- fix FTBFS from Koschei, add patch for PHP 7.2
+
* Sun Aug 6 2017 Remi Collet <remi@remirepo.net> - 2.4.1-1
- Update to 2.4.1