Copy from home:thomasbiege:branches:security:SELinux/selinux-policy via accept of submit request 13137
Request was accepted with message: OBS-URL: https://build.opensuse.org/package/show/security:SELinux/selinux-policy?expand=0&rev=12
This commit is contained in:
parent
afdfa07cb7
commit
addca201f3
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 26 12:19:07 CEST 2009 - thomas@novell.com
|
||||||
|
|
||||||
|
- added config file for /etc/selinux/
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 14 14:20:23 CET 2009 - prusnak@suse.cz
|
Wed Jan 14 14:20:23 CET 2009 - prusnak@suse.cz
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ License: GPL v2
|
|||||||
Group: System/Base
|
Group: System/Base
|
||||||
Summary: SELinux policies
|
Summary: SELinux policies
|
||||||
Source: refpolicy-%{version}.tar.bz2
|
Source: refpolicy-%{version}.tar.bz2
|
||||||
|
Source1: config
|
||||||
Patch0: %{name}-build_conf.patch
|
Patch0: %{name}-build_conf.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: checkpolicy policycoreutils libsepol-devel python python-xml m4
|
BuildRequires: checkpolicy policycoreutils libsepol-devel python python-xml m4
|
||||||
@ -77,6 +78,8 @@ for i in standard mcs mls; do
|
|||||||
sed -i "s:^# edit $RPM_BUILD_ROOT:# edit :" $RPM_BUILD_ROOT%{_sysconfdir}/selinux/refpolicy-$i/contexts/files/file_contexts.homedirs
|
sed -i "s:^# edit $RPM_BUILD_ROOT:# edit :" $RPM_BUILD_ROOT%{_sysconfdir}/selinux/refpolicy-$i/contexts/files/file_contexts.homedirs
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
install -m 600 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/selinux/
|
||||||
|
#mkdir $RPM_BUILD_ROOT/selinux
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -86,6 +89,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc refpolicy-standard/COPYING refpolicy-standard/Changelog refpolicy-standard/README
|
%doc refpolicy-standard/COPYING refpolicy-standard/Changelog refpolicy-standard/README
|
||||||
%dir %{_sysconfdir}/selinux
|
%dir %{_sysconfdir}/selinux
|
||||||
%dir %{_sysconfdir}/selinux/refpolicy-standard
|
%dir %{_sysconfdir}/selinux/refpolicy-standard
|
||||||
|
#%dir /selinux
|
||||||
|
%{_sysconfdir}/selinux/config
|
||||||
%{_sysconfdir}/selinux/refpolicy-standard/*
|
%{_sysconfdir}/selinux/refpolicy-standard/*
|
||||||
|
|
||||||
%files refpolicy-mcs
|
%files refpolicy-mcs
|
||||||
@ -93,6 +98,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc refpolicy-mcs/COPYING refpolicy-mcs/Changelog refpolicy-mcs/README
|
%doc refpolicy-mcs/COPYING refpolicy-mcs/Changelog refpolicy-mcs/README
|
||||||
%dir %{_sysconfdir}/selinux
|
%dir %{_sysconfdir}/selinux
|
||||||
%dir %{_sysconfdir}/selinux/refpolicy-mcs
|
%dir %{_sysconfdir}/selinux/refpolicy-mcs
|
||||||
|
#%dir /selinux
|
||||||
|
%{_sysconfdir}/selinux/config
|
||||||
%{_sysconfdir}/selinux/refpolicy-mcs/*
|
%{_sysconfdir}/selinux/refpolicy-mcs/*
|
||||||
|
|
||||||
%files refpolicy-mls
|
%files refpolicy-mls
|
||||||
@ -100,6 +107,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc refpolicy-mls/COPYING refpolicy-mls/Changelog refpolicy-mls/README
|
%doc refpolicy-mls/COPYING refpolicy-mls/Changelog refpolicy-mls/README
|
||||||
%dir %{_sysconfdir}/selinux
|
%dir %{_sysconfdir}/selinux
|
||||||
%dir %{_sysconfdir}/selinux/refpolicy-mls
|
%dir %{_sysconfdir}/selinux/refpolicy-mls
|
||||||
|
#%dir /selinux
|
||||||
|
%{_sysconfdir}/selinux/config
|
||||||
%{_sysconfdir}/selinux/refpolicy-mls/*
|
%{_sysconfdir}/selinux/refpolicy-mls/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user