Compare commits

..

No commits in common. "c37265354cf448e82b5262373fe5ab294a1721d1" and "b9963eb746166025b264f9b8c1f0a9aee5e0227a" have entirely different histories.

4 changed files with 5 additions and 28 deletions

BIN
gmp-6.1.2.tar.bz2 Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: gmp
Version: 6.2.1
Release: 3
Version: 6.1.2
Release: 10
Epoch: 1
URL: https://gmplib.org
Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.bz2
License: LGPLv3 and GPLv2
BuildRequires: autoconf automake libtool gcc gcc-c++ perl-Carp
BuildRequires: autoconf automake libtool gcc gcc-c++ git perl-Carp
Summary: A GNU multiple precision arithmetic library
%description
@ -31,16 +31,12 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
GMP dependent library for C++ applications.
%prep
%autosetup -p1
%autosetup -S git
%build
autoreconf -ifv
if as --help | grep -q execstack; then
%if "%toolchain" == "clang"
export CCAS="clang -c -Wa,--noexecstack"
%else
export CCAS="gcc -c -Wa,--noexecstack"
%endif
export CCAS="gcc -c -Wa,--noexecstack"
fi
%ifarch %{ix86}
@ -86,7 +82,6 @@ make %{?_smp_mflags} check
%license COPYING COPYING.LESSERv3 COPYINGv2 COPYINGv3
%doc NEWS README
%{_libdir}/libgmp.so.*
%{_libdir}/pkgconfig/gmp.pc
%files devel
%{_libdir}/libgmpxx.so
@ -98,21 +93,8 @@ make %{?_smp_mflags} check
%files c++
%{_libdir}/libgmpxx.so.*
%{_libdir}/pkgconfig/gmpxx.pc
%changelog
* Mon Nov 6 2023 luofeng <luofeng13@huawei.com> 6.2.1-3
- Support build with clang
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 6.2.1-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 1:6.2.1-1
- Upgrade to 6.2.1
* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 1:6.2.0-1
- Upgrade to 6.2.0
* Fri Jan 10 2020 yuxiangyang <yuxiangyang4@huawei.com> - 1:6.1.2-10
- Delete unuseful files

View File

@ -1,5 +0,0 @@
version_control: hg
src_repo: https://gmplib.org/repo/gmp/
tag_prefix: "^gmp-"
seperator: "."
url: https://gmplib.org/devel/repo-usage