summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer.json2
-rw-r--r--php-tedivm-jshrink.spec14
2 files changed, 10 insertions, 6 deletions
diff --git a/composer.json b/composer.json
index 153291a..6b77e1b 100644
--- a/composer.json
+++ b/composer.json
@@ -15,7 +15,7 @@
}
],
"require": {
- "php": "^8.0"
+ "php": "^7.0|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9|^10",
diff --git a/php-tedivm-jshrink.spec b/php-tedivm-jshrink.spec
index fc9617a..fa7b5a3 100644
--- a/php-tedivm-jshrink.spec
+++ b/php-tedivm-jshrink.spec
@@ -8,7 +8,7 @@
#
%bcond_without tests
-%global gh_commit dee882218166a8b00d90cec9b8e9c15e3d24ad14
+%global gh_commit aa786b10f012fc0e15b5147c22bdb8c765fac76a
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner tedious
#global gh_date 20150820
@@ -18,7 +18,7 @@
%global psr0 JShrink
Name: php-%{c_vendor}-%{c_project}
-Version: 1.6.4
+Version: 1.6.5
Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist}
Summary: Javascript Minifier built in PHP
@@ -29,7 +29,7 @@ Source1: makesrc.sh
BuildArch: noarch
%if %{with tests}
-BuildRequires: php(language) >= 8.0
+BuildRequires: php(language) >= 7.0
BuildRequires: php-date
BuildRequires: php-pcre
BuildRequires: php-spl
@@ -43,8 +43,8 @@ BuildRequires: phpunit9
BuildRequires: php-fedora-autoloader-devel
# From composer.json, "require": {
-# "php": "^8.0"
-Requires: php(language) >= 8.0
+# "php": "^7.0|^8.0"
+Requires: php(language) >= 7.0
# From phpcompatinfo report for 1.1.0
Requires: php-date
Requires: php-pcre
@@ -112,6 +112,10 @@ exit $ret
%changelog
+* Mon Mar 13 2023 Remi Collet <remi@remirepo.net> - 1.6.5-1
+- update to 1.6.5 (no change)
+- lower dependency on PHP 7
+
* Fri Mar 10 2023 Remi Collet <remi@remirepo.net> - 1.6.4-1
- update to 1.6.4