[SCM] libxml-atom-microformats-perl Debian packaging branch, master, updated. debian/0.003-2-12-gdf5deb5

Jonas Smedegaard dr at jones.dk
Tue Jun 26 08:43:29 UTC 2012


The following commit has been merged in the master branch:
commit 1c8f44dc9a2b5f4ec2783691ea19a03921bd4ffe
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Jun 26 10:29:44 2012 +0200

    Tidy rules file.

diff --git a/debian/rules b/debian/rules
index ffdeb79..256a830 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
-# Copyright 2011, Jonas Smedegaard <dr at jones.dk>
-# Copyright 2011, Florian Schlichting <fschlich at zedat.fu-berlin.de>
+# Copyright © 2011 Jonas Smedegaard <dr at jones.dk>
+# Copyright © 2011 Florian Schlichting <fschlich at zedat.fu-berlin.de>
 # Description: Main Debian packaging script for XML::Atom::Microformats
 #
 # This program is free software; you can redistribute it and/or modify
@@ -22,14 +22,18 @@ include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/perl-makemaker.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
+pkg = $(DEB_SOURCE_PACKAGE)
+
 DEB_UPSTREAM_PACKAGE = XML-Atom-Microformats
 DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/XML
 #DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK
 DEB_UPSTREAM_TARBALL_MD5 = ee5bb066a2eb59d98e7c3088f95449a2
 
-# Needed both by upstream build process and at runtime
-common-depends = libcommon-sense-perl, libhtml-microformats-perl, libjson-perl, librdf-rdfa-parser-perl
-common-depends += , librdf-trine-perl, librdf-query-perl, libxml-atom-owl-perl, libxml-libxml-perl (>= 1.95+dfsg)
+# Needed both by upstream build and (always) at runtime
+perl-deps = common-sense html-microformats json rdf-rdfa-parser
+perl-deps += rdf-trine rdf-query xml-atom-owl
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
+deps += , libxml-libxml-perl (>= 1.95+dfsg)
 
-CDBS_BUILD_DEPENDS += , $(common-depends), $(common-recommends)
-CDBS_DEPENDS_ALL = $(common-depends)
+CDBS_BUILD_DEPENDS += , $(deps)
+CDBS_DEPENDS_$(pkg) = $(deps)

-- 
libxml-atom-microformats-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list