[Python-modules-commits] r9419 - in packages/pywbem/trunk/debian (changelog dirs rules)

bzed at users.alioth.debian.org bzed at users.alioth.debian.org
Fri Aug 21 19:15:55 UTC 2009


    Date: Friday, August 21, 2009 @ 19:15:54
  Author: bzed
Revision: 9419

Really install wbemcli to /usr/bin.

Added:
  packages/pywbem/trunk/debian/dirs
Modified:
  packages/pywbem/trunk/debian/changelog
  packages/pywbem/trunk/debian/rules

Modified: packages/pywbem/trunk/debian/changelog
===================================================================
--- packages/pywbem/trunk/debian/changelog	2009-08-21 14:57:37 UTC (rev 9418)
+++ packages/pywbem/trunk/debian/changelog	2009-08-21 19:15:54 UTC (rev 9419)
@@ -1,3 +1,9 @@
+pywbem (0.7.0-2) unstable; urgency=low
+
+  * Really install wbemcli to /usr/bin.
+
+ -- Bernd Zeimetz <bzed at debian.org>  Fri, 21 Aug 2009 21:15:39 +0200
+
 pywbem (0.7.0-1) unstable; urgency=low
 
   * Initial release (Closes: #364675)

Added: packages/pywbem/trunk/debian/dirs
===================================================================
--- packages/pywbem/trunk/debian/dirs	                        (rev 0)
+++ packages/pywbem/trunk/debian/dirs	2009-08-21 19:15:54 UTC (rev 9419)
@@ -0,0 +1 @@
+/usr/bin

Modified: packages/pywbem/trunk/debian/rules
===================================================================
--- packages/pywbem/trunk/debian/rules	2009-08-21 14:57:37 UTC (rev 9418)
+++ packages/pywbem/trunk/debian/rules	2009-08-21 19:15:54 UTC (rev 9419)
@@ -3,9 +3,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+PACKAGE = python-pywbem
 DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
 XP     = xsltproc -''-nonet -''-param man.charmap.use.subset "0"
+DEFAULT_PYTHON = $(shell pyversions -d)
 
+
+
 %.1: debian/%.1.xml
 	$(XP) $(DB2MAN) $<
 
@@ -16,3 +20,10 @@
 build: wbemcli.1
 	dh $@
 
+
+install:
+	dh $@
+	mv $(CURDIR)/debian/$(PACKAGE)/$(DEFAULT_PYTHON))/pywbem/wbemcli.py \
+		$(CURDIR)/debian/$(PACKAGE)/usr/bin/wbemcli
+	rm -f $(CURDIR)/debian/$(PACKAGE)/usr/lib/*/*/pywbem/wbemcli.py
+




More information about the Python-modules-commits mailing list