]> git.pld-linux.org Git - packages/crossmingw32-binutils.git/commitdiff
- update to 2.10.1.0.4
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 19 Jan 2001 17:21:19 +0000 (17:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- exclude %%{arch}/lib directory from this package (it belongs to
  crossmingw32-platform)
- spec simplified

Changed files:
    crossmingw32-binutils.spec -> 1.4

crossmingw32-binutils.spec

index 1a520575fc4251d4f60fc320eeeab8344379ecc3..c7e7bc426d9bfc455a92d5819c54dfebc2741ed3 100644 (file)
@@ -1,6 +1,6 @@
 Summary:       Mingw32 GNU Binary Utility Development Utilities - binutils
 Name:          crossmingw32-binutils
-Version:       2.10.0.33
+Version:       2.10.1.0.4
 Release:       1
 License:       GPL
 Group:         Development/Tools
@@ -29,20 +29,16 @@ with supporting Win32 libraries in 'coff' format from free sources.
 This package contains cross targeted binutils.
 
 %prep
-
-%setup -q -T -c -a0
-(cd binutils-%{version}
+%setup -q -n binutils-%{version}
 %patch -p1
-)
 
 %build
-
 rm -rf $RPM_BUILD_ROOT
 
 # Because of a bug in binutils-2.9.1, a cross libbfd.so* is not named
 # lib<target>bfd.so*. To prevent confusion with native binutils, we
 # forget about shared libraries right now, and do not install libbfd.a
-(cd binutils-%{version}
+# [the same applies to binutils 2.10.1.0.4]
 
 # ldscripts won't be generated properly if SHELL is not bash...
 %{?debug:CFLAGS="-g -O" LDFLAGS=""}%{!?debug:CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s"} \
@@ -55,12 +51,9 @@ CONFIG_SHELL="/bin/bash" \
        --target=%{target}
 
 %{__make} tooldir=%{_prefix} EXEEXT="" all
-)
 
 %install
-
 rm -rf $RPM_BUILD_ROOT
-(cd binutils-%{version}
 
 %{__make} install \
        prefix=$RPM_BUILD_ROOT%{_prefix} \
@@ -68,15 +61,12 @@ rm -rf $RPM_BUILD_ROOT
        infodir=$RPM_BUILD_ROOT%{_infodir} \
        libdir=$RPM_BUILD_ROOT%{_libdir}
 
-)
-
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{arch}/bin/*
-%{arch}/lib
+%{arch}/lib/*
 %attr(755,root,root) %{_bindir}/%{target}-*
 %{_mandir}/man1/%{target}-*
 
 %clean
-
 rm -rf $RPM_BUILD_ROOT
This page took 0.110648 seconds and 4 git commands to generate.