summaryrefslogtreecommitdiffstats
path: root/php-theseer-autoload.spec
diff options
context:
space:
mode:
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