removerpath
(cherry picked from commit d45dea54f06b50bc57eb36ef3d3d0bb67b6477a5)
This commit is contained in:
parent
74750205e4
commit
683909cfbb
@ -1,13 +1,13 @@
|
|||||||
Name: libproxy
|
Name: libproxy
|
||||||
Version: 0.5.3
|
Version: 0.5.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Libproxy is a library that provides automatic proxy configuration management
|
Summary: Libproxy is a library that provides automatic proxy configuration management
|
||||||
|
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
URL: https://libproxy.github.io/libproxy/
|
URL: https://libproxy.github.io/libproxy/
|
||||||
Source0: https://github.com/libproxy/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
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(gio-2.0) >= 2.71.3 pkgconfig(gsettings-desktop-schemas) python3-devel
|
||||||
BuildRequires: pkgconfig(duktape) pkgconfig(gobject-introspection-1.0) pkgconfig(libcurl)
|
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
|
%install
|
||||||
%meson_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
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
@ -53,6 +57,7 @@ This package contains libraries and header files for developing applications.
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/libproxy/libpxbackend-1.0.so
|
%{_libdir}/libproxy/libpxbackend-1.0.so
|
||||||
%{_libdir}/girepository-1.0/
|
%{_libdir}/girepository-1.0/
|
||||||
@ -72,6 +77,12 @@ This package contains libraries and header files for developing applications.
|
|||||||
%{_datadir}/doc/libproxy-1.0/
|
%{_datadir}/doc/libproxy-1.0/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Aug 04 2023 zhouyihang <zhouyihang3@h-partners.com> - 0.5.3-1
|
||||||
- Type:requirements
|
- Type:requirements
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user