Merge debian packaging fixes for 3.1.0.

This commit is contained in:
Dimitri Fontaine 2014-09-22 21:12:57 +02:00
commit 2dd39a33e2
2 changed files with 14 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pgloader (3.1.0+dfsg-2) unstable; urgency=medium
* Fix building on i386 machines, using 1GB of dynamic space there.
-- Dimitri Fontaine <dim@tapoueh.org> Mon, 22 Sep 2014 23:04:18 +0400
pgloader (3.1.0+dfsg-1) unstable; urgency=medium
* Stable release of the new pgloader version, 3.1

9
debian/rules vendored
View File

@ -12,6 +12,13 @@
PKGVERS = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Version:/ { print substr($$2, 2) }')
EXCLUDE = --exclude-vcs --exclude=debian --exclude=build --exclude=.vagrant
BITS = $(shell dpkg-architecture -qDEB_BUILD_ARCH_BITS)
ifeq ($(BITS),32)
SIZE=1024
else
SIZE=4096
endif
orig: clean
cd .. && tar czf pgloader_$(PKGVERS).orig.tar.gz $(EXCLUDE) pgloader
@ -29,7 +36,7 @@ override_dh_auto_build:
--load-system pgloader \
--load src/hooks.lisp \
--entry pgloader:main \
--dynamic-space-size 4096 \
--dynamic-space-size $(SIZE) \
--compress-core \
--output build/bin/pgloader