!50 [sync] PR-49: remove rpath
From: @openeuler-sync-bot Reviewed-by: @robertxw Signed-off-by: @robertxw
This commit is contained in:
commit
49fd29c5a3
@ -1,13 +1,13 @@
|
||||
Name: libproxy
|
||||
Version: 0.5.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Libproxy is a library that provides automatic proxy configuration management
|
||||
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://libproxy.github.io/libproxy/
|
||||
Source0: https://github.com/libproxy/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc meson vala gi-docgen
|
||||
BuildRequires: gcc meson vala gi-docgen chrpath
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.71.3 pkgconfig(gsettings-desktop-schemas) python3-devel
|
||||
BuildRequires: pkgconfig(duktape) pkgconfig(gobject-introspection-1.0) pkgconfig(libcurl)
|
||||
|
||||
@ -43,6 +43,10 @@ This package contains libraries and header files for developing applications.
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
chrpath -d $RPM_BUILD_ROOT%{_libdir}/*.so*
|
||||
chrpath -d $RPM_BUILD_ROOT%{_libdir}/%{name}/*.so
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||
echo "/usr/lib64/libproxy" > $RPM_BUILD_ROOT/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
@ -53,6 +57,7 @@ This package contains libraries and header files for developing applications.
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGELOG.md README.md
|
||||
%license COPYING
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/libproxy/libpxbackend-1.0.so
|
||||
%{_libdir}/girepository-1.0/
|
||||
@ -72,6 +77,12 @@ This package contains libraries and header files for developing applications.
|
||||
%{_datadir}/doc/libproxy-1.0/
|
||||
|
||||
%changelog
|
||||
* Tue Aug 29 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.5.3-2
|
||||
- Type:bugfix
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:remove rpath
|
||||
|
||||
* Fri Aug 04 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.5.3-1
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user