Compare commits
No commits in common. "99a41b112cde884a83336ee125e9488e32c473ac" and "d0268f4dab75b5d1c3acc64d37b68eeb0a672c0a" have entirely different histories.
99a41b112c
...
d0268f4dab
BIN
gmp-6.1.2.tar.bz2
Normal file
BIN
gmp-6.1.2.tar.bz2
Normal file
Binary file not shown.
Binary file not shown.
32
gmp.spec
32
gmp.spec
@ -1,11 +1,11 @@
|
|||||||
Name: gmp
|
Name: gmp
|
||||||
Version: 6.2.1
|
Version: 6.1.2
|
||||||
Release: 4
|
Release: 10
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
URL: https://gmplib.org
|
URL: https://gmplib.org
|
||||||
Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.bz2
|
Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.bz2
|
||||||
License: LGPLv3 and GPLv2
|
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
|
Summary: A GNU multiple precision arithmetic library
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -18,8 +18,7 @@ precision than is directly supported by the basic C types.
|
|||||||
Summary: Development library package for GMP.
|
Summary: Development library package for GMP.
|
||||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
Requires: %{name}-c++%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}-c++%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
Conflicts: %{name}%{?_isa} < 1:6.2.1-4
|
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
|
||||||
Conflicts: %{name}-c++%{?_isa} < 1:6.2.1-4
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Devel package include header files, documentation and libraries for GMP
|
Devel package include header files, documentation and libraries for GMP
|
||||||
@ -32,16 +31,12 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
|||||||
GMP dependent library for C++ applications.
|
GMP dependent library for C++ applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -S git
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ifv
|
autoreconf -ifv
|
||||||
if as --help | grep -q execstack; then
|
if as --help | grep -q execstack; then
|
||||||
%if "%toolchain" == "clang"
|
|
||||||
export CCAS="clang -c -Wa,--noexecstack"
|
|
||||||
%else
|
|
||||||
export CCAS="gcc -c -Wa,--noexecstack"
|
export CCAS="gcc -c -Wa,--noexecstack"
|
||||||
%endif
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
@ -95,28 +90,11 @@ make %{?_smp_mflags} check
|
|||||||
%{_infodir}/gmp.info*
|
%{_infodir}/gmp.info*
|
||||||
%{_libdir}/libgmpxx.a
|
%{_libdir}/libgmpxx.a
|
||||||
%{_libdir}/libgmp.a
|
%{_libdir}/libgmp.a
|
||||||
%{_libdir}/pkgconfig/gmp.pc
|
|
||||||
%{_libdir}/pkgconfig/gmpxx.pc
|
|
||||||
|
|
||||||
%files c++
|
%files c++
|
||||||
%{_libdir}/libgmpxx.so.*
|
%{_libdir}/libgmpxx.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jul 30 2024 Funda Wang <fundawang@yeah.net> - 1:6.2.1-4
|
|
||||||
- move pkgconfig files into devel pacakage
|
|
||||||
|
|
||||||
* Mon Nov 6 2023 luofeng <luofeng13@huawei.com> - 1:6.2.1-3
|
|
||||||
- Support build with clang
|
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1: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
|
* Fri Jan 10 2020 yuxiangyang <yuxiangyang4@huawei.com> - 1:6.1.2-10
|
||||||
- Delete unuseful files
|
- Delete unuseful files
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user