[svn:parrot] r43174 - trunk/runtime/parrot/library

fperrad at svn.parrot.org fperrad at svn.parrot.org
Sun Dec 20 09:49:38 UTC 2009


Author: fperrad
Date: Sun Dec 20 09:49:36 2009
New Revision: 43174
URL: https://trac.parrot.org/parrot/changeset/43174

Log:
[distutils] tweak spec rpm

Modified:
   trunk/runtime/parrot/library/distutils.pir

Modified: trunk/runtime/parrot/library/distutils.pir
==============================================================================
--- trunk/runtime/parrot/library/distutils.pir	Sun Dec 20 05:43:10 2009	(r43173)
+++ trunk/runtime/parrot/library/distutils.pir	Sun Dec 20 09:49:36 2009	(r43174)
@@ -141,10 +141,18 @@
 
 Some coreutils : tar, gzip
 
+=item sdist_bztar
+
+bzip2
+
 =item sdist_zip
 
 zip
 
+=item spec_rpm, sdist_rpm, bdist_rpm
+
+rpmbuild
+
 =item bdist_wininst
 
 Inno Setup
@@ -3074,6 +3082,8 @@
   L11:
     unless $P2 goto L12
     $S0 = shift $P2
+    $P3 = split parrot_version, $S0
+    $S0 = join "%{parrot_version}", $P3
     push $P0, $S0
     goto L11
   L12:
@@ -3082,6 +3092,8 @@
   L13:
     unless $P2 goto L14
     $S0 = shift $P2
+    $P3 = split parrot_version, $S0
+    $S0 = join "%{parrot_version}", $P3
     push $P0, $S0
     goto L13
   L14:


More information about the parrot-commits mailing list