SOURCES: pldcpan.pl - cosmetics

radek radek at pld-linux.org
Sun May 20 17:12:17 CEST 2007


Author: radek                        Date: Sun May 20 15:12:17 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cosmetics

---- Files affected:
SOURCES:
   pldcpan.pl (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SOURCES/pldcpan.pl
diff -u SOURCES/pldcpan.pl:1.45 SOURCES/pldcpan.pl:1.46
--- SOURCES/pldcpan.pl:1.45	Thu May  3 13:29:31 2007
+++ SOURCES/pldcpan.pl	Sun May 20 17:12:11 2007
@@ -810,29 +810,31 @@
 %setup -q -n [% dir_unexp %][% IF is_impolite %]-c[% END %]
 
 %build
-[% IF uses_module_build -%]
+[%- IF uses_module_build %]
 %{__perl} Build.PL \
-[% IF test_is_xs %]	config="optimize='%{rpmcflags}'" \[% END -%]
+[%- IF test_is_xs %]
+	config="optimize='%{rpmcflags}'" \
+[%- END %]
 	destdir=$RPM_BUILD_ROOT \
 	installdirs=vendor
 ./Build
 
 %{?with_tests:./Build test}
-[% ELSIF uses_makemaker -%]
+[%- ELSIF uses_makemaker %]
 %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
 %{__make}[% IF test_is_xs -%] \
 	OPTIMIZE="%{rpmcflags}"[% END %]
 
 %{?with_tests:%{__make} test}
-[% ELSE -%]
+[%- ELSE %]
 %{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"[% parts_joined %]")' \
 	INSTALLDIRS=vendor
 %{__make}[% IF test_is_xs -%] \
 	OPTIMIZE="%{rpmcflags}"[% END %]
 
 %{?with_tests:%{__make} test}
-[% END -%]
+[%- END %]
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/pldcpan.pl?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list