[usermode] Drop no longer necessary %clean and %defattr commands

Miloslav Trmac mitr at fedoraproject.org
Tue Aug 21 18:26:09 UTC 2012


commit 494acd5807428b232ca3364f0dca35fc0b8bf0a8
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Tue Aug 21 20:25:31 2012 +0200

    Drop no longer necessary %clean and %defattr commands

 usermode.spec |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/usermode.spec b/usermode.spec
index 2efecc1..882146a 100644
--- a/usermode.spec
+++ b/usermode.spec
@@ -62,11 +62,7 @@ done
 
 %find_lang %{name}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files -f %{name}.lang
-%defattr(-,root,root,-)
 %doc COPYING ChangeLog NEWS README
 %attr(4711,root,root) /usr/sbin/userhelper
 %{_bindir}/consolehelper
@@ -75,7 +71,6 @@ rm -rf $RPM_BUILD_ROOT
 %config(noreplace) /etc/security/console.apps/config-util
 
 %files gtk
-%defattr(-,root,root,-)
 %{_bindir}/usermount
 %{_mandir}/man1/usermount.1*
 %{_bindir}/userformat
@@ -93,6 +88,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/applications/*
 
 %changelog
+* Tue Aug 21 2012 Miloslav Trmač <mitr at redhat.com> - 1.110-2
+- Drop no longer necessary %%clean and %%defattr commands.
+
 * Mon Aug 20 2012 Miloslav Trmač <mitr at redhat.com> - 1.110-1
 - Update to usermode-1.110.
   Note that this drops halt/poweroff/reboot helpers, the respective


More information about the scm-commits mailing list