summaryrefslogtreecommitdiffstats
path: root/php-pear-phing.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-07-24 14:01:55 +0200
committerRemi Collet <remi@remirepo.net>2020-07-24 14:01:55 +0200
commit4bb6209756c7896afcf5a712f9a3e179f83c238f (patch)
treed572227575776d3bb4ac702894b8d6925c174288 /php-pear-phing.spec
parent921a9e33684d1586a56f6a8bc16d94bf553e5922 (diff)
use weak dependencies for phpunit, phploc, phpcpd and phpcov
Diffstat (limited to 'php-pear-phing.spec')
-rw-r--r--php-pear-phing.spec17
1 files 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 <remi@remirepo.net> - 2.16.1-7
+- use weak dependencies for phpunit, phploc, phpcpd and phpcov
+
* Thu Jan 25 2018 Remi Collet <remi@remirepo.net> - 2.16.1-1
- Update to 2.16.1 (no change)