summaryrefslogtreecommitdiffstats
path: root/php-psr-container.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-psr-container.spec')
-rw-r--r--php-psr-container.spec25
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