[mingw-binutils: 19/26] Spec file cleanups

epienbro epienbro at fedoraproject.org
Tue Mar 6 16:02:25 UTC 2012


commit eeaebcf37c6a9cef314ae50f8af884d41dc85346
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Thu Mar 17 15:08:41 2011 +0200

    Spec file cleanups
    
    Don't own the /usr/i686-pc-mingw32/bin/ directory and use %defattr(-,root,root,-)

 mingw32-binutils.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/mingw32-binutils.spec b/mingw32-binutils.spec
index 80a49bd..eff173e 100644
--- a/mingw32-binutils.spec
+++ b/mingw32-binutils.spec
@@ -64,10 +64,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %{_mandir}/man1/*
 %{_bindir}/i686-pc-mingw32-*
-%{_prefix}/i686-pc-mingw32/bin
+%{_prefix}/i686-pc-mingw32/bin/*
 %{_prefix}/i686-pc-mingw32/lib/ldscripts
 
 
@@ -76,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT
 - Update to 2.21
 - Added a patch to use runtime pseudo reloc v1 by default as the version of
   mingw32-runtime we have does not support v2.
+- Don't own the /usr/i686-pc-mingw32/bin/ directory
 
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.20.51.0.10-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the mingw mailing list