rpms/Coin2/devel Coin2.spec,1.32,1.33

Ralf Corsépius (corsepiu) fedora-extras-commits at redhat.com
Mon Feb 19 16:02:57 UTC 2007


Author: corsepiu

Update of /cvs/extras/rpms/Coin2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10939

Modified Files:
	Coin2.spec 
Log Message:
* Mon Feb 19 2007 Ralf Corsépius <rc040203 at freenet.de> - 2.4.5-4
- Filter errant -L%_libdir from coin-config.cfg.
- Remove *.la.



Index: Coin2.spec
===================================================================
RCS file: /cvs/extras/rpms/Coin2/devel/Coin2.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- Coin2.spec	16 Sep 2006 03:24:20 -0000	1.32
+++ Coin2.spec	19 Feb 2007 16:02:24 -0000	1.33
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2005, 2006 Ralf Corsepius, Ulm, Germany.
+# Copyright (c) 2004, 2005, 2006, 2007 Ralf Corsepius, Ulm, Germany.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
@@ -13,7 +13,7 @@
 Summary: High-level 3D visualization library
 Name: Coin2
 Version: 2.4.5
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 License: GPL
 Group: System Environment/Libraries
@@ -91,10 +91,14 @@
 	CPPFLAGS=$(pkg-config --cflags freetype2)
 make %{?_smp_mflags}
 
+# Strip the default libdir
+sed -i -e "s,\-L%{_libdir} ,," coin-default.cfg
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 /usr/bin/rename .3 .3sim $RPM_BUILD_ROOT%{_mandir}/man3/*
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -114,7 +118,6 @@
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{coin_includedir}
-%{_libdir}/libCoin.*a
 %{_libdir}/libCoin.so
 %{_datadir}/aclocal/coin.m4
 %dir %{_datadir}/Coin
@@ -124,6 +127,10 @@
 %doc %{coin_htmldir}
 
 %changelog
+* Mon Feb 19 2007 Ralf Corsépius <rc040203 at freenet.de> - 2.4.5-4
+- Filter errant -L%%_libdir from coin-config.cfg.
+- Remove *.la.
+
 * Fri Sep 15 2006 Ralf Corsépius <rc040203 at freenet.de> - 2.4.5-3
 - Add doxygen hack.
 




More information about the fedora-extras-commits mailing list