Author: qboosh Date: Fri Dec 29 00:33:00 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - added cxx bcond
---- Files affected: SPECS: gmp.spec (1.95 -> 1.96) ---- Diffs: ================================================================ Index: SPECS/gmp.spec diff -u SPECS/gmp.spec:1.95 SPECS/gmp.spec:1.96 --- SPECS/gmp.spec:1.95 Wed Dec 6 01:47:47 2006 +++ SPECS/gmp.spec Fri Dec 29 01:32:55 2006 @@ -1,6 +1,7 @@ # $Revision$, $Date$ # # Conditional build: +%bcond_without cxx # don't build C++ interface %bcond_without tests # don't perform tests # Summary: GNU arbitrary precision library @@ -22,7 +23,7 @@ URL: http://www.swox.com/gmp/ BuildRequires: autoconf >= 2.52 BuildRequires: automake -BuildRequires: libstdc++-devel +%{?with_cxx:BuildRequires: libstdc++-devel} BuildRequires: libtool >= 2:1.4d-3 BuildRequires: texinfo Obsoletes: libgmp3 @@ -219,7 +220,7 @@ %{__automake} %configure \ --with-cpu=%{_target_cpu} \ - --enable-cxx \ + %{?with_cxx:--enable-cxx} \ --enable-fft %{__make} @@ -261,6 +262,7 @@ %defattr(644,root,root,755) %{_libdir}/libgmp.a +%if %{with cxx} %files c++ %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libgmpxx.so.*.* @@ -274,6 +276,7 @@ %files c++-static %defattr(644,root,root,755) %{_libdir}/libgmpxx.a +%endif %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -281,6 +284,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.96 2006/12/29 00:32:55 qboosh +- added cxx bcond + Revision 1.95 2006/12/06 00:47:47 pluto - release 2 ( rebuild with P: *.la ). ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/gmp.spec?r1=1.95&r2=1.96&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
