[svn:parrot] r43233 - trunk/runtime/parrot/library
fperrad at svn.parrot.org
fperrad at svn.parrot.org
Thu Dec 24 15:34:32 UTC 2009
Author: fperrad
Date: Thu Dec 24 15:34:29 2009
New Revision: 43233
URL: https://trac.parrot.org/parrot/changeset/43233
Log:
[distutils] prefixes package name with parrot-
Modified:
trunk/runtime/parrot/library/distutils.pir
Modified: trunk/runtime/parrot/library/distutils.pir
==============================================================================
--- trunk/runtime/parrot/library/distutils.pir Thu Dec 24 11:08:39 2009 (r43232)
+++ trunk/runtime/parrot/library/distutils.pir Thu Dec 24 15:34:29 2009 (r43233)
@@ -2959,7 +2959,7 @@
.sub 'get_spec'
.param pmc kv :slurpy :named
$S0 = get_value('spec_dir', 'ports/rpm' :named('default'), kv :flat :named)
- $S0 .= "/"
+ $S0 .= "/parrot-"
$S1 = get_name(kv :flat :named)
$S0 .= $S1
$S0 .= '.spec'
@@ -3019,7 +3019,7 @@
$S0 = <<'TEMPLATE'
%%define parrot_version %s
-Name: %s
+Name: parrot-%s
Version: %s
Release: %s
Summary: %s
@@ -3035,7 +3035,7 @@
%s
%%prep
-%%setup -n parrot-%%{name}-%%{version}
+%%setup -n %%{name}-%%{version}
%%build
parrot setup.pir
@@ -3180,7 +3180,7 @@
.sub 'get_ebuild'
.param pmc kv :slurpy :named
- $S0 = "ports/gentoo/"
+ $S0 = "ports/gentoo/parrot-"
$S1 = get_name(kv :flat :named)
$S0 .= $S1
$S0 .= "-"
More information about the parrot-commits
mailing list