Hello community,

here is the log from the commit of package gmp for openSUSE:Factory checked in 
at 2015-03-05 17:04:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmp (Old)
 and      /work/SRC/openSUSE:Factory/.gmp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gmp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gmp/gmp.changes  2014-11-24 11:07:59.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.gmp.new/gmp.changes     2015-03-05 
18:17:47.000000000 +0100
@@ -1,0 +2,13 @@
+Tue Feb 24 16:36:38 UTC 2015 - mplus...@suse.com
+
+- Remove old ppc related conditionals
+
+-------------------------------------------------------------------
+Tue Feb 24 15:10:11 UTC 2015 - mplus...@suse.com
+
+- Cleanup spec file with spec-cleaner
+- Refresh sources
+- Add gpg signature
+- Correct version number so that it matches actuall version
+
+-------------------------------------------------------------------

New:
----
  gmp-6.0.0a.tar.bz2.sig
  gmp.keyring

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gmp.spec ++++++
--- /var/tmp/diff_new_pack.Tqdwp4/_old  2015-03-05 18:17:48.000000000 +0100
+++ /var/tmp/diff_new_pack.Tqdwp4/_new  2015-03-05 18:17:48.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gmp
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,34 +17,30 @@
 
 
 Name:           gmp
-BuildRequires:  gcc-c++
-# bug437293
-%ifarch ppc64
-Obsoletes:      gmp-64bit
-%endif
-Version:        6.0.0
+Version:        6.0.0a
 Release:        0
 Summary:        The GNU MP Library
 License:        GPL-3.0+ and LGPL-3.0+
 Group:          System/Libraries
-Url:            http://gmplib.org/
-Source:         ftp://ftp.gmplib.org/pub/%{name}/%{name}-%{version}a.tar.bz2
-Source2:        baselibs.conf
+Url:            https://gmplib.org/
+Source0:        https://gmplib.org/download/%{name}/%{name}-%{version}.tar.bz2
+Source1:        
https://gmplib.org/download/%{name}/%{name}-%{version}.tar.bz2.sig
+Source2:        %{name}.keyring
+Source3:        baselibs.conf
 Patch0:         gmp-noexec.diff
 Patch1:         gmp-6.0.0-ppc64-gcd.diff
+BuildRequires:  gcc-c++
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 A library for calculating huge numbers (integer and floating point).
 
-
 %package -n libgmp10
 Summary:        Shared library for the GNU MP Library
 Group:          System/Libraries
 
 %description -n libgmp10
-Shared library for the GNU MP Library.
-
+A library for calculating huge numbers (integer and floating point).
 
 %package -n libgmpxx4
 Summary:        C++ bindings for the GNU MP Library
@@ -52,51 +48,51 @@
 Requires:       libgmp10 >= %{version}
 
 %description -n libgmpxx4
-C++ bindings for the GNU MP Library.
+A library for calculating huge numbers (integer and floating point).
 
+This package contains C++ bindings
+C++ bindings for the GNU MP Library.
 
 %package devel
 Summary:        Include Files and Libraries for Development with the GNU MP 
Library
 Group:          Development/Languages/C and C++
 Requires:       libgmp10 = %{version}
 Requires:       libgmpxx4 = %{version}
-# bug437293
-%ifarch ppc64
-Obsoletes:      gmp-devel-64bit
-%endif
-PreReq:         %install_info_prereq
+Requires(pre): %{install_info_prereq}
 
 %description devel
 These libraries are needed to develop programs which calculate with
 huge numbers (integer and floating point).
 
-
 %prep
-%setup -q
+# version is 6.0.0a but source contains directory 6.0.0 
+%setup -q -n %{name}-6.0.0
 %patch0
 %patch1 -p1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS -fexceptions"
 # Do not use %%configure here, that will break build on SLE11 because
 # there we pass a mismatched --target.  See bnc#870358.
+export CFLAGS="%{optflags} -fexceptions"
 ./configure \
-       --host=%{_host} --build=%{_build} \
+       --host=%{_host} \
+       --build=%{_build} \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
         --enable-cxx \
         --enable-fat
+
 make %{?_smp_mflags}
 
 %check
 # do not disable "make check", FIX THE BUGS!
-make check
+make %{?_smp_mflags} check
 
 %install
-make install DESTDIR=${RPM_BUILD_ROOT}
-rm $RPM_BUILD_ROOT%{_libdir}/libgmp.la
-rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.la
-rm $RPM_BUILD_ROOT%{_libdir}/libgmpxx.a
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+rm %{buildroot}%{_libdir}/libgmp.la
+rm %{buildroot}%{_libdir}/libgmpxx.la
+rm %{buildroot}%{_libdir}/libgmpxx.a
 
 %post -n libgmp10 -p /sbin/ldconfig
 
@@ -128,7 +124,7 @@
 %{_libdir}/libgmp.a
 %{_libdir}/libgmp.so
 %{_libdir}/libgmpxx.so
-/usr/include/gmp.h
-/usr/include/gmpxx.h
+%{_includedir}/gmp.h
+%{_includedir}/gmpxx.h
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to