forked from pool/libsemanage
Accepting request 879702 from home:jsegitz:branches:security:SELinux
- Move configuration file to separate libsemanage-conf package to allow for parallel installation in future versions OBS-URL: https://build.opensuse.org/request/show/879702 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=89
This commit is contained in:
parent
111c53ca0a
commit
76295ef61a
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 17 08:29:15 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
- Move configuration file to separate libsemanage-conf package to allow
|
||||||
|
for parallel installation in future versions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 9 09:09:18 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
Tue Mar 9 09:09:18 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ file_contexts configuration is valid.
|
|||||||
Summary: SELinux policy management library
|
Summary: SELinux policy management library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Suggests: %{name}-migrate-store
|
Suggests: %{name}-migrate-store
|
||||||
|
Requires: %{name}-conf >= %{version}
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
libsemanage is the policy management library. Using libsepol and
|
libsemanage is the policy management library. Using libsepol and
|
||||||
@ -63,6 +64,16 @@ utilities that implement mandatory access control policies, such as
|
|||||||
Type Enforcement, Role-based Access Control and Multi-Level
|
Type Enforcement, Role-based Access Control and Multi-Level
|
||||||
Security.)
|
Security.)
|
||||||
|
|
||||||
|
%package conf
|
||||||
|
Summary: Configuration for the SELinux policy management library
|
||||||
|
# before 3.1 the config file wasn't separated, so no parallel install is possible
|
||||||
|
Group: System/Libraries
|
||||||
|
Conflicts: %{name}1 <= 3.1
|
||||||
|
|
||||||
|
%description conf
|
||||||
|
Configuration file for libsemanage. Moved to a separate package to allow
|
||||||
|
parallel installation
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files and libraries for SELinux's policy management libary
|
Summary: Header files and libraries for SELinux's policy management libary
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -119,11 +130,13 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf
|
|||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%dir %{_sysconfdir}/selinux
|
|
||||||
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
|
|
||||||
%{_libdir}/libsemanage.so.*
|
%{_libdir}/libsemanage.so.*
|
||||||
%dir %{_localstatedir}/lib/selinux
|
%dir %{_localstatedir}/lib/selinux
|
||||||
|
|
||||||
|
%files conf
|
||||||
|
%dir %{_sysconfdir}/selinux
|
||||||
|
%config(noreplace) %{_sysconfdir}/selinux/semanage.conf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libsemanage.so
|
%{_libdir}/libsemanage.so
|
||||||
%{_libdir}/pkgconfig/libsemanage.pc
|
%{_libdir}/pkgconfig/libsemanage.pc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user