remove rpath
(cherry picked from commit e339f0054e8759c76c0216fd7d0a527080ec52dd)
This commit is contained in:
parent
f4adb7b094
commit
46f970c484
@ -11,7 +11,7 @@ BuildRequires: xorg-x11-util-macros byacc flex bison
|
|||||||
BuildRequires: xorg-x11-proto-devel libX11-devel
|
BuildRequires: xorg-x11-proto-devel libX11-devel
|
||||||
BuildRequires: xkeyboard-config-devel
|
BuildRequires: xkeyboard-config-devel
|
||||||
BuildRequires: pkgconfig(xcb-xkb) >= 1.10
|
BuildRequires: pkgconfig(xcb-xkb) >= 1.10
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel chrpath
|
||||||
Requires: xkeyboard-config
|
Requires: xkeyboard-config
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -62,7 +62,16 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
%delete_la
|
%delete_la
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
# remove rpath
|
||||||
|
chrpath -d %{buildroot}%{_libdir}/libxkbcommon-x11.so.0.0.0
|
||||||
|
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||||
|
echo "/usr/lib64" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
|
%post x11
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun x11
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
@ -92,6 +101,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%files x11
|
%files x11
|
||||||
%{_libdir}/libxkbcommon-x11.so.0.0.0
|
%{_libdir}/libxkbcommon-x11.so.0.0.0
|
||||||
%{_libdir}/libxkbcommon-x11.so.0
|
%{_libdir}/libxkbcommon-x11.so.0
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
|
|
||||||
%files x11-devel
|
%files x11-devel
|
||||||
%{_libdir}/libxkbcommon-x11.so
|
%{_libdir}/libxkbcommon-x11.so
|
||||||
@ -113,6 +123,11 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
|||||||
%{_mandir}/man1/xkbcli.1.gz
|
%{_mandir}/man1/xkbcli.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 11 2022 wangkerong <wangkerong@h-partners.com> - 1.3.1-3
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:remove rpath
|
||||||
|
|
||||||
* Tue Apr 19 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.3.1-2
|
* Tue Apr 19 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.3.1-2
|
||||||
- enable test
|
- enable test
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user