Adjust for new .xz dist format.

This commit is contained in:
Bastian Kleineidam 2012-09-02 23:44:16 +02:00
parent 3838eb7510
commit 0dc2efea68
3 changed files with 6 additions and 5 deletions

View file

@ -15,7 +15,7 @@ TESTOPTS=
PAGER ?= less
# build dir for debian package
BUILDDIR:=$(HOME)/projects/debian/official
DEB_ORIG_TARGET:=$(BUILDDIR)/linkchecker_$(VERSION).orig.tar.bz2
DEB_ORIG_TARGET:=$(BUILDDIR)/linkchecker_$(VERSION).orig.tar.xz
# original dnspython repository module
DNSPYTHON:=$(HOME)/src/dnspython-git
# options to run the pep8 utility
@ -85,7 +85,7 @@ localbuild: MANIFEST locale
deb_orig:
if [ ! -e $(DEB_ORIG_TARGET) ]; then \
$(MAKE) dist-stamp && \
cp dist/$(APPNAME)-$(VERSION).tar.bz2 $(DEB_ORIG_TARGET); \
cp dist/$(APPNAME)-$(VERSION).tar.xz $(DEB_ORIG_TARGET); \
fi
.PHONY: upload
@ -121,6 +121,7 @@ chmod:
.PHONY: dist
dist: locale MANIFEST chmod
rm -f dist/$(APPNAME)-$(VERSION).tar.xz
$(PYTHON) setup.py sdist --formats=tar
xz dist/$(APPNAME)-$(VERSION).tar
# no rpm buildable with bdist_rpm, presumable due to this bug:
@ -230,7 +231,7 @@ releasecheck: check
.PHONY: sign_distfiles
sign_distfiles:
for f in $(shell find dist -name *.bz2 -o -name *.exe -o -name *.zip -o -name *.dmg); do \
for f in $(shell find dist -name *.xz -o -name *.exe -o -name *.zip -o -name *.dmg); do \
[ -f $${f}.asc ] || gpg --detach-sign --armor $$f; \
done

2
debian/watch vendored
View file

@ -1,3 +1,3 @@
# watch control file for uscan
version=3
http://sf.net/linkchecker/LinkChecker-(.*).tar.bz2 debian uupdate
http://sf.net/linkchecker/LinkChecker-(.*).tar.xz debian uupdate

View file

@ -6,7 +6,7 @@ Unix systems and in source format.
The `.asc` are GPG signatures that you can use to verify the download.
For example download the `.asc` file in the same directory as the
`.tar.bz2` file and run `gpg --verify {APPNAME}-{VERSION}.tar.bz2`
`.tar.xz` file and run `gpg --verify {APPNAME}-{VERSION}.tar.xz`
The GPG key used to sign these packages is 32EC6F3E. It can be
downloaded with `gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E`.