[libmodule-package-rdf-perl] 44/64: doap-deps
Jonas Smedegaard
js at alioth.debian.org
Fri Aug 9 22:11:59 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libmodule-package-rdf-perl.
commit f54ff2233f9f98d2b4eb2ac1d81ec35f1d8cc4a8
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date: Wed Jul 31 11:11:06 2013 +0100
doap-deps
--HG--
branch : Module-Package-RDF
---
lib/App/mkdist.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/App/mkdist.pm b/lib/App/mkdist.pm
index 444aa2b..6a77ad4 100644
--- a/lib/App/mkdist.pm
+++ b/lib/App/mkdist.pm
@@ -160,8 +160,8 @@ sub set_defaults
if (@mr)
{
$self->{requires} = sprintf(
- ";\n\t:requires %s",
- (join ' , ', (map { my ($pkg, $ver) = split /\s+/, $_; ($ver =~ /^v?[0-9\._]+/) ? "p`$pkg $ver`" : "p`$pkg`" } @mr))
+ ";\n\t:runtime_requires %s",
+ (join ' , ', (map { my ($pkg, $ver) = split /\s+/, $_; ($ver =~ /^v?[0-9\._]+/) ? "[ :on \"$pkg $ver\"^^:CpanId ]" : "[ :on \"$pkg\"^^:CpanId ]" } @mr))
);
}
else
@@ -404,6 +404,8 @@ cpan:{uc $author->{cpanid}}
COMMENCE meta/makefile.pret
# This file provides instructions for packaging.
+ at prefix : <http://ontologi.es/doap-deps#>.
+
`{$dist_name}`
perl_version_from m`{$module_name}`;
version_from m`{$module_name}`;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-package-rdf-perl.git
More information about the Pkg-perl-cvs-commits
mailing list