update libmetalink.spec.
Signed-off-by: znzjugod <zhangnan134@huawei.com>
This commit is contained in:
parent
2ce5717e19
commit
4b1c984c70
@ -1,12 +1,12 @@
|
||||
Name: libmetalink
|
||||
Version: 0.1.3
|
||||
Release: 8
|
||||
Release: 9
|
||||
Summary: Metalink library written in C
|
||||
License: MIT
|
||||
URL: https://launchpad.net/libmetalink
|
||||
Source0: https://launchpad.net/libmetalink/trunk/%{name}-%{version}/+download/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: gcc expat-devel CUnit-devel
|
||||
BuildRequires: gcc expat-devel CUnit-devel chrpath
|
||||
|
||||
%description
|
||||
libmetalink is a Metalink library written in C language. It is intended to
|
||||
@ -37,6 +37,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
#remove rpath
|
||||
chrpath -d %{buildroot}%{_libdir}/%{name}.so.3.1.0
|
||||
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "%{_libdir}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
@ -53,10 +59,17 @@ make check
|
||||
%{_includedir}/metalink/*.h
|
||||
%{_libdir}/libmetalink.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
|
||||
%files help
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 14 2023 zhangnan <zhangnan134@huawei.com> - 0.1.3-9
|
||||
- Type:NA
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:remove rpath compilation option
|
||||
|
||||
* Tue Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1.3-8
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user