]> git.pld-linux.org Git - packages/pldcpan.git/commitdiff
- added parts_joined
authorradek <radek@pld-linux.org>
Sat, 5 Jun 2004 13:49:54 +0000 (13:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pldcpan.pl -> 1.9

pldcpan.pl

index 3c1f56b808049e4ae063b1b167a2307929de5462..d6bb96e608b713277905d046307df8f740e7ce18 100644 (file)
@@ -72,6 +72,7 @@ sub test_directory {
                $info->{parts} =
                  [$separ ? (split /$separ/, $info->{ballname}) : ($info->{ballname})];
        }
+       $info->{parts_joined} = join '::', @{$info->{parts}};
        $info->{_tests}->{directory} = 1;
 }
 
@@ -478,7 +479,8 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %{?with_tests:./Build test}
 [% ELSE -%]
-%{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>".......")'
+%{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"[% parts_joined %]")' \
+       INSTALLDIRS=vendor
 %{__make}[% IF test_is_xs -%] \
        OPTIMIZE="%{rpmcflags}"[% END %]
 
This page took 0.113056 seconds and 4 git commands to generate.