!23 [sync] PR-21: 【轻量级 PR】:remove rpath
From: @openeuler-sync-bot Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
2d16ea0fb4
@ -1,6 +1,6 @@
|
|||||||
Name: libxkbcommon
|
Name: libxkbcommon
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: X.Org X11 XKB parsing library
|
Summary: X.Org X11 XKB parsing library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.x.org
|
URL: https://www.x.org
|
||||||
@ -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