Accepting request 405581 from home:pluskalm:branches:devel:libraries:c_c++
- Use macro for configure (as bsc#870358) is already fixed - Use xz compressed archives - Update info pages dependencies OBS-URL: https://build.opensuse.org/request/show/405581 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=66
This commit is contained in:
parent
8e3e8209df
commit
abbc6fcdb7
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95bbeffd6
|
|
||||||
size 2384919
|
|
Binary file not shown.
3
gmp-6.1.1.tar.xz
Normal file
3
gmp-6.1.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d36e9c05df488ad630fff17edb50051d6432357f9ce04e34a09b3d818825e831
|
||||||
|
size 1943164
|
BIN
gmp-6.1.1.tar.xz.sig
Normal file
BIN
gmp-6.1.1.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 30 07:34:19 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Use macro for configure (as bsc#870358) is already fixed
|
||||||
|
- Use xz compressed archives
|
||||||
|
- Update info pages dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 23 21:04:04 UTC 2016 - astieger@suse.com
|
Thu Jun 23 21:04:04 UTC 2016 - astieger@suse.com
|
||||||
|
|
||||||
|
26
gmp.spec
26
gmp.spec
@ -23,12 +23,13 @@ Summary: The GNU MP Library
|
|||||||
License: GPL-3.0+ and LGPL-3.0+
|
License: GPL-3.0+ and LGPL-3.0+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: https://gmplib.org/
|
Url: https://gmplib.org/
|
||||||
Source0: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.bz2
|
Source0: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.xz
|
||||||
Source1: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.bz2.sig
|
Source1: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.xz.sig
|
||||||
Source2: %{name}.keyring
|
Source2: %{name}.keyring
|
||||||
Source3: baselibs.conf
|
Source3: baselibs.conf
|
||||||
Patch0: gmp-noexec.diff
|
Patch0: gmp-noexec.diff
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -58,6 +59,7 @@ Group: Development/Languages/C and C++
|
|||||||
Requires: libgmp10 = %{version}
|
Requires: libgmp10 = %{version}
|
||||||
Requires: libgmpxx4 = %{version}
|
Requires: libgmpxx4 = %{version}
|
||||||
Requires(pre): %{install_info_prereq}
|
Requires(pre): %{install_info_prereq}
|
||||||
|
Requires(preun): %{install_info_prereq}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
These libraries are needed to develop programs which calculate with
|
These libraries are needed to develop programs which calculate with
|
||||||
@ -68,18 +70,10 @@ huge numbers (integer and floating point).
|
|||||||
%patch0
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# 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"
|
export CFLAGS="%{optflags} -fexceptions"
|
||||||
# FIXME: you should use the %%configure macro
|
%configure \
|
||||||
./configure \
|
|
||||||
--host=%{_host} \
|
|
||||||
--build=%{_build} \
|
|
||||||
--prefix=%{_prefix} \
|
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--enable-fat
|
--enable-fat
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -94,13 +88,15 @@ rm %{buildroot}%{_libdir}/libgmpxx.a
|
|||||||
|
|
||||||
%post -n libgmp10 -p /sbin/ldconfig
|
%post -n libgmp10 -p /sbin/ldconfig
|
||||||
%post -n libgmpxx4 -p /sbin/ldconfig
|
%post -n libgmpxx4 -p /sbin/ldconfig
|
||||||
%post devel
|
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
||||||
|
|
||||||
%postun -n libgmp10 -p /sbin/ldconfig
|
%postun -n libgmp10 -p /sbin/ldconfig
|
||||||
%postun -n libgmpxx4 -p /sbin/ldconfig
|
%postun -n libgmpxx4 -p /sbin/ldconfig
|
||||||
%postun devel
|
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%post devel
|
||||||
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||||
|
|
||||||
|
%preun devel
|
||||||
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
|
||||||
|
|
||||||
%files -n libgmp10
|
%files -n libgmp10
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user