tags 559610 + patch thanks Dear maintainer,
I've prepared an NMU for prefix (versioned as 1.1.0-1.1) and uploaded it to DELAYED/2. Regards.
diff -u prefix-1.1.0/debian/rules prefix-1.1.0/debian/rules --- prefix-1.1.0/debian/rules +++ prefix-1.1.0/debian/rules @@ -1,21 +1,16 @@ #!/usr/bin/make -f -PG_CFG83 = /usr/lib/postgresql/8.3/bin/pg_config PG_CFG84 = /usr/lib/postgresql/8.4/bin/pg_config -CFLAGS83 = $(shell $(PG_CFG83) --cflags) 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/prefix-8.3 TGT84 = $(CURDIR)/debian/prefix-8.4 build: @@ -23,9 +18,8 @@ clean: dh_testdir dh_testroot - $(MAKE) clean PG_CONFIG="$(PG_CFG83)" $(MAKE) clean PG_CONFIG="$(PG_CFG84)" - rm -rf $(TGT83) $(TGT84) + rm -rf $(TGT84) dh_clean install: build @@ -34,10 +28,7 @@ dh_clean -k dh_installdirs - mkdir -p $(TGT83) $(TGT84) - - cd $(TGT83) && $(MAKE) -f $(SRCDIR)/Makefile CFLAGS="$(CFLAGS)" PG_CONFIG="$(PG_CFG83)" VPATH="$(SRCDIR)" - dh_install -ppostgresql-8.3-prefix + mkdir -p $(TGT84) cd $(TGT84) && $(MAKE) -f $(SRCDIR)/Makefile CFLAGS="$(CFLAGS)" PG_CONFIG="$(PG_CFG84)" VPATH="$(SRCDIR)" dh_install -ppostgresql-8.4-prefix reverted: --- prefix-1.1.0/debian/postgresql-8.3-prefix.install +++ prefix-1.1.0.orig/debian/postgresql-8.3-prefix.install @@ -1,2 +0,0 @@ -debian/prefix-8.3/prefix.so usr/lib/postgresql/8.3/lib -debian/prefix-8.3/prefix.sql usr/share/postgresql/8.3/contrib reverted: --- prefix-1.1.0/debian/postgresql-8.3-prefix.dirs +++ prefix-1.1.0.orig/debian/postgresql-8.3-prefix.dirs @@ -1,2 +0,0 @@ -usr/lib/postgresql/8.3/lib -usr/share/postgresql/8.3/contrib reverted: --- prefix-1.1.0/debian/postgresql-8.3-prefix.docs +++ prefix-1.1.0.orig/debian/postgresql-8.3-prefix.docs @@ -1 +0,0 @@ -README.txt diff -u prefix-1.1.0/debian/control prefix-1.1.0/debian/control --- prefix-1.1.0/debian/control +++ prefix-1.1.0/debian/control @@ -2,23 +2,9 @@ Section: database Priority: extra Maintainer: Dimitri Fontaine <d...@tapoueh.org> -Build-Depends: debhelper (>= 5.0.0), postgresql-server-dev-8.3, postgresql-server-dev-8.4 +Build-Depends: debhelper (>= 5.0.0), postgresql-server-dev-8.4 Standards-Version: 3.8.3 -Package: postgresql-8.3-prefix -Architecture: any -Depends: ${shlibs:Depends}, postgresql-8.3 -Description: Prefix Range module for PostgreSQL - This PostgreSQL module provides the prefix_range datatype, which - allows to index searches such as finding the longest prefix matching - a telephone number, having prefixes in a table and telephone number - as a parameter: - . - select * from prefixes where prefix @> '0100091234'; - . - The prefix column has to be of type prefix_range, and any text field - can get indexed by the provided GiST opclass. - Package: postgresql-8.4-prefix Architecture: any Depends: ${shlibs:Depends}, postgresql-8.4 diff -u prefix-1.1.0/debian/changelog prefix-1.1.0/debian/changelog --- prefix-1.1.0/debian/changelog +++ prefix-1.1.0/debian/changelog @@ -1,3 +1,12 @@ +prefix (1.1.0-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/{control, postgresql-8.3*, rules} + - support only PostgreSQL 8.4, dropping support for 8.3; thanks to Martin + Pitt for the report; Closes: #559610 + + -- Sandro Tosi <mo...@debian.org> Thu, 18 Feb 2010 14:22:54 +0100 + prefix (1.1.0-1) unstable; urgency=high * Fix Btree opclass for supporting sub-ranges