mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-10 16:26: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
|
pgloader (3.1.0+dfsg-1) unstable; urgency=medium
|
||||||
|
|
||||||
* Stable release of the new pgloader version, 3.1
|
* 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) }')
|
PKGVERS = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Version:/ { print substr($$2, 2) }')
|
||||||
EXCLUDE = --exclude-vcs --exclude=debian --exclude=build --exclude=.vagrant
|
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
|
orig: clean
|
||||||
cd .. && tar czf pgloader_$(PKGVERS).orig.tar.gz $(EXCLUDE) pgloader
|
cd .. && tar czf pgloader_$(PKGVERS).orig.tar.gz $(EXCLUDE) pgloader
|
||||||
|
|
||||||
@ -29,7 +36,7 @@ override_dh_auto_build:
|
|||||||
--load-system pgloader \
|
--load-system pgloader \
|
||||||
--load src/hooks.lisp \
|
--load src/hooks.lisp \
|
||||||
--entry pgloader:main \
|
--entry pgloader:main \
|
||||||
--dynamic-space-size 4096 \
|
--dynamic-space-size $(SIZE) \
|
||||||
--compress-core \
|
--compress-core \
|
||||||
--output build/bin/pgloader
|
--output build/bin/pgloader
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user