summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-05 07:43:54 +0200
committerRemi Collet <remi@remirepo.net>2018-06-05 07:43:54 +0200
commit3deabde01abd64bd238d6c644ba164387178b378 (patch)
tree5450743a3e46b2b0377f6064d2a24399cb5daf2c
parente5327e99e921c892b9a3155a0cb9f6cc22318e94 (diff)
cleanup for Fedora
-rw-r--r--php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec b/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec
index 81e7c4b..e958798 100644
--- a/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec
+++ b/php-cs-fixer-phpunit-constraint-xmlmatchesxsd.spec
@@ -23,7 +23,6 @@ Version: 1.0.0
Release: 1%{?dist}
Summary: Constraint for testing XML against XSD
-Group: Development/Tools
License: MIT
URL: https://github.com/%{gh_owner}/%{gh_project}
# git snapshot to get upstream test suite
@@ -44,9 +43,11 @@ BuildRequires: php-libxml
%if 0%{?fedora} >= 28 || 0%{?rhel} >= 8
BuildRequires: phpunit7
%endif
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(phpunitgoodpractices/polyfill) >= 1.0 with php-composer(phpunitgoodpractices/polyfill) < 2)
BuildRequires: phpunit6 >= 6.4.3
+# remirepo:3
%else
BuildRequires: php-phpunitgoodpractices-polyfill
%endif
@@ -60,8 +61,10 @@ BuildRequires: php-fedora-autoloader-devel
# "phpunit/phpunit": "^5.7.23 || ^6.4.3 || ^7.0",
# "phpunitgoodpractices/polyfill": "^1.0"
Requires: php(language) >= 5.5
+# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
Requires: (php-composer(phpunitgoodpractices/polyfill) >= 1.0 with php-composer(phpunitgoodpractices/polyfill) < 2)
+# remirepo:3
%else
Requires: php-phpunitgoodpractices-polyfill
%endif