Change for debian
This commit is contained in:
parent
986794ad7f
commit
f5717c7384
@ -125,7 +125,7 @@ from origin/upstream and origin/pristine.
|
|||||||
* Staying into git root directory, run
|
* Staying into git root directory, run
|
||||||
> git-import-orig -vv ../tcpdf_x.y.z+dfsg.orig.tar.xz
|
> 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
|
* Add an entry into debian/changelog
|
||||||
> dh "My comment" will add entry.
|
> 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
|
* If local branch upstream and pristine-tar does not exists, create it
|
||||||
from origin/upstream and origin/pristine.
|
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,7 +12,7 @@ uscan --noconf --force-download --no-symlink --verbose --destdir=$tmpdir $uscan_
|
|||||||
|
|
||||||
cd $tmpdir
|
cd $tmpdir
|
||||||
|
|
||||||
tgzfile=$(echo *.tar.gz)
|
tgzfile=$(echo *.tgz)
|
||||||
version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr_//; s/\.zip$//; s/_/./g; s/\+nmu1//; s/$/+dfsg/;')
|
version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr_//; s/\.zip$//; s/_/./g; s/\+nmu1//; s/$/+dfsg/;')
|
||||||
|
|
||||||
# Extract the zip file
|
# Extract the zip file
|
||||||
|
|||||||
@ -2,4 +2,4 @@
|
|||||||
version=3
|
version=3
|
||||||
|
|
||||||
#http://sf.net/dolibarr/dolibarr-(.+)\.tgz
|
#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