summaryrefslogtreecommitdiffstats
path: root/php-psr-http-message.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-07 10:03:46 +0200
committerRemi Collet <remi@php.net>2023-04-07 10:03:46 +0200
commit14efe88e0a68af5f1f399e5f43ea3169740fd99b (patch)
treec2c5476b372e7586cb99538369c69b590d1da8e3 /php-psr-http-message.spec
parent1ec10d0f90cdeced72f43bb293ff56b67591a56f (diff)
update to 1.1HEADmaster
raise dependency on PHP 7.2 use fedora/autoloader
Diffstat (limited to 'php-psr-http-message.spec')
-rw-r--r--php-psr-http-message.spec21
1 files changed, 14 insertions, 7 deletions
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 <shawn.iwinski@gmail.com>
+# Copyright (c) 2014-2023 Shawn Iwinski <shawn.iwinski@gmail.com>
#
# 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 <remi@remirepo.net> - 1.1-1
+- update to 1.1
+- raise dependency on PHP 7.2
+- use fedora/autoloader
+
* Sun Aug 7 2016 Remi Collet <remi@remirepo.net> - 1.0.1-1
- update to 1.0.1 (only comments)
- add check for autoloader