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