diff options
author | Remi Collet <remi@remirepo.net> | 2021-04-14 10:34:14 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-04-14 10:34:14 +0200 |
commit | d4b4c0fb13ff04d77e502c7a8d1b42d82e55077f (patch) | |
tree | ebe1ec40eeb63cf7d7c6e9d9cad6c39a484cfc85 /php-psr-container.spec | |
parent | 51078eed2efe943e70238087bb700a8868d2a54b (diff) |
raise dependency on PHP 7.2
Diffstat (limited to 'php-psr-container.spec')
-rw-r--r-- | php-psr-container.spec | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/php-psr-container.spec b/php-psr-container.spec index 4e1a2e8..431e1b6 100644 --- a/php-psr-container.spec +++ b/php-psr-container.spec @@ -1,13 +1,13 @@ # remirepo/fedora spec file for php-psr-container # -# Copyright (c) 2017 Remi Collet +# Copyright (c) 2017-2021 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # # Please, preserve the changelog entries # -%global gh_commit b7ce3b176482dbbc1245ebf52b181af44c2cf55f +%global gh_commit 8622567409010282b7aeebe4bb841fe98b58dcaf %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner php-fig %global gh_project container @@ -18,25 +18,23 @@ %{!?phpdir: %global phpdir %{_datadir}/php} Name: php-%{pk_vendor}-%{pk_project} -Version: 1.0.0 +Version: 1.1.1 Release: 1%{?dist} Summary: Common Container Interface -Group: Development/Libraries License: MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: %{url}/archive/%{gh_commit}/%{name}-%{version}-%{gh_commit}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch # For tests -BuildRequires: php(language) >= 5.3.0 +BuildRequires: php(language) >= 7.2.0 BuildRequires: php-cli BuildRequires: php-composer(fedora/autoloader) # From composer.json, "require": { -# "php": ">=5.3.0" -Requires: php(language) >= 5.3.0 +# "php": ">=7.2.0" +Requires: php(language) >= 7.2.0 # phpcompatinfo (computed from version 1.0.0) # <none> # Autoloader @@ -73,7 +71,6 @@ AUTOLOAD %install -rm -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/php/Psr cp -rp src %{buildroot}%{_datadir}/php/Psr/Container @@ -86,12 +83,8 @@ exit (interface_exists("Psr\\Container\\ContainerInterface") ? 0 : 1); ' -%clean -rm -rf %{buildroot} - - %files -%defattr(-,root,root,-) +# remirepo:1 %{!?_licensedir:%global license %%doc} %license LICENSE %doc *.md @@ -101,6 +94,10 @@ rm -rf %{buildroot} %changelog +* Wed Apr 14 2021 Remi Collet <remi@remirepo.net> - 1.1.1-1 +- update to 1.1.1 +- raise dependency on PHP 7.2 + * Mon Feb 27 2017 Remi Collet <remi@remirepo.net> - 1.0.0-1 - Initial package, version 1.0.0 |