summaryrefslogtreecommitdiffstats
path: root/php-sabre-http.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-sabre-http.spec')
-rw-r--r--php-sabre-http.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-sabre-http.spec b/php-sabre-http.spec
index 0546dc4..b041a22 100644
--- a/php-sabre-http.spec
+++ b/php-sabre-http.spec
@@ -16,13 +16,15 @@
Name: php-sabre-%{gh_project}
Summary: Library for dealing with http requests and responses
Version: 4.2.4
-Release: 4%{?dist}
+Release: 6%{?dist}
URL: https://github.com/%{gh_owner}/%{gh_project}
License: BSD
Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{name}-%{version}-%{gh_short}.tar.gz
Source1: %{name}-autoload.php
+Patch0: %{name}-php74.patch
+
BuildArch: noarch
%if %{with_tests}
BuildRequires: php(language) > 5.4
@@ -113,6 +115,7 @@ Autoloader: %{_datadir}/php/Sabre/HTTP/autoload.php
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
cp %{SOURCE1} lib/autoload.php
@@ -154,6 +157,9 @@ exit $ret
%changelog
+* Thu Oct 10 2019 Remi Collet <remi@remirepo.net> - 4.2.4-6
+- add patch for PHP 7.4
+
* Fri Jul 5 2019 Remi Collet <remi@remirepo.net> - 4.2.4-4
- fix autoloader