]> git.pld-linux.org Git - packages/crossmingw32-binutils.git/commitdiff
- update to 2.10.0.33
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Dec 2000 23:58:25 +0000 (23:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use binutils version as package version
- removed renaming *.exe to * - binutils 2.10.0.33 doesn't use .exe extension

Changed files:
    crossmingw32-binutils.spec -> 1.2

crossmingw32-binutils.spec

index 6d533e15a2757865f7f7a625e70fc2144e97438e..fc66d7fcdd013173bf7d3fd5dca274f4b37376a0 100644 (file)
@@ -1,15 +1,12 @@
 Summary:       Mingw32 GNU Binary Utility Development Utilities - binutils
 Name:          crossmingw32-binutils
-# could someone test this with new binutils?
-%define binversion 2.10.0.18
-%define version 990111
-Version:       %{version}
-Release:       3
+Version:       2.10.0.33
+Release:       1
 License:       GPL
 Group:         Development/Tools
 Group(pl):     Programowanie/Narzêdzia
 ExclusiveArch: %{ix86}
-Source0:       ftp://ftp.gnu.org/pub/gnu/binutils-%{binversion}.tar.gz
+Source0:       ftp://ftp.gnu.org/pub/gnu/binutils-%{version}.tar.gz
 Patch0:                binutils-info.patch
 BuildRequires: flex
 BuildRequires: bison
@@ -18,8 +15,6 @@ Requires:     crossmingw32-platform
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define target i386-mingw32
-%define target_platform i386-pc-mingw32
-%define _prefix /usr
 %define arch %{_prefix}/%{target}
 
 %description
@@ -34,7 +29,7 @@ This package contains cross targeted binutils.
 %prep
 
 %setup -q -T -c -a0
-(cd binutils-%{binversion}
+(cd binutils-%{version}
 %patch -p1
 )
 
@@ -45,7 +40,7 @@ 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-%{binversion}
+(cd binutils-%{version}
 
 # ldscripts won't be generated properly if SHELL is not bash...
 %{?debug:CFLAGS="-g -O" LDFLAGS=""}%{!?debug:CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s"} \
@@ -63,7 +58,7 @@ CONFIG_SHELL="/bin/bash" \
 %install
 
 rm -rf $RPM_BUILD_ROOT
-(cd binutils-%{binversion}
+(cd binutils-%{version}
 
 %{__make} install \
        prefix=$RPM_BUILD_ROOT%{_prefix} \
@@ -73,16 +68,6 @@ rm -rf $RPM_BUILD_ROOT
 
 )
 
-# binutils 2.10 sets exeext to ".exe"
-
-for fn in $RPM_BUILD_ROOT%{_bindir}/%target-*.exe $RPM_BUILD_ROOT%{arch}/bin/*.exe ; do
-       mv -f $fn `echo $fn | sed s/\.exe\$//`
-done
-
-# check if rpm automation handles this correctly:
-#gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/%{target}-*
-#strip $RPM_BUILD_ROOT%{_bindir}/%{target}-*
-
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{arch}/bin/*
This page took 0.029642 seconds and 4 git commands to generate.