From 625d25be9087729c852e175bb8c5cbcfe305e9dea42c04c53e0d39e3cf38270c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 12 Feb 2014 09:12:21 +0000 Subject: [PATCH] Accepting request 221860 from home:vitezslav_cizek:branches:security:SELinux - add semanage.conf as SOURCE and install it instead of the default one OBS-URL: https://build.opensuse.org/request/show/221860 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=49 --- libsemanage.changes | 6 ++++++ libsemanage.spec | 4 +++- python-semanage.spec | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libsemanage.changes b/libsemanage.changes index 19d46a4..ad86ba3 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 11 10:12:55 UTC 2014 - vcizek@suse.com + +- add semanage.conf as SOURCE and install it instead of the default + one + ------------------------------------------------------------------- Thu Oct 31 13:55:06 UTC 2013 - p.drouand@gmail.com diff --git a/libsemanage.spec b/libsemanage.spec index 21c6997..cb72c57 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -1,7 +1,7 @@ # # spec file for package libsemanage # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,6 +34,7 @@ Group: System/Libraries Url: http://userspace.selinuxproject.org/ Source: http://userspace.selinuxproject.org/releases/20131030/%{name}-%{version}.tar.gz Source1: baselibs.conf +Source2: semanage.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -106,6 +107,7 @@ mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir} make DESTDIR=%{buildroot} LIBDIR="%{buildroot}%{_libdir}" SHLIBDIR="%{buildroot}/%{_lib}" install ln -sf /%{_lib}/libsemanage.so.1 %{buildroot}/%{_libdir}/libsemanage.so +cp %{SOURCE2} %{buildroot}%{_sysconfdir}/selinux/semanage.conf # Remove duplicate files %fdupes -s %{buildroot}%{_mandir} diff --git a/python-semanage.spec b/python-semanage.spec index 1954b79..b86bb12 100644 --- a/python-semanage.spec +++ b/python-semanage.spec @@ -1,7 +1,7 @@ # # spec file for package python-semanage # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed