summaryrefslogtreecommitdiffstats
path: root/php-opis-closure.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-opis-closure.spec')
-rw-r--r--php-opis-closure.spec16
1 files changed, 5 insertions, 11 deletions
diff --git a/php-opis-closure.spec b/php-opis-closure.spec
index 5d62c89..9777321 100644
--- a/php-opis-closure.spec
+++ b/php-opis-closure.spec
@@ -2,7 +2,7 @@
#
# Fedora spec file for php-opis-closure
#
-# Copyright (c) 2020 Shawn Iwinski <shawn@iwin.ski>
+# Copyright (c) 2020-2021 Shawn Iwinski <shawn@iwin.ski>
#
# License: MIT
# http://opensource.org/licenses/MIT
@@ -23,9 +23,6 @@
# "php": "^5.4 || ^7.0 || ^8.0"
%global php_min_ver 5.4
-# "jeremeamia/superclosure": "^2.0"
-%global jeremeamia_superclosure_min_ver 2.0
-%global jeremeamia_superclosure_max_ver 3.0
# PHPUnit
## v9 (PHP 7.3)
@@ -58,7 +55,7 @@
Name: php-%{composer_vendor}-%{composer_project}%{?namespace_version}
Version: %{github_version}
-Release: 1%{?github_release}%{?dist}
+Release: 3%{?github_release}%{?dist}
Summary: A library that can be used to serialize closures and arbitrary objects
License: MIT
@@ -75,12 +72,6 @@ BuildArch: noarch
## composer.json
BuildRequires: php(language) >= %{php_min_ver}
BuildRequires: %{phpunit_require}
-%if %{with_range_dependencies}
-BuildRequires: (php-composer(jeremeamia/superclosure) >= %{jeremeamia_superclosure_min_ver} with php-composer(jeremeamia/superclosure) < %{jeremeamia_superclosure_max_ver})
-%else
-BuildRequires: php-composer(jeremeamia/superclosure) < %{jeremeamia_superclosure_max_ver}
-BuildRequires: php-composer(jeremeamia/superclosure) >= %{jeremeamia_superclosure_min_ver}
-%endif
## phpcompatinfo (computed from version 3.5.6)
BuildRequires: php-date
BuildRequires: php-hash
@@ -178,6 +169,9 @@ exit $RETURN_CODE
%changelog
+* Tue Mar 30 2021 Remi Collet <remi@remirepo.net> - 3.6.1-3
+- drop build dependency on jeremeamia/superclosure
+
* Mon Nov 9 2020 Remi Collet <remi@remirepo.net> - 3.6.1-1
- update to 3.6.1