summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-02 16:32:07 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-02 16:32:07 +0100
commit85659597fe474ab9c62b613435bfd25df0a255b4 (patch)
treeb88e927508c6ee1cebe95b4491d167c96d7f5979
parent4a1afe810db3f7f8bb4fad93f35bc497b69bb295 (diff)
php-pear-math-biginteger: cleanup
-rw-r--r--php-pear-math-biginteger.spec13
1 files changed, 9 insertions, 4 deletions
diff --git a/php-pear-math-biginteger.spec b/php-pear-math-biginteger.spec
index 929d600..b3c0c41 100644
--- a/php-pear-math-biginteger.spec
+++ b/php-pear-math-biginteger.spec
@@ -34,11 +34,13 @@ Requires: php-openssl
Provides: php-pear(%{pear_name}) = %{version}
Provides: php-composer(pear/math_biginteger) = %{version}
%if 0%{?fedora} < 26
-Conflicts: php-phpseclib-math-biginteger < 1.0.3
+Conflicts: php-phpseclib-math-biginteger < 2
%else
-Obsoletes: php-phpseclib-math-biginteger < 1.0.3
-Provides php-phpseclib-math-biginteger = %{version}
-Provides php-pear(phpseclib.sourceforge.net/%{pear_name}) = %{version}
+Obsoletes: php-phpseclib-math-biginteger < 2
+# Use epoch to avoid self-obsoletion php-phpseclib-math-biginteger
+# as phpseclib latest upstream version is 1.0.5 which is > 1.0.3
+Provides: php-phpseclib-math-biginteger = 1:%{version}
+Provides: php-pear(phpseclib.sourceforge.net/%{pear_name}) = %{version}
%endif
@@ -101,6 +103,9 @@ fi
%changelog
+* Fri Dec 2 2016 Remi Collet <remi@fedoraproject.org> - 1.0.3-1
+- cleanup
+
* Thu Aug 11 2016 Remi Collet <remi@fedoraproject.org> - 1.0.3-1
- initial package, version 1.0.3
- fix documentation files role