[gmp] enhanced provides of compatibility subpackage

pschiffe pschiffe at fedoraproject.org
Fri Oct 7 15:45:15 UTC 2011


commit ae2f7cdc4f480c335304921d698107314afea89d
Author: Peter Schiffer <pschiffe at redhat.com>
Date:   Fri Oct 7 17:44:53 2011 +0200

    enhanced provides of compatibility subpackage

 gmp.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gmp.spec b/gmp.spec
index 39b3af4..da3e339 100644
--- a/gmp.spec
+++ b/gmp.spec
@@ -6,7 +6,7 @@
 Summary: A GNU arbitrary precision library
 Name: gmp
 Version: 5.0.2
-Release: 2%{?dist}.2
+Release: 2%{?dist}.3
 Epoch: 1
 URL: http://gmplib.org/
 Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
@@ -61,7 +61,11 @@ in applications.
 Summary: Compatibility subpackage.
 Group: Development/Libraries
 Requires: %{name} = %{epoch}:%{version}-%{release}
+%ifarch x86_64
+Provides: libgmp.so.3()(64bit)
+%else
 Provides: libgmp.so.3
+%endif
 
 %description compat
 Compatibility subpackage.


More information about the scm-commits mailing list