From 69822d22acd6f003cd318fa7fd66046e9fff65ca Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 17 Feb 2010 01:06:38 +0000 Subject: [PATCH 1/3] Initialize branch F-13 for cppad --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..baa94ef --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-13 From c6881981f6194e4b1395af7c0d5a5b984ab24eb8 Mon Sep 17 00:00:00 2001 From: "Bradley M. Bell" Date: Thu, 1 Apr 2010 03:30:55 +0000 Subject: [PATCH 2/3] copy changes from devel branch --- .cvsignore | 2 +- cppad.spec | 22 +++++++--------------- sources | 2 +- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.cvsignore b/.cvsignore index 423a1ef..d86ec6a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -cppad-20100101.0.gpl.tgz +cppad-20100101.2.gpl.tgz diff --git a/cppad.spec b/cppad.spec index 9fa3367..b7727d7 100644 --- a/cppad.spec +++ b/cppad.spec @@ -11,8 +11,8 @@ # ---------------------------------------------------------------------------- Name: cppad -Version: 20100101.0 -Release: 2%{?dist} +Version: 20100101.2 +Release: 1%{?dist} Summary: No base package is installed, see %{name}-devel Group: Development/Libraries @@ -58,19 +58,6 @@ as a single web page, in both html and xml, can be found at that web site. %prep %setup -q -# Bug fix in revision https://projects.coin-or.org/CppAD/changeset/1647 -if [ %{version} != "20100101.0" ] -then - echo "This bug fix should no longer be necessary" - exit 1 -fi -# -sed -i cppad/local/optimize.hpp \ --e 's|(new_arg\[0\] == tape\[k\].new_var );|(new_arg[0] == tape[k].new_var )|' -# -sed -i cppad/local/print_op.hpp \ --e 's|( arg\[1\] < i_z );|( arg\[1\] <= i_z );|' - # change example/example.cpp to print out machine epsilon cat << EOF > example.sed /^int main(void)/N @@ -131,6 +118,11 @@ rm -rf $RPM_BUILD_ROOT # ---------------------------------------------------------------------------- %changelog +* Wed Mar 31 2010 Brad Bell - 20100101.2-1 +- Use new upstream source with bug fixes at revision +- https://projects.coin-or.org/CppAD/changeset/1664 +- and remove patch from Wed Feb 10 2010. + * Wed Feb 10 2010 Brad Bell - 20100101.0-2 - Patch sources for bug fix between 20100101.0 and 20100101.1. - This should no longer be necessary once a new upstream source is loaded. diff --git a/sources b/sources index 57369ac..551ef91 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4886174196fbd7745f30ec3c320a6975 cppad-20100101.0.gpl.tgz +9947413be80ab9e8fb3a7b225c144d63 cppad-20100101.2.gpl.tgz From 617af29d085bc7423a1da47a0611ed1aa8bb8150 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 12:14:46 +0000 Subject: [PATCH 3/3] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index cfaf8f0..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: cppad -# $Id$ -NAME := cppad -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index baa94ef..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-13