rpms/ginac/devel ginac-1.3.3-gcc41.patch, NONE, 1.1 ginac.spec, 1.5, 1.6

Quentin Spencer (qspencer) fedora-extras-commits at redhat.com
Thu Feb 2 21:37:26 UTC 2006


Author: qspencer

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

Modified Files:
	ginac.spec 
Added Files:
	ginac-1.3.3-gcc41.patch 
Log Message:
Patch so it builds on gcc4. Other misc spec changes.

ginac-1.3.3-gcc41.patch:

--- NEW FILE ginac-1.3.3-gcc41.patch ---
--- ginac/indexed.cpp.~1~	2005-05-19 09:24:35.000000000 -0500
+++ ginac/indexed.cpp	2006-02-02 15:20:25.000000000 -0600
@@ -704,6 +704,9 @@
 	}
 }
 
+// Forward declaration needed in absence of friend injection, C.f. [namespace.memdef]:
+ex simplify_indexed(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp);
+
 /** Simplify product of indexed expressions (commutative, noncommutative and
  *  simple squares), return list of free indices. */
 ex simplify_indexed_product(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp)


Index: ginac.spec
===================================================================
RCS file: /cvs/extras/rpms/ginac/devel/ginac.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ginac.spec	2 Feb 2006 16:58:09 -0000	1.5
+++ ginac.spec	2 Feb 2006 21:37:26 -0000	1.6
@@ -1,12 +1,13 @@
 Name:           ginac
 Version:        1.3.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        C++ library for symbolic calculations
 
 Group:          System Environment/Libraries
 License:        GPL
 URL:            http://www.ginac.de/
 Source0:        http://www.ginac.de/%{name}-%{version}.tar.bz2
+Patch0:         ginac-1.3.3-gcc41.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires(post): /sbin/install-info
@@ -54,14 +55,16 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
-%configure
-make
+%configure --disable-dependency-tracking --disable-static
+make %{?_smp_mflags}
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
 %makeinstall
+rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
@@ -93,9 +96,7 @@
 %{_includedir}/ginac
 %{_bindir}/ginac-config
 %{_datadir}/aclocal/ginac.m4
-%exclude %{_libdir}/*.a
 %exclude %{_libdir}/*.la
-%exclude %{_infodir}/dir
 
 %files utils
 %defattr(-,root,root)
@@ -105,6 +106,10 @@
 %{_mandir}/man?/viewgar.1*
 
 %changelog
+* Thu Feb  2 2006 Quentin Spencer <qspencer at users.sf.net> 1.3.3-3
+- Patch so it builds on gcc 4.1.
+- Disable static libs from build and enable parallel build.
+
 * Wed Feb  1 2006 Quentin Spencer <qspencer at users.sf.net> 1.3.3-2
 - Exclude /usr/share/info/dir from package.
 - New URL.




More information about the scm-commits mailing list