mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-09 15:56:58 +02:00
Merge debian packaging fixes for 3.1.0.
This commit is contained in:
commit
2dd39a33e2
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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
9
debian/rules
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user