From db7409465fdb8195625df899926c5d59d1023f16 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Wed, 2 Feb 2011 12:56:49 +0000 Subject: [PATCH] Adds the orig file in the debbuild directory. Problem of the changelog version number that must follow the svn tag. --- bootstrap/buildCoriolis.py | 7 +++++-- bootstrap/debian/changelog | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bootstrap/buildCoriolis.py b/bootstrap/buildCoriolis.py index 435cd355..6d38a902 100755 --- a/bootstrap/buildCoriolis.py +++ b/bootstrap/buildCoriolis.py @@ -537,9 +537,12 @@ class ProjectBuilder: os.makedirs ( self._debbuildDir ) os.chdir ( self._debbuildDir ) - sourceFile = os.path.join ( self._tarballDir, self._sourceTarBz2 ) + sourceFile = os.path.join ( self._tarballDir, self._sourceTarBz2 ) + debOrigFile = os.path.join ( self._tarballDir, "coriolis2_1.0.%s.orig.tar.bz2" % self._svnTag ) + if not os.paths.islink(debOrigFile): + os.link ( sourceFile, debOrigFile ) - command = [ "/bin/tar", "jxf", sourceFile ] + command = [ "/bin/tar", "jxf", debOrigFile ] self._execute ( command, "Unpacking pristine sources" ) #command = [ "/bin/cp", "-r", self._debianDir, "." ] diff --git a/bootstrap/debian/changelog b/bootstrap/debian/changelog index 575873f9..8d50ff59 100644 --- a/bootstrap/debian/changelog +++ b/bootstrap/debian/changelog @@ -1,4 +1,4 @@ -coriolis2 (1.0.1881-1) unstable; urgency=low +coriolis2 (1.0.1898-1) unstable; urgency=low * Initial release. Closes: #00001