Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
c37265354c
!30 Support build with clang
From: @luofeng14 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
2023-11-09 06:38:47 +00:00
luofeng14
318c4ef2ec
Support build with clang
Signed-off-by: luofeng14 <luofeng13@huawei.com>
2023-11-06 11:41:47 +00:00
openeuler-ci-bot
83c6cba909
!15 [sync] PR-7: gmp delete -S git from %autosetup, and delete BuildRequires git
From: @openeuler-sync-bot 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
2022-09-01 08:41:03 +00:00
chenyanpanHW
1eae04c821 delete -S git from %autosetup, and delete BuildRequires git
(cherry picked from commit 2bfbb87b98bac68eaa1c4402b0c0adfd9178b034)
2022-04-28 17:07:10 +08:00
openeuler-ci-bot
15ed3a8404 !6 update to 6.2.1
From: @xinghe_1
Reviewed-by: @SuperSix173
Signed-off-by: @SuperSix173
2021-02-01 09:15:02 +08:00
renmingshuai
8b370fb930 update version 2021-01-30 15:26:40 +08:00
openeuler-ci-bot
2661a52022 !5 update to 6.2.0
Merge pull request !5 from 靳智敏/master
2020-07-28 10:40:42 +08:00
jinzhimin369
d15674ef3c update to 6.2.0 2020-07-24 01:27:36 +00:00
openeuler-ci-bot
7bc5b72352 !3 add yaml file in package
Merge pull request !3 from 桐小哥/master
2020-07-02 19:23:44 +08:00
sxt1001
d0268f4dab add yaml file 2020-07-02 16:06:14 +08:00
4 changed files with 28 additions and 5 deletions

Binary file not shown.

BIN
gmp-6.2.1.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
Name: gmp
Version: 6.1.2
Release: 10
Version: 6.2.1
Release: 3
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++ git perl-Carp
BuildRequires: autoconf automake libtool gcc gcc-c++ perl-Carp
Summary: A GNU multiple precision arithmetic library
%description
@ -31,12 +31,16 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
GMP dependent library for C++ applications.
%prep
%autosetup -S git
%autosetup -p1
%build
autoreconf -ifv
if as --help | grep -q execstack; then
export CCAS="gcc -c -Wa,--noexecstack"
%if "%toolchain" == "clang"
export CCAS="clang -c -Wa,--noexecstack"
%else
export CCAS="gcc -c -Wa,--noexecstack"
%endif
fi
%ifarch %{ix86}
@ -82,6 +86,7 @@ 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
@ -93,8 +98,21 @@ 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

5
gmp.yaml Normal file
View File

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