diff options
-rw-r--r-- | php-doctrine-instantiator.spec | 7 |
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 |