Control: tag -1 patch

Re: Ansgar Burchardt 2014-08-07 <87ppgcptsg....@deep-thought.43-1.org>
> Source: postgresql-debversion
> Version: 1.0.7-3
> Severity: serious
> X-Debbugs-Cc: pkg-postgresql-pub...@lists.alioth.debian.org
> 
> [ CCed the PostgreSQL maintainers as I remembering them updating other
>   extensions. ]
> 
> The default version for PostgreSQL in Jessie is 9.4, but the debversion
> extension is only available for version 9.3.

Hi,

thanks for filing the bug, I was a behind on informing the other
maintainers while updating my own packages. Sorry for that.

The package in git is almost ready to be postgresql-version-agnostic,
there were just a few references to "9.3" left. The attached patch
fixes that.

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/
commit c6d2a2f72b93d6415126aa36482dd85cf2630c64
Author: Christoph Berg <m...@debian.org>
Date:   Thu Aug 7 20:24:16 2014 +0200

    Remove static postgresql version references from debian/.

diff --git a/debian/postgresql-9.3-debversion.docs b/debian/postgresql-9.3-debversion.docs
deleted file mode 100644
index 8913f46..0000000
--- a/debian/postgresql-9.3-debversion.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-NEWS
-README.md
diff --git a/debian/postgresql-9.3-debversion.install b/debian/postgresql-9.3-debversion.install
deleted file mode 100644
index 2f907db..0000000
--- a/debian/postgresql-9.3-debversion.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/install-9.3/usr/lib/postgresql/9.3/lib/debversion.so  usr/lib/postgresql/9.3/lib
-debian/install-9.3/usr/share/postgresql                      usr/share
diff --git a/debian/rules b/debian/rules
index 748b7f6..7600917 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,12 +35,12 @@ override_dh_auto_clean:
 	done
 
 override_dh_auto_install:
-	$(MAKE) -C debian/build-9.3 DESTDIR=$(CURDIR)/debian/install-9.3 install
-
-override_dh_installchangelogs:
-	dh_installchangelogs ChangeLog
+	set -e; for v in $(SUPPORTED_VERSIONS); do \
+	  $(MAKE) -C debian/build-$$v DESTDIR=$(CURDIR)/debian/postgresql-$$v-debversion install; \
+	done
+	find debian -name '*.la' | xargs -r rm
 
 override_dh_installdocs:
 	dh_installdocs --all NEWS README.md
 
-.PHONY: override_dh_auto_configure override_dh_auto_clean override_dh_auto_build override_dh_auto_install override_dh_installchangelogs override_dh_installdocs
+.PHONY: override_dh_auto_configure override_dh_auto_clean override_dh_auto_build override_dh_auto_install override_dh_installdocs

Attachment: signature.asc
Description: Digital signature

Reply via email to