summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-06-18 10:05:03 +0200
committerRemi Collet <remi@remirepo.net>2021-06-18 10:05:03 +0200
commit2d55f92d6ee06637a1fd18db7bc66137d9dbee05 (patch)
treef03f0afcd307df98677a8764030808e43554dcf4
parent33054f74d6e64de3a75361cee06c31e5e3809219 (diff)
fedora/autoloader is optional
-rw-r--r--php-pear.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/php-pear.spec b/php-pear.spec
index 812fed9..9c1143f 100644
--- a/php-pear.spec
+++ b/php-pear.spec
@@ -40,7 +40,7 @@
Summary: PHP Extension and Application Repository framework
Name: %{?scl_prefix}php-pear
Version: 1.10.12
-Release: 7%{?dist}
+Release: 8%{?dist}
Epoch: 1
# PEAR, PEAR_Manpages, Archive_Tar, XML_Util, Console_Getopt are BSD
# Structures_Graph is LGPLv3+
@@ -146,7 +146,9 @@ Requires: httpd-filesystem
%global with_html_dir 1
%endif
%if 0%{?!scl:1}
-Requires: php-composer(fedora/autoloader)
+%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+Recommends: php-composer(fedora/autoloader)
+%endif
%endif
@@ -462,6 +464,9 @@ fi
%changelog
+* Fri Jun 18 2021 Remi Collet <remi@remirepo.net> - 1:1.10.12-8
+- fedora/autoloader is optional
+
* Mon May 10 2021 Remi Collet <remi@remirepo.net> - 1:1.10.12-7
- update Archive_Tar to 1.4.13