Name: bz967238 Version: 1.0 Release: 1%{?dist} Summary: A test rpm to test audit package. License: GPL BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %description A test package that only install a rule file into /etc/audit/rules.d/ directory. %prep %build %install rm -rf %{buildroot} mkdir -p %{buildroot}/etc/audit/rules.d echo '-w /bin/date -p x -k watch-date' > %{buildroot}/etc/audit/rules.d/bz967238.rules %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %config /etc/audit/rules.d/bz967238.rules %changelog