[mingw-libp11: 21/21] Dropped .la and .def files
epienbro
epienbro at fedoraproject.org
Wed Mar 7 19:49:39 UTC 2012
commit 036d318fca43a05aed761de54f5b2e198a3f5e3c
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Wed Mar 7 20:47:48 2012 +0100
Dropped .la and .def files
mingw-libp11.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mingw-libp11.spec b/mingw-libp11.spec
index c30adae..a9e595e 100644
--- a/mingw-libp11.spec
+++ b/mingw-libp11.spec
@@ -59,13 +59,17 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
# We install it with %%doc instead.
rm -rf $RPM_BUILD_ROOT%{mingw32_docdir}/libp11
+# The .def files aren't interesting for other packages
+rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/libp11-2.dll.def
+
+# Drop all .la files
+find $RPM_BUILD_ROOT -name "*.la" -delete
+
%files -n mingw32-libp11
%doc COPYING NEWS
%{mingw32_bindir}/libp11-2.dll
-%{mingw32_libdir}/libp11-2.dll.def
%{mingw32_libdir}/libp11.dll.a
-%{mingw32_libdir}/libp11.la
%{mingw32_libdir}/pkgconfig/*
%{mingw32_includedir}/*
@@ -75,6 +79,7 @@ rm -rf $RPM_BUILD_ROOT%{mingw32_docdir}/libp11
- Renamed the source package to mingw-libp11 (RHBZ #800920)
- Use mingw macros without leading underscore
- Dropped unneeded RPM tags
+- Dropped .la and .def files
* Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.2.8-3
- Rebuild against the mingw-w64 toolchain
More information about the scm-commits
mailing list