move pkgconfig files into devel pacakage
(cherry picked from commit 40f63bb20ac7c3cdd86016e202aedac1bcbec423)
This commit is contained in:
parent
d04de17b06
commit
d2626d7e9d
16
gmp.spec
16
gmp.spec
@ -1,6 +1,6 @@
|
||||
Name: gmp
|
||||
Version: 6.2.1
|
||||
Release: 3
|
||||
Release: 4
|
||||
Epoch: 1
|
||||
URL: https://gmplib.org
|
||||
Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.bz2
|
||||
@ -18,7 +18,8 @@ precision than is directly supported by the basic C types.
|
||||
Summary: Development library package for GMP.
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-c++%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
|
||||
Conflicts: %{name}%{?_isa} < 1:6.2.1-4
|
||||
Conflicts: %{name}-c++%{?_isa} < 1:6.2.1-4
|
||||
|
||||
%description devel
|
||||
Devel package include header files, documentation and libraries for GMP
|
||||
@ -86,7 +87,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
|
||||
@ -95,16 +95,20 @@ make %{?_smp_mflags} check
|
||||
%{_infodir}/gmp.info*
|
||||
%{_libdir}/libgmpxx.a
|
||||
%{_libdir}/libgmp.a
|
||||
%{_libdir}/pkgconfig/gmp.pc
|
||||
%{_libdir}/pkgconfig/gmpxx.pc
|
||||
|
||||
%files c++
|
||||
%{_libdir}/libgmpxx.so.*
|
||||
%{_libdir}/pkgconfig/gmpxx.pc
|
||||
|
||||
%changelog
|
||||
* Mon Nov 6 2023 luofeng <luofeng13@huawei.com> 6.2.1-3
|
||||
* 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> - 6.2.1-2
|
||||
* 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user