Remove static libraries.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 10 Sep 2008 15:14:05 +0000 (16:14 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 10 Sep 2008 15:14:05 +0000 (16:14 +0100)
example/mingw-example.spec

index b09941d..7492ba3 100644 (file)
@@ -36,6 +36,9 @@ make
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 
+# Remove static libraries but DON'T remove *.dll.a files.
+rm $RPM_BUILD_ROOT%{mingw_libdir}/libfoo.a
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT