[Python-modules-commits] r7896 - in packages/pykcs11/trunk/debian (changelog control rules)

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Wed Mar 18 09:22:13 UTC 2009


    Date: Wednesday, March 18, 2009 @ 09:22:12
  Author: rousseau
Revision: 7896

* use debhelper V7
* update Standards-Version: from 3.7.2 to 3.8.1
  add support of parallel and nostrip in DEB_BUILD_OPTIONS

Modified:
  packages/pykcs11/trunk/debian/changelog
  packages/pykcs11/trunk/debian/control
  packages/pykcs11/trunk/debian/rules

Modified: packages/pykcs11/trunk/debian/changelog
===================================================================
--- packages/pykcs11/trunk/debian/changelog	2009-03-18 09:13:44 UTC (rev 7895)
+++ packages/pykcs11/trunk/debian/changelog	2009-03-18 09:22:12 UTC (rev 7896)
@@ -1,8 +1,11 @@
 pykcs11 (1.2.1-2) UNRELEASED; urgency=low
 
   * Fix "Missing watch file" add debian/watch (Closes: #520200)
+  * use debhelper V7
+  * update Standards-Version: from 3.7.2 to 3.8.1
+    add support of parallel and nostrip in DEB_BUILD_OPTIONS
 
- -- Ludovic Rousseau <rousseau at debian.org>  Wed, 18 Mar 2009 10:02:32 +0100
+ -- Ludovic Rousseau <rousseau at debian.org>  Wed, 18 Mar 2009 10:17:31 +0100
 
 pykcs11 (1.2.1-1) unstable; urgency=low
 

Modified: packages/pykcs11/trunk/debian/control
===================================================================
--- packages/pykcs11/trunk/debian/control	2009-03-18 09:13:44 UTC (rev 7895)
+++ packages/pykcs11/trunk/debian/control	2009-03-18 09:22:12 UTC (rev 7896)
@@ -3,7 +3,7 @@
 Maintainer: Ludovic Rousseau <rousseau at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>, David Smith <davidsmith at acm.org>
 Build-Depends: debhelper (>= 7.0.0), swig, python-central (>= 0.5.6), python-all-dev (>= 2.3.5-11)
-Standards-Version: 3.7.2
+Standards-Version: 3.8.1
 Section: python
 XS-Python-Version: all
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pykcs11/trunk

Modified: packages/pykcs11/trunk/debian/rules
===================================================================
--- packages/pykcs11/trunk/debian/rules	2009-03-18 09:13:44 UTC (rev 7895)
+++ packages/pykcs11/trunk/debian/rules	2009-03-18 09:22:12 UTC (rev 7896)
@@ -10,6 +10,8 @@
 #export DH_VERBOSE=1
 
 CFLAGS = -Wall -g
+INSTALL = install
+INSTALL_PROGRAM = $(INSTALL) -p    -o root -g root  -m  755
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
@@ -17,6 +19,15 @@
 	CFLAGS += -O2
 endif
 
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+	MAKEFLAGS += -j$(NUMJOBS)
+endif
+
 PYDEF=$(shell pyversions -d)
 PYVERS=$(shell pyversions -r)
 




More information about the Python-modules-commits mailing list