summaryrefslogtreecommitdiffstats
path: root/php-theseer-autoload.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-10-15 07:09:22 +0200
committerRemi Collet <remi@remirepo.net>2018-10-15 07:09:22 +0200
commit2229940c08ab415ad72c10efcb88f580490824ec (patch)
treea4325d7710d51bd64598547ed316c5c591381b3d /php-theseer-autoload.spec
parente4a8e1a5b54769d7130e375da67484d9683183b3 (diff)
add upstream patch for PHP 7.3
Diffstat (limited to 'php-theseer-autoload.spec')
-rw-r--r--php-theseer-autoload.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/php-theseer-autoload.spec b/php-theseer-autoload.spec
index a210ed8..f69d3c9 100644
--- a/php-theseer-autoload.spec
+++ b/php-theseer-autoload.spec
@@ -20,7 +20,7 @@
Name: php-theseer-autoload
Version: 1.25.0
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: A tool and library to generate autoload code
License: BSD
@@ -29,6 +29,8 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit
# Autoloader path
Patch0: %{gh_project}-rpm.patch
+# Upstream patch
+Patch1: https://github.com/theseer/Autoload/commit/bfa211d98c6c7d1de46092bd1f5658021b508a99.patch
BuildArch: noarch
BuildRequires: php(language) >= 5.3.1
@@ -85,6 +87,7 @@ the option of creating static require lists as well as phar archives.
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p0 -b .rpm
+%patch1 -p1
: drop composer dependencies
sed -e '\:../vendor/:d' -i src/autoload.php
@@ -146,6 +149,9 @@ fi
%changelog
+* Mon Oct 15 2018 Remi Collet <remi@remirepo.net> - 1.25.0-3
+- add upstream patch for PHP 7.3
+
* Mon Jul 2 2018 Remi Collet <remi@remirepo.net> - 1.25.0-1
- update to 1.25.0
- use range dependencies