rpms/spr/devel spr-07.08.00-cflags.patch, NONE, 1.1 spr-07.08.00-gcc43.patch, NONE, 1.1 spr.spec, 1.4, 1.5 spr-06.00.02-cflags.patch, 1.1, NONE

Michael Thomas (wart) fedora-extras-commits at redhat.com
Sun Feb 10 23:43:43 UTC 2008


Author: wart

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

Modified Files:
	spr.spec 
Added Files:
	spr-07.08.00-cflags.patch spr-07.08.00-gcc43.patch 
Removed Files:
	spr-06.00.02-cflags.patch 
Log Message:
- Upgrade to 07.08.00
- Add patch for building with gcc 4.3



spr-07.08.00-cflags.patch:

--- NEW FILE spr-07.08.00-cflags.patch ---
--- StatPatternRecognition/configure.orig	2008-02-10 15:07:48.000000000 -0800
+++ StatPatternRecognition/configure	2008-02-10 15:08:39.000000000 -0800
@@ -9637,7 +9637,11 @@
 
 ################################
 
-AM_CXXFLAGS="-fPIC -O2"
+if test "${ac_env_CXXFLAGS_set}" = set; then
+    AM_CXXFLAGS=${ac_env_CXXFLAGS_value}
+else
+    AM_CXXFLAGS="-fPIC -O2"
+fi
 
 
 
--- StatPatternRecognition/configure.ac.orig	2008-02-10 15:07:51.000000000 -0800
+++ StatPatternRecognition/configure.ac	2008-02-10 15:08:59.000000000 -0800
@@ -104,7 +104,11 @@
 
 ################################
 
-AM_CXXFLAGS="-ansi -pedantic -O4"
+if test "${ac_env_CXXFLAGS_set}" = set; then
+    AM_CXXFLAGS=${ac_env_CXXFLAGS_value}
+else
+    AM_CXXFLAGS="-ansi -pedantic -O4"
+fi
 
 AC_SUBST([AM_CPPFLAGS])
 AC_SUBST([AM_CXXFLAGS])

spr-07.08.00-gcc43.patch:

--- NEW FILE spr-07.08.00-gcc43.patch ---
--- StatPatternRecognition/src/SprTransformerFilter.cc.orig	2008-02-10 15:20:40.000000000 -0800
+++ StatPatternRecognition/src/SprTransformerFilter.cc	2008-02-10 15:20:47.000000000 -0800
@@ -12,6 +12,7 @@
 #include <cassert>
 #include <algorithm>
 #include <iterator>
+#include <memory>
 
 using namespace std;
 
--- StatPatternRecognition/src/exampleBootstrapVarianceEst.cc.orig	2007-10-05 13:03:10.000000000 -0700
+++ StatPatternRecognition/src/exampleBootstrapVarianceEst.cc	2008-02-10 15:20:27.000000000 -0800
@@ -32,6 +32,7 @@
 #include <string>
 #include <vector>
 #include <cmath>
+#include <memory>
 
 using namespace std;
 
--- StatPatternRecognition/src/SprAdaBoost.cc.orig	2007-12-17 17:44:29.000000000 -0800
+++ StatPatternRecognition/src/SprAdaBoost.cc	2008-02-10 15:20:27.000000000 -0800
@@ -14,6 +14,7 @@
 #include <functional>
 #include <algorithm>
 #include <cmath>
+#include <memory>
 
 using namespace std;
 
--- StatPatternRecognition/src/SprArcE4.cc.orig	2007-08-30 10:20:05.000000000 -0700
+++ StatPatternRecognition/src/SprArcE4.cc	2008-02-10 15:20:27.000000000 -0800
@@ -10,6 +10,7 @@
 
 #include <cassert>
 #include <cmath>
+#include <memory>
 
 using namespace std;
 
--- StatPatternRecognition/src/SprStdBackprop.cc.orig	2007-08-30 10:20:05.000000000 -0700
+++ StatPatternRecognition/src/SprStdBackprop.cc	2008-02-10 15:20:27.000000000 -0800
@@ -16,6 +16,7 @@
 #include <sstream>
 #include <utility>
 #include <cassert>
+#include <cstring>
 
 using namespace std;
 
--- StatPatternRecognition/src/SprBagger.cc.orig	2007-12-17 17:44:15.000000000 -0800
+++ StatPatternRecognition/src/SprBagger.cc	2008-02-10 15:20:27.000000000 -0800
@@ -15,6 +15,7 @@
 #include <functional>
 #include <algorithm>
 #include <cmath>
+#include <memory>
 
 using namespace std;
 
--- StatPatternRecognition/src/SprSimpleReader.cc.orig	2007-12-15 08:46:59.000000000 -0800
+++ StatPatternRecognition/src/SprSimpleReader.cc	2008-02-10 15:20:27.000000000 -0800
@@ -13,6 +13,7 @@
 #include <fstream>
 #include <iostream>
 #include <sstream>
+#include <memory>
 
 using namespace std;
 
--- StatPatternRecognition/src/SprIOTestApp.cc.orig	2008-02-10 15:25:59.000000000 -0800
+++ StatPatternRecognition/src/SprIOTestApp.cc	2008-02-10 15:33:35.000000000 -0800
@@ -16,6 +16,8 @@
 #include <set>
 #include <string>
 #include <memory>
+#include <bits/basic_string.h>
+#include <bits/stl_algo.h>
 
 using namespace std;
 
--- StatPatternRecognition/src/exampleUserCuts.cc.orig	2007-10-22 14:23:41.000000000 -0700
+++ StatPatternRecognition/src/exampleUserCuts.cc	2008-02-10 15:20:27.000000000 -0800
@@ -9,6 +9,7 @@
 #include <iostream>
 #include <string>
 #include <vector>
+#include <memory>
 
 using namespace std;
 
--- StatPatternRecognition/src/exampleCorrTest.cc.orig	2007-08-30 10:20:05.000000000 -0700
+++ StatPatternRecognition/src/exampleCorrTest.cc	2008-02-10 15:20:27.000000000 -0800
@@ -19,6 +19,7 @@
 #include <iostream>
 #include <string>
 #include <vector>
+#include <memory>
 
 using namespace std;
 


Index: spr.spec
===================================================================
RCS file: /cvs/extras/rpms/spr/devel/spr.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- spr.spec	21 Aug 2007 19:57:10 -0000	1.4
+++ spr.spec	10 Feb 2008 23:43:04 -0000	1.5
@@ -1,13 +1,14 @@
 Name:           spr
-Version:        07.00.00
+Version:        07.08.00
 Release:        1%{?dist}
 Summary:        Library for categorization of data
 
 Group:          Development/Libraries
 License:        GPL+
 URL:            http://www.hep.caltech.edu/~narsky/spr.html
-Patch0:         spr-06.00.02-cflags.patch
-Source0:        http://downloads.sourceforge.net/statpatrec/SPR-07-00-00.tar.gz
+Patch0:         spr-07.08.00-cflags.patch
+Patch1:         spr-07.08.00-gcc43.patch
+Source0:        http://downloads.sourceforge.net/statpatrec/SPR-07-08-00.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libstdc++-devel
 
@@ -28,6 +29,7 @@
 touch -r configure.ac configure.ac.stamp
 %patch0 -p1
 touch -r configure.ac.stamp configure.ac
+%patch1 -p1
 
 
 %build
@@ -73,6 +75,10 @@
 
 
 %changelog
+* Sun Feb 10 2008 Wart <wart at kobold.org> 07.08.00-1
+- Upgrade to 07.08.00
+- Add patch for building with gcc 4.3
+
 * Tue Aug 21 2007 Wart <wart at kobold.org> 07.00.00-1
 - Update to latest release
 - License tag clarification


--- spr-06.00.02-cflags.patch DELETED ---




More information about the fedora-extras-commits mailing list