summaryrefslogtreecommitdiffstats
path: root/php-sabre-http5.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-08-20 14:48:03 +0200
committerRemi Collet <remi@remirepo.net>2019-08-20 14:48:03 +0200
commit973faa1a8362362d0049025a9b2e405e2fb29b82 (patch)
tree7872563c5d5da6fc8b8308ee735a50546b149c3c /php-sabre-http5.spec
parent8e5031b4583e1f9f65d6f1879f68ac6ac4273787 (diff)
add patch for 7.4 from
https://github.com/sabre-io/http/pull/121
Diffstat (limited to 'php-sabre-http5.spec')
-rw-r--r--php-sabre-http5.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-sabre-http5.spec b/php-sabre-http5.spec
index e785549..250f2c7 100644
--- a/php-sabre-http5.spec
+++ b/php-sabre-http5.spec
@@ -23,12 +23,14 @@
Name: php-%{pk_vendor}-%{pk_project}%{major}
Summary: Library for dealing with http requests and responses
Version: 5.0.0
-Release: 2%{?dist}
+Release: 3%{?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
+Patch0: %{name}-php74.patch
+
BuildArch: noarch
%if %{with_tests}
BuildRequires: php(language) >= 7.0
@@ -121,6 +123,7 @@ Autoloader: %{_datadir}/php/%{ns_vendor}/%{ns_project}%{major}/autoload.php
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+%patch0 -p1
phpab -t fedora -o lib/autoload.php lib
cat << 'EOF' | tee -a lib/autoload.php
@@ -177,6 +180,10 @@ exit $ret
%changelog
+* Tue Aug 20 2019 Remi Collet <remi@remirepo.net> - 5.0.0-3
+- add patch for 7.4 from
+ https://github.com/sabre-io/http/pull/121
+
* Fri Jul 5 2019 Remi Collet <remi@remirepo.net> - 5.0.0-2
- fix autoloader