summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-01 15:54:55 +0200
committerRemi Collet <remi@remirepo.net>2018-06-01 15:54:55 +0200
commitf0458cedda27c8528d98bcc1eb78b8ffa4a7935e (patch)
treed0cb7f6173e819eaab494947c38bcb507c08ec46
parent935a42e4aaf1fa8fc81057bd9223bfac7b662292 (diff)
improve previous
-rw-r--r--php-doctrine-instantiator.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/php-doctrine-instantiator.spec b/php-doctrine-instantiator.spec
index 068b458..a96043a 100644
--- a/php-doctrine-instantiator.spec
+++ b/php-doctrine-instantiator.spec
@@ -19,7 +19,7 @@
%global with_tests 0%{!?_without_tests:1}
%endif
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
+%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
Name: php-doctrine-instantiator
Release: 3%{?dist}
%global major %nil
@@ -58,8 +58,9 @@ Requires: php-spl
# Autoloader
Requires: php-composer(fedora/autoloader)
-%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
-Obsoletes: php-doctrine-instantiator11 <= %{version}-%{release}
+%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8
+Obsoletes: php-doctrine-instantiator11 < %{version}-%{release}
+Provides: php-doctrine-instantiator11 = %{version}-%{release}
Provides: php-composer(doctrine/instantiator) = %{version}
%else
Requires: php-doctrine-instantiator