[Git][debian-gis-team/postgis][experimental] 2 commits: Update dh_install -a override to use --list-missing.

Bas Couwenberg gitlab at salsa.debian.org
Sun May 26 18:54:01 BST 2019



Bas Couwenberg pushed to branch experimental at Debian GIS Project / postgis


Commits:
6da1dadf by Bas Couwenberg at 2019-05-26T16:22:39Z
Update dh_install -a override to use --list-missing.

- - - - -
56c42541 by Bas Couwenberg at 2019-05-26T17:35:07Z
Move binaries to postgis binary package.

Remove README files before dh_install.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+postgis (3.0.0~alpha1+dfsg-1~exp2) UNRELEASED; urgency=medium
+
+  * Update dh_install -a override to use --list-missing.
+  * Move binaries to postgis binary package.
+  * Remove README files before dh_install.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Sun, 26 May 2019 18:22:12 +0200
+
 postgis (3.0.0~alpha1+dfsg-1~exp1) experimental; urgency=medium
 
   * New upstream alpha release.


=====================================
debian/rules
=====================================
@@ -278,10 +278,10 @@ override_dh_auto_install-arch:
 			> $(CURDIR)/debian/postgresql-$$PGVER-postgis-$(MAJOR_VERSION).$(MINOR_VERSION)-scripts.install; \
 	done)
 
-#	Copy binaries from the NEWEST_POSTGRES_VERSION build to the
+#	Move binaries from the NEWEST_POSTGRES_VERSION build to the
 #	'postgis' binary package.
 	mkdir -p $(CURDIR)/debian/postgis/usr/bin
-	cp -r $(CURDIR)/debian/tmp/usr/lib/postgresql/$(NEWEST_POSTGRES_VERSION)/bin/* \
+	mv $(CURDIR)/debian/tmp/usr/lib/postgresql/$(NEWEST_POSTGRES_VERSION)/bin/* \
 		$(CURDIR)/debian/postgis/usr/bin/
 
 #	Move GUI binaries to 'postgis-gui' binary package
@@ -296,7 +296,11 @@ override_dh_auto_install-arch:
 		$(CURDIR)/debian/postgis-gui/usr/share/
 
 override_dh_install-arch:
-	dh_install -a
+	$(RM) $(CURDIR)/debian/tmp/usr/lib/postgresql/*/bin/*
+	$(RM) $(CURDIR)/debian/tmp/usr/share/doc/postgis/README.postgis
+	$(RM) $(CURDIR)/debian/tmp/usr/share/doc/postgresql-doc-*/extension/README.address_standardizer
+
+	dh_install -a --list-missing
 
 override_dh_makeshlibs:
 	dh_makeshlibs -Xusr/lib/postgis -- -v$(UPSTREAM_VERSION)



View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/compare/47725d2ed2939cdb2623fb7ec6e7928d1d83b254...56c425417f15afaaa862ad6c75ffdcdc61eb0ca2

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/postgis/compare/47725d2ed2939cdb2623fb7ec6e7928d1d83b254...56c425417f15afaaa862ad6c75ffdcdc61eb0ca2
You're receiving this email because of your account on salsa.debian.org.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190526/c9af3142/attachment-0001.html>


More information about the Pkg-grass-devel mailing list