Dear maintainer,

I've prepared an NMU for preprepare (versioned as 0.4-1.1) and
uploaded it to DELAYED/2.

(Sorry for the previous wrong message.)

Regards.
diff -u preprepare-0.4/debian/rules preprepare-0.4/debian/rules
--- preprepare-0.4/debian/rules
+++ preprepare-0.4/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/preprepare-8.3
 TGT84  = $(CURDIR)/debian/preprepare-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-preprepare
+	mkdir -p $(TGT84)
 
 	cd $(TGT84) && $(MAKE) -f $(SRCDIR)/Makefile CFLAGS="$(CFLAGS)" PG_CONFIG="$(PG_CFG84)" VPATH="$(SRCDIR)"
 	dh_install -ppostgresql-8.4-preprepare
reverted:
--- preprepare-0.4/debian/postgresql-8.3-preprepare.dirs
+++ preprepare-0.4.orig/debian/postgresql-8.3-preprepare.dirs
@@ -1,2 +0,0 @@
-usr/lib/postgresql/8.3/lib
-usr/share/postgresql/8.3/contrib
reverted:
--- preprepare-0.4/debian/postgresql-8.3-preprepare.install
+++ preprepare-0.4.orig/debian/postgresql-8.3-preprepare.install
@@ -1,2 +0,0 @@
-debian/preprepare-8.3/pre_prepare.so usr/lib/postgresql/8.3/lib
-debian/preprepare-8.3/pre_prepare.sql usr/share/postgresql/8.3/contrib
diff -u preprepare-0.4/debian/control preprepare-0.4/debian/control
--- preprepare-0.4/debian/control
+++ preprepare-0.4/debian/control
@@ -2,17 +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-preprepare
-Architecture: any
-Depends: ${shlibs:Depends}, postgresql-8.3
-Description: Pre Prepare your Statement server side
- The +pre_prepare+ module aims to prepare all your statements as soon as
- possible and in a way that allows client queries not to bother at all and
- just call EXECUTE.
-
 Package: postgresql-8.4-preprepare
 Architecture: any
 Depends: ${shlibs:Depends}, postgresql-8.4
diff -u preprepare-0.4/debian/changelog preprepare-0.4/debian/changelog
--- preprepare-0.4/debian/changelog
+++ preprepare-0.4/debian/changelog
@@ -1,3 +1,12 @@
+preprepare (0.4-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: #559611
+
+ -- Sandro Tosi <mo...@debian.org>  Thu, 18 Feb 2010 15:08:52 +0100
+
 preprepare (0.4-1) unstable; urgency=low
 
   * Better support for GUC options
reverted:
--- preprepare-0.4/debian/postgresql-8.3-preprepare.docs
+++ preprepare-0.4.orig/debian/postgresql-8.3-preprepare.docs
@@ -1 +0,0 @@
-README

Reply via email to