SOURCES: pldcpan.pl - synced with template-perl.spec
paszczus
paszczus at pld-linux.org
Fri Jul 13 23:21:15 CEST 2007
Author: paszczus Date: Fri Jul 13 21:21:14 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- synced with template-perl.spec
---- Files affected:
SOURCES:
pldcpan.pl (1.46 -> 1.47)
---- Diffs:
================================================================
Index: SOURCES/pldcpan.pl
diff -u SOURCES/pldcpan.pl:1.46 SOURCES/pldcpan.pl:1.47
--- SOURCES/pldcpan.pl:1.46 Sun May 20 17:12:11 2007
+++ SOURCES/pldcpan.pl Fri Jul 13 23:21:09 2007
@@ -742,6 +742,7 @@
# $[% '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 @@
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 @@
[% IF uses_module_build || !uses_makemaker -%]
./Build install
[% ELSE -%]
-%{__make} install \
+%{__make} pure_install \
DESTDIR=$RPM_BUILD_ROOT
[% END -%]
[% IF test_has_examples -%]
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/pldcpan.pl?r1=1.46&r2=1.47&f=u
More information about the pld-cvs-commit
mailing list