]> git.pld-linux.org Git - packages/pldcpan.git/commitdiff
- synced with template-perl.spec
authorSÅ‚awomir Paszkiewicz <paszczus@pld-linux.org>
Fri, 13 Jul 2007 21:21:09 +0000 (21:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pldcpan.pl -> 1.47

pldcpan.pl

index d391337951201213242b08005bf962445f5d9e01..d7386c169815f3f12f1e9e7b3b2b2dd75d7ff9e4 100644 (file)
@@ -742,6 +742,7 @@ __DATA__
 # $[% 'Revision:$, $Date'%]:$
 #
 # Conditional build:
+%bcond_without autodeps        # don't BR packages needed only for resolving deps
 %bcond_without tests           # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
@@ -785,7 +786,7 @@ Source0:    http://www.cpan.org/modules/by-module/[% pdir %]/%{pdir}-%{version}.tar
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 [% IF test_has_tests -%]
-%if %{with tests}
+%if %{with autodeps} || %{with tests}
 [% FOREACH req IN requires.keys.sort -%]
 BuildRequires: [% req %][% ' >= ' _ requires.$req IF requires.$req %]
 [% END -%]
@@ -842,7 +843,7 @@ rm -rf $RPM_BUILD_ROOT
 [% IF uses_module_build || !uses_makemaker -%]
 ./Build install
 [% ELSE -%]
-%{__make} install \
+%{__make} pure_install \
        DESTDIR=$RPM_BUILD_ROOT
 [% END -%]
 [% IF test_has_examples -%]
This page took 0.034653 seconds and 4 git commands to generate.