Drop no longer necessary %clean and %defattr commands.

This commit is contained in:
Miloslav Trmač 2012-08-21 20:43:59 +02:00
parent 1df0a95990
commit ca48ad5e58

View File

@ -39,9 +39,6 @@ touch $RPM_BUILD_ROOT%{_localstatedir}/lib/mlocate/mlocate.db
%find_lang mlocate %find_lang mlocate
%clean
rm -rf $RPM_BUILD_ROOT
%pre %pre
getent group slocate >/dev/null || groupadd -g 21 -r -f slocate getent group slocate >/dev/null || groupadd -g 21 -r -f slocate
exit 0 exit 0
@ -52,7 +49,6 @@ if /bin/grep -q '^[^#]*DAILY_UPDATE' %{_sysconfdir}/updatedb.conf; then
fi fi
%files -f mlocate.lang %files -f mlocate.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README %doc AUTHORS COPYING NEWS README
/etc/cron.daily/mlocate.cron /etc/cron.daily/mlocate.cron
%config(noreplace) %{_sysconfdir}/updatedb.conf %config(noreplace) %{_sysconfdir}/updatedb.conf
@ -63,6 +59,9 @@ fi
%ghost %{_localstatedir}/lib/mlocate/mlocate.db %ghost %{_localstatedir}/lib/mlocate/mlocate.db
%changelog %changelog
* Tue Aug 21 2012 Miloslav Trmač <mitr@redhat.com> - 0.25-3
- Drop no longer necessary %%clean and %%defattr commands.
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-2 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild