r1363 - in zope-zms/trunk/debian (5 files)

Andreas Tille tille at alioth.debian.org
Wed Mar 25 11:41:06 UTC 2009


    Date: Wednesday, March 25, 2009 @ 11:41:06
  Author: tille
Revision: 1363

Polish packaging to be lintian clean and ready for upload

Added:
  zope-zms/trunk/debian/examples
Modified:
  zope-zms/trunk/debian/changelog
  zope-zms/trunk/debian/control
  zope-zms/trunk/debian/rules
  zope-zms/trunk/debian/watch

Modified: zope-zms/trunk/debian/changelog
===================================================================
--- zope-zms/trunk/debian/changelog	2009-03-25 08:26:19 UTC (rev 1362)
+++ zope-zms/trunk/debian/changelog	2009-03-25 11:41:06 UTC (rev 1363)
@@ -1,4 +1,4 @@
-zope-zms (1:2.11.1-03-1) UNRELEASED; urgency=low
+zope-zms (1:2.11.1-03-1) unstable; urgency=low
 
   * New upstream version
   * Changed XCBS-URL field to Homepage field and removed homepage
@@ -9,6 +9,12 @@
     contain the minimum requirement
   * Standards-Version: 3.8.1 (no changes needed)
   * Added Vcs fields
+  * debian/watch: use SF redirector
+  * debian/{_config,_postinst,dzproduct}: s/2.8/2.10/
+  * debian/rules: just call uscan in get-orig-source target
+  * debian/rules: fix permission of eamples which should not be
+    executable
+  * debian/examples: use this seprate debhelper file
 
  -- Andreas Tille <tille at debian.org>  Wed, 25 Mar 2009 08:59:56 +0100
 

Modified: zope-zms/trunk/debian/control
===================================================================
--- zope-zms/trunk/debian/control	2009-03-25 08:26:19 UTC (rev 1362)
+++ zope-zms/trunk/debian/control	2009-03-25 11:41:06 UTC (rev 1363)
@@ -13,7 +13,7 @@
 
 Package: zope-zms
 Architecture: all
-Depends: ${zope:Depends}, python-imaging (>= 1.1.5-9), tidy, xalan, unzip
+Depends:  ${misc:Depends}, ${zope:Depends}, python-imaging (>= 1.1.5-9), tidy, xalan, unzip
 Recommends: zope-textindexng2, zope-epoz, libsaxon-java
 Suggests: jdk1.1, zope-ldapuserfolder
 Conflicts: zope (<< 2.7)

Added: zope-zms/trunk/debian/examples
===================================================================
--- zope-zms/trunk/debian/examples	                        (rev 0)
+++ zope-zms/trunk/debian/examples	2009-03-25 11:41:06 UTC (rev 1363)
@@ -0,0 +1 @@
+conf/*

Modified: zope-zms/trunk/debian/rules
===================================================================
--- zope-zms/trunk/debian/rules	2009-03-25 08:26:19 UTC (rev 1362)
+++ zope-zms/trunk/debian/rules	2009-03-25 11:41:06 UTC (rev 1363)
@@ -3,6 +3,8 @@
 # Andreas Tille <tille at debian.org>  Tue,  1 Apr 2003 10:43:55 +0200
 # GPL
 
+pkg=zope-zms
+
 build: build-stamp
 build-stamp:
 	touch build-stamp
@@ -24,7 +26,8 @@
 	dh_testdir
 	dh_testroot
 	dh_installdocs -n
-	dh_installexamples conf/*
+	dh_installexamples
+	find $(CURDIR)/debian/$(pkg)/usr/share/doc/$(pkg)/examples -type f -exec chmod 644 \{\} \;
 	dh_installchangelogs changes.txt
 	dh_installdebconf
 	dh_link
@@ -40,29 +43,7 @@
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 get-orig-source:
-	# Original Zip-File was obtained via uscan
-	ZIP=`ls zms-*.tar.gz | sort | tail -n1` ; \
-	VER=`echo $${ZIP} | sed -e "s/$(upstreamname)[_-]\(.*\)\.tar.gz/\1/" -e "s/-//"` ; \
-	if [ "$${VER}" == "$${ZIP}" ] ; then \
-	   echo "Unable to detect version number." ; \
-	   exit ; \
-	fi ; \
-	TAR=$(pkg)_$${VER}.orig.tar.gz ; \
-	if [ -d $(pkg) ] ; then \
-	   rm -f $(pkg) ; \
-	fi ; \
-	if [ -f $(pkg) ] ; then \
-	   echo "Please remove $(pkg)." ; \
-	   exit ; \
-	fi ; \
-	tar -xzf $${ZIP} ; \
-	DIR=$(pkg)-$${VER} ; \
-	mv $(upstreamname) $${DIR} ; \
-	rm -rf $${DIR}/bin $${DIR}/INDEX0 ; \
-	find $${DIR} -type d -name "CVS" -exec rm -rf \{\} \; ; \
-	find $${DIR} -type f -exec chmod 644 \{\} \; ; \
-	GZIP=-9 tar -czf $${TAR} $${DIR} ; \
-	rm -rf $${DIR}
+	uscan --force-download
 
 binary-arch:
 

Modified: zope-zms/trunk/debian/watch
===================================================================
--- zope-zms/trunk/debian/watch	2009-03-25 08:26:19 UTC (rev 1362)
+++ zope-zms/trunk/debian/watch	2009-03-25 11:41:06 UTC (rev 1363)
@@ -1,3 +1,2 @@
 version=3
-# http://heanet.dl.sourceforge.net/sourceforge/zmspublishing/zms-(.*)\.tar\.gz debian
 http://sf.net/zmspublishing/zms-(.*)\.tar\.gz




More information about the pkg-zope-commits mailing list