diff --git a/libsemanage.spec b/libsemanage.spec index 3411625..4f4e176 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -1,20 +1,20 @@ Name: libsemanage -Version: 2.1.6 +Version: 2.8 Release: 1mamba Summary: SELinux policy management library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://userspace.selinuxproject.org/trac -Source: http://userspace.selinuxproject.org/releases/20120216/libsemanage-%{version}.tar.gz +URL: https://github.com/SELinuxProject/selinux +Source: https://github.com/SELinuxProject/selinux/releases/download/20180524/libsemanage-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libaudit-devel BuildRequires: libbzip2-devel BuildRequires: libselinux-devel BuildRequires: libsepol-devel -BuildRequires: libustr-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -41,11 +41,15 @@ This package contains static libraries and header files need for development. %setup -q %build -%make CC=%{_host}-gcc -j1 +%make CC=%{_host}-gcc -j1 \ + LIBDIR=%{_libdir} \ + LIBEXECDIR=%{_libexecdir} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall \ + LIBDIR=%{_libdir} \ + LIBEXECDIR=%{_libexecdir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -57,7 +61,9 @@ This package contains static libraries and header files need for development. %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/selinux/semanage.conf %{_libdir}/libsemanage.so.* -%doc COPYING ChangeLog +%dir %{_libexecdir}/selinux +%{_libexecdir}/selinux/semanage_migrate_store +%doc COPYING %files devel %defattr(-,root,root) @@ -70,6 +76,9 @@ This package contains static libraries and header files need for development. %{_mandir}/man5/semanage.conf.5* %changelog +* Tue Sep 11 2018 Silvan Calarco 2.8-1mamba +- update to 2.8 + * Sat May 19 2012 Silvan Calarco 2.1.6-1mamba - update to 2.1.6