From 4bb6209756c7896afcf5a712f9a3e179f83c238f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 24 Jul 2020 14:01:55 +0200 Subject: use weak dependencies for phpunit, phploc, phpcpd and phpcov --- php-pear-phing.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/php-pear-phing.spec b/php-pear-phing.spec index 95154b8..96aab00 100644 --- a/php-pear-phing.spec +++ b/php-pear-phing.spec @@ -1,6 +1,6 @@ # remirepo/fedora spec file for php-pear-phing # -# Copyright (c) 2013-2018 Remi Collet +# Copyright (c) 2013-2020 Remi Collet # Copyright (c) 2010-2013 Christof Damian # Copyright (c) 2007-2010 Alexander Kahl # @@ -16,7 +16,7 @@ Summary: A project build system based on Apache Ant Name: php-pear-phing Version: 2.16.1 -Release: 1%{?dist} +Release: 7%{?dist} License: LGPLv2 Group: Development/Tools @@ -42,16 +42,18 @@ Requires: php(language) >= 5.2.0 Requires: php-pear(PEAR) >= 1.8.0 Requires: php-channel(%{pear_channel}) # From package.xml, Optional -Requires: php-pear(pear.phpunit.de/PHP_CodeCoverage) >= 1.1.0 -Requires: php-pear(pear.phpunit.de/phploc) >= 1.6.4 Requires: php-pear(Archive_Tar) >= 1.3.8 Requires: php-pear(HTTP_Request2) >= 2.1.1 Requires: php-pear(PHP_CodeSniffer) >= 1.5.0 Requires: php-pear(pear.pdepend.org/PHP_Depend) >= 0.10.0 Requires: php-pear(pear.phpmd.org/PHP_PMD) >= 1.1.0 +%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8 # Removed from package.xml as no more available in pear -Requires: php-phpunit-PHPUnit -Requires: php-phpunit-phpcpd +Recommends: phpunit +Recommends: phploc +Recommends: phpcpd +Recommends: phpcov +%endif # TODO # pear.phing.info/phingdocs >= 2.9.0 @@ -120,6 +122,9 @@ fi %changelog +* Fri Jul 24 2020 Remi Collet - 2.16.1-7 +- use weak dependencies for phpunit, phploc, phpcpd and phpcov + * Thu Jan 25 2018 Remi Collet - 2.16.1-1 - Update to 2.16.1 (no change) -- cgit