forked from pool/libsemanage
Accepting request 445457 from home:dimstar:Factory
- Split out the Policy Store Migration tool into libsemanage-store-migrate: it is not a devel tool to start with. Additionally, it causes the -devel package to depend on python, which we want to avoid (libsemanabe being part of the core build cycle). The library suggests libsemanage-store-migrate. OBS-URL: https://build.opensuse.org/request/show/445457 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=59
This commit is contained in:
parent
b22fe1786a
commit
30ba64d8e9
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 14:59:36 UTC 2016 - dimstar@opensuse.org
|
||||
|
||||
- Split out the Policy Store Migration tool into
|
||||
libsemanage-store-migrate: it is not a devel tool to start with.
|
||||
Additionally, it causes the -devel package to depend on python,
|
||||
which we want to avoid (libsemanabe being part of the core build
|
||||
cycle). The library suggests libsemanage-store-migrate.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 17 15:17:39 UTC 2016 - jengelh@inai.de
|
||||
|
||||
|
@ -47,6 +47,7 @@ file_contexts configuration is valid.
|
||||
%package -n libsemanage1
|
||||
Summary: SELinux policy management library
|
||||
Group: System/Libraries
|
||||
Suggests: %{name}-migrate-store
|
||||
|
||||
%description -n libsemanage1
|
||||
libsemanage is the policy management library. Using libsepol and
|
||||
@ -78,6 +79,17 @@ Requires: libsemanage-devel
|
||||
The libsemanage-devel-static package contains the static libraries
|
||||
needed for developing applications that manipulate binary policies.
|
||||
|
||||
%package migrate-store
|
||||
Summary: SELinux Policy Store Migration
|
||||
Group: Productivity/Security
|
||||
|
||||
%description migrate-store
|
||||
In version 2.4 of libsemanage, libsepol, and policycoreutils, the policy
|
||||
module store was moved from /etc/selinux/<store>/modules/ to
|
||||
/var/lib/selinux/<store>/. Once the libraries are upgraded, all policy
|
||||
stores must be migrated before any commands that modify or use the store
|
||||
(e.g. semodule, semanage) can be executed.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p0
|
||||
@ -110,11 +122,14 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsemanage.so
|
||||
%{_libdir}/pkgconfig/libsemanage.pc
|
||||
%{_libexecdir}/selinux/
|
||||
%{_includedir}/semanage/
|
||||
%{_mandir}/man3/*
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%files migrate-store
|
||||
%defattr(-,root,root)
|
||||
%{_libexecdir}/selinux/
|
||||
|
||||
%files devel-static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libsemanage.a
|
||||
|
Loading…
Reference in New Issue
Block a user