diff -Nru /tmp/gimmeKVPyz/cppopt-0.0.2/debian/changelog /tmp/uXh7abYYCW/cppopt-0.0.2/debian/changelog --- /tmp/gimmeKVPyz/cppopt-0.0.2/debian/changelog 2005-06-03 20:41:16.611214427 +0200 +++ /tmp/uXh7abYYCW/cppopt-0.0.2/debian/changelog 2005-06-03 20:41:16.685201744 +0200 @@ -1,3 +1,9 @@ +cppopt (0.0.2-3ubuntu1) breezy; urgency=low + + * Cxx transition: cppopt renamed libcppopt0 to libcppopt0c2 + + -- Daniel Neuenschwander Fri, 3 Jun 2005 20:23:14 +0200 + cppopt (0.0.2-3) unstable; urgency=low * Explicitly remove configure, config.h.in and Makefile.in in the clean diff -Nru /tmp/gimmeKVPyz/cppopt-0.0.2/debian/control /tmp/uXh7abYYCW/cppopt-0.0.2/debian/control --- /tmp/gimmeKVPyz/cppopt-0.0.2/debian/control 2005-06-03 20:41:16.610214599 +0200 +++ /tmp/uXh7abYYCW/cppopt-0.0.2/debian/control 2005-06-03 20:41:16.685201744 +0200 @@ -8,7 +8,7 @@ Package: libcppopt-dev Section: libdevel Architecture: any -Depends: libcppopt0 (= ${Source-Version}), libc6-dev +Depends: libcppopt0c2 (= ${Source-Version}), libc6-dev Description: C++ option parsing library header files The cppopt library provides functions similar to those found in getopt or libpopt, except that it makes use of STL maps and other C++ @@ -17,10 +17,12 @@ This package provides the header files and .so symlink required to compile programs against libcppopt. -Package: libcppopt0 +Package: libcppopt0c2 Section: libs Architecture: any Depends: ${shlibs:Depends} +Replaces: libcppopt0 +Conflicts: libcppopt0 Description: C++ option parsing library The cppopt library provides functions similar to those found in getopt or libpopt, except that it makes use of STL maps and other C++ diff -Nru /tmp/gimmeKVPyz/cppopt-0.0.2/debian/libcppopt0c2.dirs /tmp/uXh7abYYCW/cppopt-0.0.2/debian/libcppopt0c2.dirs --- /tmp/gimmeKVPyz/cppopt-0.0.2/debian/libcppopt0c2.dirs 1970-01-01 01:00:00.000000000 +0100 +++ /tmp/uXh7abYYCW/cppopt-0.0.2/debian/libcppopt0c2.dirs 2005-06-03 20:41:16.685201744 +0200 @@ -0,0 +1,3 @@ +usr/lib +usr/include +usr/share/lintian/overrides diff -Nru /tmp/gimmeKVPyz/cppopt-0.0.2/debian/libcppopt0c2.docs /tmp/uXh7abYYCW/cppopt-0.0.2/debian/libcppopt0c2.docs --- /tmp/gimmeKVPyz/cppopt-0.0.2/debian/libcppopt0c2.docs 1970-01-01 01:00:00.000000000 +0100 +++ /tmp/uXh7abYYCW/cppopt-0.0.2/debian/libcppopt0c2.docs 2005-06-03 20:41:16.685201744 +0200 @@ -0,0 +1,2 @@ +README +TODO diff -Nru /tmp/gimmeKVPyz/cppopt-0.0.2/debian/libcppopt0c2.overrides /tmp/uXh7abYYCW/cppopt-0.0.2/debian/libcppopt0c2.overrides --- /tmp/gimmeKVPyz/cppopt-0.0.2/debian/libcppopt0c2.overrides 1970-01-01 01:00:00.000000000 +0100 +++ /tmp/uXh7abYYCW/cppopt-0.0.2/debian/libcppopt0c2.overrides 2005-06-03 20:41:16.684201915 +0200 @@ -0,0 +1 @@ +libcppopt0: postrm-calls-ldconfig diff -Nru /tmp/gimmeKVPyz/cppopt-0.0.2/debian/rules /tmp/uXh7abYYCW/cppopt-0.0.2/debian/rules --- /tmp/gimmeKVPyz/cppopt-0.0.2/debian/rules 2005-06-03 20:41:16.611214427 +0200 +++ /tmp/uXh7abYYCW/cppopt-0.0.2/debian/rules 2005-06-03 20:41:16.685201744 +0200 @@ -6,7 +6,7 @@ # shared library versions, option 1 version=0.0.2 -major=0 +major=0c2 # option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so #version=`ls src/.libs/lib*.so.* | \ # awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` @@ -15,6 +15,22 @@ CXXFLAGS='-O3' +patch: patch-stamp +patch-stamp: + dh_testdir + + patch -p1 < debian/patches/libcppopt0_c2_patch.diff + + touch patch-stamp + +unpatch: unpatch-stamp +unpatch-stamp: patch-stamp + dh_testdir + + patch -p1 -R < debian/patches/libcppopt0_c2_patch.diff + + rm -f patch-stamp + preconfigure: preconfigure-stamp preconfigure-stamp: dh_testdir