From a84c4188f558750f0c268f3fb02c235e933ba941bd7374c2250fda469e100d0b Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Fri, 20 Nov 2020 15:12:12 +0000 Subject: [PATCH] Accepting request 849625 from home:lnussel:usrmove - install to /usr (boo#1029961) OBS-URL: https://build.opensuse.org/request/show/849625 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=128 --- libselinux.changes | 5 +++++ libselinux.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libselinux.changes b/libselinux.changes index 8d07880..01053d4 100644 --- a/libselinux.changes +++ b/libselinux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 29 10:22:23 UTC 2020 - Ludwig Nussel + +- install to /usr (boo#1029961) + ------------------------------------------------------------------- Tue Jul 14 08:24:20 UTC 2020 - Johannes Segitz diff --git a/libselinux.spec b/libselinux.spec index 64717d6..89c8ee9 100644 --- a/libselinux.spec +++ b/libselinux.spec @@ -107,7 +107,7 @@ mkdir -p %{buildroot}/%{_lib} mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir} mkdir -p %{buildroot}%{_sbindir} -make DESTDIR=%{buildroot} LIBDIR="%{_libdir}" SHLIBDIR="/%{_lib}" BINDIR="%{_sbindir}" install +make DESTDIR=%{buildroot} LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" BINDIR="%{_sbindir}" install mv %{buildroot}%{_sbindir}/getdefaultcon %{buildroot}%{_sbindir}/selinuxdefcon mv %{buildroot}%{_sbindir}/getconlist %{buildroot}%{_sbindir}/selinuxconlist install -m 0755 %{SOURCE1} %{buildroot}%{_sbindir}/selinux-ready @@ -150,7 +150,7 @@ install -m 0755 %{SOURCE1} %{buildroot}%{_sbindir}/selinux-ready %{_mandir}/ru/man8/* %files -n libselinux1 -/%{_lib}/libselinux.so.* +%{_libdir}/libselinux.so.* %files devel %{_libdir}/libselinux.so