diff --git a/ColPack-1.0.4.tar.bz2 b/ColPack-1.0.4.tar.bz2 deleted file mode 100644 index 015d2ae..0000000 --- a/ColPack-1.0.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8bddae2c02d8fc78773b2ccc31f94609953b5e83da2b9c98c025928798fb541e -size 986735 diff --git a/adolc-2.2.1.tar.bz2 b/adolc-2.2.1.tar.bz2 deleted file mode 100644 index 9e04b84..0000000 --- a/adolc-2.2.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e3c14b7e895559a391323b84ec6a2e2128b76bd53df2d6bef7bd63c6fc97a989 -size 1879354 diff --git a/adolc-2.3.0.tar.bz2 b/adolc-2.3.0.tar.bz2 new file mode 100644 index 0000000..27c11e1 --- /dev/null +++ b/adolc-2.3.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:334437cca51aff11c9980894e9d83be97fe4c7171edb5be4504bc55e134cdafa +size 1885705 diff --git a/adolc.changes b/adolc.changes index 7840ec8..b31ae34 100644 --- a/adolc.changes +++ b/adolc.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Mar 22 17:23:36 UTC 2012 - kkhere.geo@gmail.com + +- Update to new upsteam version 2.3.0 + * list of changes in the release announcement + see http://list.coin-or.org/pipermail/adol-c/2012-March/000804.html + * licensing modified + see http://list.coin-or.org/pipermail/adol-c/2012-March/000805.html +- Update License tag in accordance with above change +- Remove ColPack, it can be packaged in its own package with v1.0.6 +- Add a BuildRequires for ColPack-devel + ------------------------------------------------------------------- Fri Feb 17 06:44:42 UTC 2012 - kkhere.geo@gmail.com diff --git a/adolc.spec b/adolc.spec index 36eee15..48ceaec 100644 --- a/adolc.spec +++ b/adolc.spec @@ -16,21 +16,20 @@ # -%define packver 2.2.1 +%define packver 2.3.0 +%define packname ADOL-C Name: adolc %define lname libadolc1 -Version: 2.2.1 +Version: 2.3.0 Release: 0 Summary: Algorithmic Differentiation Library for C/C++ -License: (GPL-2.0 or CPL-1.0) and LGPL-3.0 +License: GPL-2.0+ or EPL-1.0 Group: Development/Libraries/C and C++ -# see bnc#739158 for a discussion on the licensing issue Url: http://projects.coin-or.org/ADOL-C Source: %{name}-%{packver}.tar.bz2 -Source1: ColPack-1.0.4.tar.bz2 -Source2: baselibs.conf -Patch1: correct-no-return-in-non-void.patch +Source1: baselibs.conf +BuildRequires: ColPack-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -104,23 +103,9 @@ accessed memory of the given function evaluation program. This package provides the userĀ“s manual for adolc %prep -%setup -q -n %{name}-%{packver} -b 1 -pushd ThirdParty -mv %{_builddir}/ColPack/* ColPack/ -rm -rf %{_builddir}/ColPack -pushd ColPack -%patch1 -p1 -popd -popd +%setup -q -n %{packname}-%{packver} %build -pushd ThirdParty/ColPack -make %{_smp_mflags} EXTRA_FLAGS="$RPM_OPT_FLAGS" \ - CXXFLAGS+="$RPM_OPT_FLAGS" \ - CC_COMPILER="%__cxx" \ - CC_LINKER="%__cxx" \ - CXX="%__cxx" -popd autoreconf -v --install --force %configure --prefix=/usr make %{_smp_mflags} diff --git a/correct-no-return-in-non-void.patch b/correct-no-return-in-non-void.patch deleted file mode 100644 index dc285f3..0000000 --- a/correct-no-return-in-non-void.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/BipartiteGraphPartialColoring/BipartiteGraphPartialColoring.cpp b/BipartiteGraphPartialColoring/BipartiteGraphPartialColoring.cpp -index 81e3c81..8a8f762 100755 ---- a/BipartiteGraphPartialColoring/BipartiteGraphPartialColoring.cpp -+++ b/BipartiteGraphPartialColoring/BipartiteGraphPartialColoring.cpp -@@ -564,6 +564,7 @@ namespace ColPack - - } - -+ return ( _TRUE ); - } - - //Public Function 2456 -diff --git a/BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp b/BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp -index f6adb58..b90f5b6 100644 ---- a/BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp -+++ b/BipartiteGraphPartialColoring/BipartiteGraphPartialOrdering.cpp -@@ -537,6 +537,7 @@ namespace ColPack - } - } - cout<<"OUT ROW_SMALLEST_LAST_OMP()"<<endl<<flush; -+ return(_TRUE); - } - - //Public Function 2359 -@@ -926,6 +927,7 @@ namespace ColPack - } - } - cout<<"OUT COLUMN_SMALLEST_LAST_OMP()"<<endl<<flush; -+ return(_TRUE); - } - - -diff --git a/Utilities/extra.cpp b/Utilities/extra.cpp -index 3228b08..078b6a5 100755 ---- a/Utilities/extra.cpp -+++ b/Utilities/extra.cpp -@@ -262,6 +262,7 @@ int displayGraph(ColPack::GraphColoring &g) { - //command="xdot -f fdp "; - command = command + fileName; - system(command.c_str()); -+ return(_TRUE); - } - - int buildDotWithoutColor(ColPack::GraphColoring &g, vector<string> &ListOfColors, string fileName) {