[mlocate] Drop no longer necessary %clean and %defattr commands.

Miloslav Trmac mitr at fedoraproject.org
Tue Aug 21 18:44:49 UTC 2012


commit ca48ad5e58c90d71f7d5c8786c8473e06a99a792
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Tue Aug 21 20:43:59 2012 +0200

    Drop no longer necessary %clean and %defattr commands.

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


More information about the scm-commits mailing list