!13 [sync] PR-10: Remove rpath
From: @openeuler-sync-bot Reviewed-by: @seuzw Signed-off-by: @seuzw
This commit is contained in:
commit
5481f3ba5e
@ -20,11 +20,11 @@
|
|||||||
Name: kronosnet
|
Name: kronosnet
|
||||||
Summary: Multipoint-to-Multipoint VPN daemon
|
Summary: Multipoint-to-Multipoint VPN daemon
|
||||||
Version: 1.20
|
Version: 1.20
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: https://kronosnet.org
|
URL: https://kronosnet.org
|
||||||
Source0: https://kronosnet.org/releases/%{name}-%{version}.tar.gz
|
Source0: https://kronosnet.org/releases/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc chrpath
|
||||||
%if %{with buildman}
|
%if %{with buildman}
|
||||||
BuildRequires: libqb-devel libxml2-devel doxygen
|
BuildRequires: libqb-devel libxml2-devel doxygen
|
||||||
%endif
|
%endif
|
||||||
@ -149,6 +149,12 @@ find %{buildroot} -name "*.a" -exec rm {} \;
|
|||||||
find %{buildroot} -name "*.la" -exec rm {} \;
|
find %{buildroot} -name "*.la" -exec rm {} \;
|
||||||
rm -rf %{buildroot}/etc/init.d
|
rm -rf %{buildroot}/etc/init.d
|
||||||
rm -rf %{buildroot}/usr/share/doc/kronosnet
|
rm -rf %{buildroot}/usr/share/doc/kronosnet
|
||||||
|
|
||||||
|
file `find %{buildroot}/%{_libdir} -type f` | grep -w ELF | awk -F: '{print $1}' | xargs chrpath -d
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
|
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The kronosnet source
|
The kronosnet source
|
||||||
%if %{with kronosnetd}
|
%if %{with kronosnetd}
|
||||||
@ -204,6 +210,7 @@ License: LGPLv2+
|
|||||||
%files -n libnozzle1
|
%files -n libnozzle1
|
||||||
%license COPYING.* COPYRIGHT
|
%license COPYING.* COPYRIGHT
|
||||||
%{_libdir}/libnozzle.so.*
|
%{_libdir}/libnozzle.so.*
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
%if 0%{?ldconfig_scriptlets}
|
%if 0%{?ldconfig_scriptlets}
|
||||||
%ldconfig_scriptlets -n libnozzle1
|
%ldconfig_scriptlets -n libnozzle1
|
||||||
%else
|
%else
|
||||||
@ -434,6 +441,9 @@ Requires: libknet1%{_isa} = %{version}-%{release}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 23 2022 yaoxin <yaoxin30@h-partners.com> - 1.20-2
|
||||||
|
- Remove rpath
|
||||||
|
|
||||||
* Mon Jul 25 2022 zouzhimin <zouzhimin@kylinos.cn> - 1.20-1
|
* Mon Jul 25 2022 zouzhimin <zouzhimin@kylinos.cn> - 1.20-1
|
||||||
- update to 1.20-1
|
- update to 1.20-1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user