[med-svn] r23115 - trunk/packages/epigrass/trunk/debian

Andreas Tille tille at moszumanska.debian.org
Sat Nov 19 15:57:30 UTC 2016


Author: tille
Date: 2016-11-19 15:57:28 +0000 (Sat, 19 Nov 2016)
New Revision: 23115

Modified:
   trunk/packages/epigrass/trunk/debian/changelog
   trunk/packages/epigrass/trunk/debian/rules
Log:
  * Remove copy of doc in binary package
  * hardening=+all



Modified: trunk/packages/epigrass/trunk/debian/changelog
===================================================================
--- trunk/packages/epigrass/trunk/debian/changelog	2016-11-19 08:45:29 UTC (rev 23114)
+++ trunk/packages/epigrass/trunk/debian/changelog	2016-11-19 15:57:28 UTC (rev 23115)
@@ -1,4 +1,4 @@
-epigrass (2.4.7-1) UNRELEASED; urgency=medium
+epigrass (2.4.7-1) unstable; urgency=medium
 
   * New upstream version
   * Rebuild
@@ -7,8 +7,10 @@
   * d/watch: version=4
   * New Build-Depends: cython, s/python/python-dev/
   * d/control: s/Architecture: all/Architecture: any/
+  * Remove copy of doc in binary package
+  * hardening=+all
 
- -- Andreas Tille <tille at debian.org>  Sat, 19 Nov 2016 09:03:01 +0100
+ -- Andreas Tille <tille at debian.org>  Sat, 19 Nov 2016 09:50:45 +0100
 
 epigrass (2.4.3-1) unstable; urgency=medium
 

Modified: trunk/packages/epigrass/trunk/debian/rules
===================================================================
--- trunk/packages/epigrass/trunk/debian/rules	2016-11-19 08:45:29 UTC (rev 23114)
+++ trunk/packages/epigrass/trunk/debian/rules	2016-11-19 15:57:28 UTC (rev 23115)
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
-export PYBUILD_DESTDIR=debian/epigrass
+DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+export PYBUILD_DESTDIR=debian/$(DEBPKGNAME)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
 	dh $@ --with python2 --buildsystem=pybuild
@@ -9,7 +11,11 @@
 	dh_auto_install -- --after-install='mv {destdir}/{install_dir}/Epigrass/egicon.png {destdir}/usr/share/pixmaps/epigrass.png; \
 					    ln -s /usr/share/pixmaps/epigrass.png {destdir}/{install_dir}/Epigrass/egicon.png'
 
+override_dh_installdocs:
+	# no idea why doc is installed in main package as well - just remove this copy
+	dh_installdocs
+	rm debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/Epigrass.pdf*
+
 get-orig-source:
 	mkdir -p ../tarballs
 	uscan --verbose --force-download --destdir=../tarballs
-




More information about the debian-med-commit mailing list