[mingw-libssh2] Remove .la files

Kalev Lember kalev at fedoraproject.org
Fri Mar 9 16:12:58 UTC 2012


commit cbb2dd2be560c9c750ec9dd1be135b3ef3eb3c48
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Fri Mar 9 18:09:52 2012 +0200

    Remove .la files

 mingw-libssh2.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mingw-libssh2.spec b/mingw-libssh2.spec
index 5acdb53..6b13107 100644
--- a/mingw-libssh2.spec
+++ b/mingw-libssh2.spec
@@ -4,7 +4,7 @@
 
 Name:           mingw-libssh2
 Version:        1.1
-Release:        9%{?dist}
+Release:        10%{?dist}
 Summary:        MinGW Windows library implementation of the SSH2 protocol
 
 License:        BSD
@@ -62,6 +62,9 @@ make %{?_smp_mflags}
 %install
 make DESTDIR=$RPM_BUILD_ROOT install
 
+# Remove .la files
+rm $RPM_BUILD_ROOT%{mingw32_libdir}/*.la
+
 # Remove man pages which duplicate native Fedora.
 rm -r $RPM_BUILD_ROOT%{mingw32_mandir}/man3
 
@@ -70,7 +73,6 @@ rm -r $RPM_BUILD_ROOT%{mingw32_mandir}/man3
 %doc COPYING
 %{mingw32_bindir}/libssh2-1.dll
 %{mingw32_libdir}/libssh2.dll.a
-%{mingw32_libdir}/libssh2.la
 %{mingw32_includedir}/libssh2.h
 %{mingw32_includedir}/libssh2_publickey.h
 %{mingw32_includedir}/libssh2_sftp.h
@@ -81,6 +83,9 @@ rm -r $RPM_BUILD_ROOT%{mingw32_mandir}/man3
 
 
 %changelog
+* Fri Mar 09 2012 Kalev Lember <kalevlember at gmail.com> - 1.1-10
+- Remove .la files
+
 * Tue Mar 06 2012 Kalev Lember <kalevlember at gmail.com> - 1.1-9
 - Renamed the source package to mingw-libssh2 (#800434)
 - Spec clean up


More information about the scm-commits mailing list