tag 559609 patch thanks Please find the trivial patch attached. I have an NMU at the ready if necessary.
Cheers Arthur
commit 5772b661ee50b0ca2923cf3f88860cedad00027e Author: Obey Arthur Liu <art...@milliways.fr> Date: Sat Apr 3 00:02:27 2010 +0200 Drop PostgreSQL 8.3 support (closes: #559609) diff --git a/debian/control b/debian/control index 199a319..dd7b0d9 100644 --- a/debian/control +++ b/debian/control @@ -2,19 +2,10 @@ Source: hstore-new Section: database Priority: extra Maintainer: Dimitri Fontaine <d...@tapoueh.org> -Build-Depends: debhelper (>= 7), postgresql-server-dev-8.3, postgresql-server-dev-8.4 +Build-Depends: debhelper (>= 7), postgresql-server-dev-8.4 Homepage: http://hstore-new.projects.postgresql.org/ Standards-Version: 3.8.3 -Package: postgresql-8.3-hstore-new -Architecture: any -Depends: ${shlibs:Depends}, postgresql-8.3 -Description: PostgreSQL data type for storing sets of (key,value) pairs - This module is an enhanced version of the hstore type from contrib/hstore, - intended to allow the new features to be used in existing PostgreSQL - versions. (This code is being submitted for inclusion in future versions, - but I have had requests to backport the functionality.) - Package: postgresql-8.4-hstore-new Architecture: any Depends: ${shlibs:Depends}, postgresql-8.4 diff --git a/debian/postgresql-8.3-hstore-new.dirs b/debian/postgresql-8.3-hstore-new.dirs deleted file mode 100644 index 34c57ba..0000000 --- a/debian/postgresql-8.3-hstore-new.dirs +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/postgresql/8.3/lib -usr/share/postgresql/8.3/contrib diff --git a/debian/postgresql-8.3-hstore-new.docs b/debian/postgresql-8.3-hstore-new.docs deleted file mode 100644 index 0d5c87b..0000000 --- a/debian/postgresql-8.3-hstore-new.docs +++ /dev/null @@ -1 +0,0 @@ -README.hstore-new diff --git a/debian/postgresql-8.3-hstore-new.install b/debian/postgresql-8.3-hstore-new.install deleted file mode 100644 index 285fc62..0000000 --- a/debian/postgresql-8.3-hstore-new.install +++ /dev/null @@ -1,3 +0,0 @@ -usr/lib/postgresql/8.3/lib/hstore-new.so usr/lib/postgresql/8.3/lib -usr/share/postgresql/8.3/contrib/hstore-new.sql usr/share/postgresql/8.3/contrib -usr/share/postgresql/8.3/contrib/uninstall_hstore-new.sql usr/share/postgresql/8.3/contrib diff --git a/debian/rules b/debian/rules index 4525783..01667b9 100755 --- a/debian/rules +++ b/debian/rules @@ -1,32 +1,24 @@ #!/usr/bin/make -f -PG_CFG83 = /usr/lib/postgresql/8.3/bin/pg_config -PGXS83 = $(shell $(PG_CFG83) --pgxs) -CFLAGS83 = $(shell $(PG_CFG83) --cflags) - PG_CFG84 = /usr/lib/postgresql/8.4/bin/pg_config PGXS84 = $(shell $(PG_CFG84) --pgxs) CFLAGS84 = $(shell $(PG_CFG84) --cflags) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS83 += -O0 CFLAGS84 += -O0 else - CFLAGS83 += -O2 CFLAGS84 += -O2 endif SRCDIR = $(CURDIR) -TGT83 = $(CURDIR)/debian/hstore-8.3 TGT84 = $(CURDIR)/debian/hstore-8.4 clean: dh_testdir dh_testroot - $(MAKE) clean PG_CONFIG="$(PG_CFG83)" $(MAKE) clean PG_CONFIG="$(PG_CFG84)" rm -rf $(CURDIR)/debian/usr $(CURDIR)/debian/postgresql-*-hstore-new - rm -rf $(TGT83) $(TGT84) + rm -rf $(TGT84) dh_clean install: build @@ -35,15 +27,10 @@ install: build dh_prep dh_installdirs - mkdir -p $(TGT83) $(TGT84) - cp $(SRCDIR)/uninstall_hstore-new.sql $(TGT83) - cp $(SRCDIR)/README.hstore-new $(TGT83) + mkdir -p $(TGT84) cp $(SRCDIR)/uninstall_hstore-new.sql $(TGT84) cp $(SRCDIR)/README.hstore-new $(TGT84) - cd $(TGT83) && $(MAKE) -f $(SRCDIR)/Makefile CFLAGS="$(CFLAGS)" PG_CONFIG="$(PG_CFG83)" VPATH="$(SRCDIR)" DESTDIR=$(CURDIR)/debian install - dh_install --sourcedir=$(CURDIR)/debian -ppostgresql-8.3-hstore-new - cd $(TGT84) && $(MAKE) -f $(SRCDIR)/Makefile CFLAGS="$(CFLAGS)" PG_CONFIG="$(PG_CFG84)" VPATH="$(SRCDIR)" DESTDIR=$(CURDIR)/debian install dh_install --sourcedir=$(CURDIR)/debian -ppostgresql-8.4-hstore-new