[mingw-libltdl: 13/42] - Use .tar.lzma instead of .tar.gz - Remove obsolete libtool-1.5.24-relativepath.patch - Update to 2

epienbro epienbro at fedoraproject.org
Wed Mar 7 19:30:01 UTC 2012


commit f4b6800bf37ee3452b27df877288ee3c25f42897
Author: Hans Ulrich Niedermann <ndim at fedoraproject.org>
Date:   Sat Jan 2 13:24:57 2010 +0000

    - Use .tar.lzma instead of .tar.gz
    - Remove obsolete libtool-1.5.24-relativepath.patch
    - Update to 2.2.6b from 1.5.26
    - Update file list with new header files
    - New DLL name: libltdl-7.dll instead of libltdl-3.dll

 .cvsignore                        |    2 +-
 libtool-1.5.24-relativepath.patch |   14 -------------
 mingw32-libltdl.spec              |   38 ++++++++++++++++++++++++------------
 sources                           |    2 +-
 4 files changed, 27 insertions(+), 29 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index c1c4015..23b8a9a 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-libtool-1.5.26.tar.gz
+libtool-2.2.6b.tar.lzma
diff --git a/mingw32-libltdl.spec b/mingw32-libltdl.spec
index 8c5a6ab..9fe7492 100644
--- a/mingw32-libltdl.spec
+++ b/mingw32-libltdl.spec
@@ -8,24 +8,26 @@
 # Note: As of libtool-1.5.26, libltdl does not contain any tests at all.
 %define run_tests 0
 
+# Major soname, or the number in libltdl-N.dll
+%global   libltdl_major  7
+
+# Tarball patchlevel (a, b, etc. or nothing at all)
+%global   patchlevel  b
+
 Summary:  Runtime libraries for GNU Libtool Dynamic Module Loader
 Name:     mingw32-libltdl
-Version:  1.5.26
-Release:  14%{?dist}
+Version:  2.2.6
+Release:  17%{?dist}
 Group:    System Environment/Libraries
 # Even though the source package contains files under
 # "GPLv2+ and LGPLv2+ and GFDL", the binary RPM only ships LGPLv2+ code.
 License:  LGPLv2+
 Group:    Development/Tools
 
-Source:  http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.gz
-URL:     http://www.gnu.org/software/libtool/
+Source:   http://ftp.gnu.org/gnu/libtool/libtool-%{version}%{?patchlevel}.tar.lzma
+URL:      http://www.gnu.org/software/libtool/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
 
-# don't  read .la file in current working directory, root might get tricked
-# into running a prepared binary in that directory:
-Patch2:  libtool-1.5.24-relativepath.patch
-
 BuildRequires:  mingw32-filesystem >= 30
 BuildRequires:  mingw32-binutils
 BuildRequires:  mingw32-gcc
@@ -49,8 +51,8 @@ the rest of the GNU Autotools (including GNU Autoconf and GNU Automake).
 
 
 %prep
-%setup -n libtool-%{version} -q
-%patch2 -p1
+%setup -n libtool-%{version}%{?patchlevel} -q
+
 
 %build
 export PATH=%{_mingw32_bindir}:$PATH
@@ -63,7 +65,7 @@ export F77=false
 export CFLAGS="$RPM_OPT_FLAGS -fPIC"
 # dumb redhat-rpm-config replaces config.{sub,guess} with ancient ones in %%configure, use ./configure instead:
 # %%_mingw32_configure does not make that error :)
-%{_mingw32_configure} --enable-shared
+%{_mingw32_configure} --enable-shared --enable-ltdl-install
 # build not smp safe:
 make #%{?_smp_mflags}
 
@@ -90,13 +92,23 @@ rm -rf %{buildroot}
 %defattr(-,root,root)
 %doc AUTHORS NEWS THANKS TODO ChangeLog
 %doc libltdl/COPYING.LIB libltdl/README
+%{_mingw32_bindir}/libltdl-%{libltdl_major}.dll
+%{_mingw32_includedir}/libltdl/lt_dlloader.h
+%{_mingw32_includedir}/libltdl/lt_error.h
+%{_mingw32_includedir}/libltdl/lt_system.h
+%{_mingw32_includedir}/ltdl.h
 %{_mingw32_libdir}/libltdl.dll.a
-%{_mingw32_bindir}/libltdl-3.dll
 %{_mingw32_libdir}/libltdl.la
-%{_mingw32_includedir}/ltdl.h
 
 
 %changelog
+* Sat Jan  2 2010 Hans Ulrich Niedermann <hun at n-dimensional.de> - 2.2.6-17
+- Use .tar.lzma instead of .tar.gz
+- Remove obsolete libtool-1.5.24-relativepath.patch
+- Update to 2.2.6b from 1.5.26
+- Update file list with new header files
+- New DLL name: libltdl-7.dll instead of libltdl-3.dll
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.26-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 
diff --git a/sources b/sources
index e1c9915..2d32d92 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aa9c5107f3ec9ef4200eb6556f3b3c29  libtool-1.5.26.tar.gz
+a4b36980765003b47dd75ac9429f4f11  libtool-2.2.6b.tar.lzma


More information about the scm-commits mailing list