update to 2.8 [release 2.8-1mamba;Tue Sep 11 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 05:45:09 +01:00
parent ce76fb6939
commit 089ea0aad3

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 2.8-1mamba
- update to 2.8
* Sat May 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.6-1mamba
- update to 2.1.6