[Python-modules-commits] r3728 - in /packages/pubtal/trunk/debian: changelog pubtal.links pubtal.manpages rules

rodrigogc-guest at users.alioth.debian.org rodrigogc-guest at users.alioth.debian.org
Sat Nov 24 02:08:46 UTC 2007


Author: rodrigogc-guest
Date: Sat Nov 24 02:08:45 2007
New Revision: 3728

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3728
Log:
* Move the removing of empty dirs after the call to dh_pycentral, since
 otherwise we still ship an empty /usr/lib.
* We have no shared libs, there's no need to call dh_strip and dh_shlibdeps.
* Use pubtal.manpages and pubtal.links files instead of manually specifying the
 filenames and manually linking them.

Added:
    packages/pubtal/trunk/debian/pubtal.links
    packages/pubtal/trunk/debian/pubtal.manpages
Modified:
    packages/pubtal/trunk/debian/changelog
    packages/pubtal/trunk/debian/rules

Modified: packages/pubtal/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/changelog?rev=3728&op=diff
==============================================================================
--- packages/pubtal/trunk/debian/changelog (original)
+++ packages/pubtal/trunk/debian/changelog Sat Nov 24 02:08:45 2007
@@ -1,8 +1,16 @@
 pubtal (3.2.0-3) UNRELEASED; urgency=low
 
+  [ Piotr Ożarowski ]
   * Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
 
- -- Piotr Ożarowski <piotr at debian.org>  Sat,  6 Oct 2007 23:46:47 +0200
+  [ Luis Rodrigo Gallardo Cruz ]
+  * Move the removing of empty dirs after the call to dh_pycentral, since
+  otherwise we still ship an empty /usr/lib.
+  * We have no shared libs, there's no need to call dh_strip and dh_shlibdeps.
+  * Use pubtal.manpages and pubtal.links files instead of manually specifying
+  the names, and instead of manually linking them.
+
+ -- Luis Rodrigo Gallardo Cruz <rodrigo at nul-unu.com>  Fri, 23 Nov 2007 19:53:57 -0600
 
 pubtal (3.2.0-2) unstable; urgency=low
 

Added: packages/pubtal/trunk/debian/pubtal.links
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/pubtal.links?rev=3728&op=file
==============================================================================
--- packages/pubtal/trunk/debian/pubtal.links (added)
+++ packages/pubtal/trunk/debian/pubtal.links Sat Nov 24 02:08:45 2007
@@ -1,0 +1,1 @@
+/usr/share/man/man1/updateSite.1.gz /usr/share/man/man1/uploadSite.1.gz

Added: packages/pubtal/trunk/debian/pubtal.manpages
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/pubtal.manpages?rev=3728&op=file
==============================================================================
--- packages/pubtal/trunk/debian/pubtal.manpages (added)
+++ packages/pubtal/trunk/debian/pubtal.manpages Sat Nov 24 02:08:45 2007
@@ -1,0 +1,1 @@
+updateSite.1

Modified: packages/pubtal/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pubtal/trunk/debian/rules?rev=3728&op=diff
==============================================================================
--- packages/pubtal/trunk/debian/rules (original)
+++ packages/pubtal/trunk/debian/rules Sat Nov 24 02:08:45 2007
@@ -22,7 +22,6 @@
 
 	python setup.py build
 	docbook-to-man debian/updateSite.sgml > updateSite.1
-	ln -s updateSite.1 uploadSite.1
 
 	touch build-stamp
 
@@ -32,11 +31,9 @@
 	rm -f build-stamp configure-stamp
 
 	python setup.py clean --all
+
 # For some reason the previous command creates a file, must erase it.
-	rm -f uploadSite.1 updateSite.1
-	rm -f lib/pubtal/__init__.pyc
-
-	dh_clean 
+	dh_clean lib/pubtal/__init__.pyc updateSite.1
 
 install: build
 	dh_testdir
@@ -51,23 +48,20 @@
 # Fix wrong execute permissions
 	find $(CURDIR)/debian/pubtal/usr/lib/ -name \*.py -exec chmod a-x {} \;
 
-# Delete empty dirs
-	find $(CURDIR)/debian/pubtal -depth -type d -empty -exec rmdir {} \;
-
 # Build architecture-independent files here.
 binary-indep: build install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs Changes.txt
 	dh_installdocs
-	dh_installman updateSite.1 uploadSite.1
+	dh_installman
 	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_pycentral
+# Delete empty dirs
+	find $(CURDIR)/debian/pubtal -depth -type d -empty -exec rmdir -- {} \;
 	dh_installdeb
-	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb




More information about the Python-modules-commits mailing list