Adds the orig file in the debbuild directory.
Problem of the changelog version number that must follow the svn tag.
This commit is contained in:
parent
67af923d4f
commit
db7409465f
|
@ -537,9 +537,12 @@ class ProjectBuilder:
|
||||||
os.makedirs ( self._debbuildDir )
|
os.makedirs ( self._debbuildDir )
|
||||||
|
|
||||||
os.chdir ( 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" )
|
self._execute ( command, "Unpacking pristine sources" )
|
||||||
|
|
||||||
#command = [ "/bin/cp", "-r", self._debianDir, "." ]
|
#command = [ "/bin/cp", "-r", self._debianDir, "." ]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
coriolis2 (1.0.1881-1) unstable; urgency=low
|
coriolis2 (1.0.1898-1) unstable; urgency=low
|
||||||
|
|
||||||
* Initial release. Closes: #00001
|
* Initial release. Closes: #00001
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue