From 2d55f92d6ee06637a1fd18db7bc66137d9dbee05 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Jun 2021 10:05:03 +0200 Subject: fedora/autoloader is optional --- php-pear.spec | 9 +++++++-- 1 file 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 - 1:1.10.12-8 +- fedora/autoloader is optional + * Mon May 10 2021 Remi Collet - 1:1.10.12-7 - update Archive_Tar to 1.4.13 -- cgit