From 14efe88e0a68af5f1f399e5f43ea3169740fd99b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 7 Apr 2023 10:03:46 +0200 Subject: update to 1.1 raise dependency on PHP 7.2 use fedora/autoloader --- php-psr-http-message.spec | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'php-psr-http-message.spec') diff --git a/php-psr-http-message.spec b/php-psr-http-message.spec index 4428e64..25875be 100644 --- a/php-psr-http-message.spec +++ b/php-psr-http-message.spec @@ -2,7 +2,7 @@ # # RPM spec file for php-psr-http-message # -# Copyright (c) 2014-2016 Shawn Iwinski +# Copyright (c) 2014-2023 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,8 +12,8 @@ %global github_owner php-fig %global github_name http-message -%global github_version 1.0.1 -%global github_commit f6561bf28d520154e4b0ec72be95418abe6d9363 +%global github_version 1.1 +%global github_commit cb6ce4845ce34a8ad9e68117c10ee90a29919eba %global composer_vendor psr %global composer_project http-message @@ -32,13 +32,15 @@ Source0: %{url}/archive/%{github_commit}/%{name}-%{github_version}-%{githu BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -# Autoload generation -BuildRequires: %{_bindir}/phpab +# Autoloader generation +BuildRequires: php-fedora-autoloader-devel # For tests BuildRequires: php-cli # phpcompatinfo (computed from version 1.0) -Requires: php(language) >= 5.3.0 +Requires: php(language) >= 7.2 +# Autoloader +Requires: php-composer(fedora/autoloader) # Composer Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} @@ -60,7 +62,7 @@ Autoloader: %{phpdir}/Psr/Http/Message/autoload.php %build : Generate autoloader -%{_bindir}/phpab --nolower --output src/autoload.php src +%{_bindir}/phpab --template fedora --output src/autoload.php src %install @@ -93,6 +95,11 @@ rm -rf %{buildroot} %changelog +* Fri Apr 7 2023 Remi Collet - 1.1-1 +- update to 1.1 +- raise dependency on PHP 7.2 +- use fedora/autoloader + * Sun Aug 7 2016 Remi Collet - 1.0.1-1 - update to 1.0.1 (only comments) - add check for autoloader -- cgit