Change for debian
This commit is contained in:
parent
986794ad7f
commit
847b0234c7
@ -125,7 +125,7 @@ from origin/upstream and origin/pristine.
|
||||
* Staying into git root directory, run
|
||||
> git-import-orig -vv ../tcpdf_x.y.z+dfsg.orig.tar.xz
|
||||
|
||||
Note: If there was errors managed manually, you may need to make a git commit
|
||||
Note: If there was errors solved manually, you may need to make a git commit
|
||||
|
||||
* Add an entry into debian/changelog
|
||||
> dh "My comment" will add entry.
|
||||
@ -170,3 +170,21 @@ from git clone dir and make link to git.
|
||||
* If local branch upstream and pristine-tar does not exists, create it
|
||||
from origin/upstream and origin/pristine.
|
||||
|
||||
* If new upstream is available onto sourceforge, launch:
|
||||
> debian/get-orig-source.sh
|
||||
otherwise, just unzip the official .tgz into workspace dir.
|
||||
|
||||
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
|
||||
|
||||
* Add an entry into debian/changelog
|
||||
> dh "My comment" will add entry.
|
||||
For example: dch -v x.y.z-1 "New upstream release." for a new version
|
||||
|
||||
Warning: Date must have format reported by "date -R"
|
||||
Warning: Entry added here is used by next step. Name and email must match value into debian/control file.
|
||||
|
||||
* We try to build package
|
||||
> git-buildpackage -us -uc
|
||||
|
||||
|
||||
|
||||
|
||||
@ -12,8 +12,8 @@ uscan --noconf --force-download --no-symlink --verbose --destdir=$tmpdir $uscan_
|
||||
|
||||
cd $tmpdir
|
||||
|
||||
tgzfile=$(echo *.tar.gz)
|
||||
version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr_//; s/\.zip$//; s/_/./g; s/\+nmu1//; s/$/+dfsg/;')
|
||||
tgzfile=$(echo *.tgz)
|
||||
version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr_//; s/\.zip$//; s/_/./g; s/\+nmu1//; ')
|
||||
|
||||
# Extract the zip file
|
||||
tar -xvf $tgzfile
|
||||
|
||||
@ -2,4 +2,4 @@
|
||||
version=3
|
||||
|
||||
#http://sf.net/dolibarr/dolibarr-(.+)\.tgz
|
||||
http://www.dolibarr.org/files/stable/package_debian-ubuntu/dolibarr_(.+)\.tar\.gz
|
||||
http://www.dolibarr.org/files/stable/standard/dolibarr_(.+)\.tgz
|
||||
|
||||
Loading…
Reference in New Issue
Block a user