SPECS: pldcpan.spec - let spec contain a hint about required packages

qboosh qboosh at pld-linux.org
Fri Dec 22 12:41:57 CET 2006


Author: qboosh                       Date: Fri Dec 22 11:41:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- let spec contain a hint about required packages

---- Files affected:
SPECS:
   pldcpan.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/pldcpan.spec
diff -u SPECS/pldcpan.spec:1.12 SPECS/pldcpan.spec:1.13
--- SPECS/pldcpan.spec:1.12	Thu Jul 27 18:31:06 2006
+++ SPECS/pldcpan.spec	Fri Dec 22 12:41:52 2006
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+#
 %include	/usr/lib/rpm/macros.perl
 Summary:	PLD Linux script to create RPMS from CPAN modules
 Summary(pl):	Skrypt PLD tworzący pakiety RPM z modułów z CPAN
@@ -11,6 +15,17 @@
 Source0:	%{name}.pl
 BuildRequires:	perl-ExtUtils-MakeMaker
 BuildRequires:	rpm-perlprov
+%if %{with autodeps}
+BuildRequires:	perl-Archive-Any
+BuildRequires:	perl-Digest-MD5
+BuildRequires:	perl-File-Iterator
+BuildRequires:	perl-IO-String
+BuildRequires:	perl-IPC-Run
+BuildRequires:	perl-Module-CoreList
+BuildRequires:	perl-Pod-Tree
+BuildRequires:	perl-Template-Toolkit
+BuildRequires:	perl-YAML
+%endif
 Requires:	perl-Data-Dump
 Requires:	perl-libwww
 BuildArch:	noarch
@@ -50,6 +65,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2006/12/22 11:41:52  qboosh
+- let spec contain a hint about required packages
+
 Revision 1.12  2006/07/27 16:31:06  glen
 - update to 1.39
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pldcpan.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list