diff --git a/README.md b/README.md index b71069b..15f4f83 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # libsemanage This package provides the shared libraries for SELinux policy management. It uses libsepol for binary policy manipulation and libselinux for interacting with the SELinux system. It also exec's helper programs for loading policy and for checking whether the file_contexts configuration is valid (load_policy and setfiles from policycoreutils) presently, although this may change at least for the bootstrapping case - Security-enhanced Linux is a patch of the Linux kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. The Security-enhanced Linux kernel contains new architectural components originally developed to improve the security of the Flask operating system. These architectural components provide general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement, Role-based Access Control, and Multi-level Security. diff --git a/libsemanage.spec b/libsemanage.spec index 4f4e176..61fcbb8 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -1,5 +1,5 @@ Name: libsemanage -Version: 2.8 +Version: 3.3 Release: 1mamba Summary: SELinux policy management library Group: System/Libraries @@ -7,7 +7,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/SELinuxProject/selinux -Source: https://github.com/SELinuxProject/selinux/releases/download/20180524/libsemanage-%{version}.tar.gz +Source: https://github.com/SELinuxProject/selinux/archive/libsemanage-%{version}.tar.gz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -16,11 +16,9 @@ BuildRequires: libbzip2-devel BuildRequires: libselinux-devel BuildRequires: libsepol-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This package provides the shared libraries for SELinux policy management. It uses libsepol for binary policy manipulation and libselinux for interacting with the SELinux system. It also exec's helper programs for loading policy and for checking whether the file_contexts configuration is valid (load_policy and setfiles from policycoreutils) presently, although this may change at least for the bootstrapping case - Security-enhanced Linux is a patch of the Linux kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. The Security-enhanced Linux kernel contains new architectural components originally developed to improve the security of the Flask operating system. These architectural components provide general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement, Role-based Access Control, and Multi-level Security. %package devel @@ -30,23 +28,23 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package provides the shared libraries for SELinux policy management. It uses libsepol for binary policy manipulation and libselinux for interacting with the SELinux system. It also exec's helper programs for loading policy and for checking whether the file_contexts configuration is valid (load_policy and setfiles from policycoreutils) presently, although this may change at least for the bootstrapping case - Security-enhanced Linux is a patch of the Linux kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. The Security-enhanced Linux kernel contains new architectural components originally developed to improve the security of the Flask operating system. These architectural components provide general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement, Role-based Access Control, and Multi-level Security. - -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %debug_package %prep -%setup -q +%setup -q -n selinux-libsemanage-%{version} %build +cd libsemanage %make CC=%{_host}-gcc -j1 \ LIBDIR=%{_libdir} \ LIBEXECDIR=%{_libexecdir} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd libsemanage %makeinstall \ LIBDIR=%{_libdir} \ LIBEXECDIR=%{_libexecdir} @@ -63,7 +61,7 @@ This package contains static libraries and header files need for development. %{_libdir}/libsemanage.so.* %dir %{_libexecdir}/selinux %{_libexecdir}/selinux/semanage_migrate_store -%doc COPYING +%doc libsemanage/COPYING %files devel %defattr(-,root,root) @@ -74,8 +72,12 @@ This package contains static libraries and header files need for development. %{_libdir}/pkgconfig/libsemanage.pc %{_mandir}/man3/semanage_*.3* %{_mandir}/man5/semanage.conf.5* +%lang(ru) %{_mandir}/ru/man5/semanage.conf.5* %changelog +* Thu Nov 18 2021 Silvan Calarco 3.3-1mamba +- update to 3.3 + * Tue Sep 11 2018 Silvan Calarco 2.8-1mamba - update to 2.8