Accepting request 415254 from security:SELinux

1

OBS-URL: https://build.opensuse.org/request/show/415254
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsemanage?expand=0&rev=39
This commit is contained in:
Dominique Leuenberger 2016-08-03 09:36:38 +00:00 committed by Git OBS Bridge
commit 32f53bb3de
4 changed files with 40 additions and 46 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jul 17 15:17:39 UTC 2016 - jengelh@inai.de
- Update RPM groups, trim description, combine filelist entries,
ensure pkgconfig() symbols are generated.
-------------------------------------------------------------------
Thu Jul 14 14:20:12 UTC 2016 - jsegitz@novell.com

View File

@ -19,9 +19,9 @@
Name: libsemanage
Version: 2.5
Release: 0
Summary: SELinux binary policy manipulation library
Summary: SELinux policy management library
License: LGPL-2.1+
Group: System/Libraries
Group: Development/Libraries/C and C++
Url: https://github.com/SELinuxProject/selinux/wiki/Releases
Source: https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/%{name}-%{version}.tar.gz
Source1: baselibs.conf
@ -35,63 +35,47 @@ BuildRequires: libbz2-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libustr-devel
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Security-enhanced Linux is a feature 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.
libsemanage provides an API for the manipulation of SELinux binary policies.
It is used by checkpolicy (the policy compiler) and similar tools, as well
as by programs like load_policy that need to perform specific transformations
on binary policies such as customizing policy boolean settings.
libsemanage is the policy management library. Using libsepol and
libselinux to interact with the SELinux system, it also calls helper
programs for loading policy and for checking whether the
file_contexts configuration is valid.
%package -n libsemanage1
Summary: SELinux binary policy manipulation library
Summary: SELinux policy management library
Group: System/Libraries
%description -n libsemanage1
Security-enhanced Linux is a feature 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.
libsemanage is the policy management library. Using libsepol and
libselinux to interact with the SELinux system, it also calls helper
programs for loading policy and for checking whether the
file_contexts configuration is valid.
libsemanage provides an API for the manipulation of SELinux binary
policies. It is used by checkpolicy (the policy compiler) and similar
tools, as well as by programs like load_policy that need to perform
specific transformations on binary policies such as customizing policy
boolean settings.
(Security-enhanced Linux is a feature of the kernel and some
utilities that implement mandatory access control policies, such as
Type Enforcement, Role-based Access Control and Multi-Level
Security.)
%package devel
Summary: Header files and libraries used to build policy manipulation tools
Group: Development/Libraries
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Summary: Header files and libraries for SELinux's policy management libary
Group: Development/Libraries/C and C++
Requires: libsemanage1 = %{version}
Requires: libustr-devel
%description devel
The semanage-devel package contains the libraries and header files
needed for developing applications that manipulate binary policies.
The libsemanage-devel package contains the libraries and header files
needed for developing applications that manipulate SELinux policies.
%package devel-static
Summary: SELinux binary policy manipulation library
Group: System/Libraries
Summary: Static archives for SELinux's policy management library
Group: Development/Libraries/C and C++
Requires: libsemanage-devel
%description devel-static
The semanage-static package contains the static libraries
The libsemanage-devel-static package contains the static libraries
needed for developing applications that manipulate binary policies.
%prep
@ -126,10 +110,8 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf
%defattr(-,root,root)
%{_libdir}/libsemanage.so
%{_libdir}/pkgconfig/libsemanage.pc
%dir %{_libexecdir}/selinux
%{_libexecdir}/selinux/semanage_migrate_store
%dir %{_includedir}/semanage
%{_includedir}/semanage/*.h
%{_libexecdir}/selinux/
%{_includedir}/semanage/
%{_mandir}/man3/*
%{_mandir}/man5/*

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jul 17 15:21:03 UTC 2016 - jengelh@inai.de
- Summary/description update
-------------------------------------------------------------------
Fri Jul 8 15:35:05 UTC 2016 - i@marguerite.su

View File

@ -19,7 +19,7 @@
Name: python-semanage
Version: 2.5
Release: 0
Summary: Python bindings for libsemanage
Summary: Python bindings for SELinux's policy management library
License: LGPL-2.1
Group: Development/Languages/Python
Url: https://github.com/SELinuxProject/selinux
@ -35,12 +35,13 @@ BuildRequires: libsepol-devel
BuildRequires: libustr-devel
BuildRequires: python-devel
BuildRequires: swig
# Ensure same version
Requires: libsemanage1 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the python bindings for developing
SELinux management applications.
This package contains the Python bindings for developing
SELinux policy management applications.
%prep
%setup -q -n libsemanage-%{version}