28 lines
558 B
RPMSpec
28 lines
558 B
RPMSpec
Name: selinux-myconf
|
|
Version: 1.0
|
|
Release: 0.%(perl -e 'print time()')
|
|
Summary: Custom selinux configuration
|
|
License: MIT
|
|
Group: Development/Tools
|
|
|
|
%description
|
|
Config file for selinux
|
|
|
|
%pre
|
|
rm -f /etc/selinux/config.myconf
|
|
|
|
%post
|
|
cp -f /etc/selinux/config.myconf /etc/selinux/config
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/etc/selinux
|
|
cp config %{buildroot}/etc/selinux/config.myconf
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%attr(644,root,root) /etc/selinux/config.myconf
|
|
|
|
%changelog
|
|
* Sat Nov 02 2024 David Rotermund <davrot@uni-bremen.de> - 1.0-1
|
|
- Initial RPM release.
|
|
|