diff --git a/gmp-mparam.h b/gmp-mparam.h index 906e194..3f63c45 100644 --- a/gmp-mparam.h +++ b/gmp-mparam.h @@ -54,6 +54,10 @@ MA 02111-1307, USA. */ #include "gmp-mparam-alpha.h" #elif defined(__sh__) #include "gmp-mparam-sh.h" +#elif defined(__sparc__) && defined (__arch64__) +#include "gmp-mparam-sparc64.h" +#elif defined(__sparc__) +#include "gmp-mparam-sparc.h" #else #error "The gmp-devel package is not usable with the architecture." #endif diff --git a/gmp.h b/gmp.h index e9f4eed..9a1001b 100644 --- a/gmp.h +++ b/gmp.h @@ -55,6 +55,10 @@ MA 02111-1307, USA. */ #include "gmp-alpha.h" #elif defined(__sh__) #include "gmp-sh.h" +#elif defined(__sparc__) && defined (__arch64__) +#include "gmp-sparc64.h" +#elif defined(__sparc__) +#include "gmp-sparc.h" #else #error "The gmp-devel package is not usable with the architecture." #endif diff --git a/gmp.spec b/gmp.spec index 649cdb2..6cb482f 100644 --- a/gmp.spec +++ b/gmp.spec @@ -8,7 +8,7 @@ Summary: A GNU arbitrary precision library Name: gmp Version: 4.2.2 -Release: 7%{?dist} +Release: 8%{?dist} URL: http://gmplib.org/ Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2 Source2: gmp.h @@ -203,6 +203,9 @@ exit 0 %changelog +* Thu Apr 24 2008 Tom "spot" Callaway 4.2.2-8 +- add sparc/sparc64 support + * Wed Mar 19 2008 Ivana Varekova 4.2.2-7 - add superH support (#437688)