SPECS: perl-Text-WrapI18N.spec - added tests (BR: perl-Text-CharWi...
qboosh
qboosh at pld-linux.org
Thu Nov 23 22:11:09 CET 2006
Author: qboosh Date: Thu Nov 23 21:11:09 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added tests (BR: perl-Text-CharWidth)
---- Files affected:
SPECS:
perl-Text-WrapI18N.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/perl-Text-WrapI18N.spec
diff -u SPECS/perl-Text-WrapI18N.spec:1.4 SPECS/perl-Text-WrapI18N.spec:1.5
--- SPECS/perl-Text-WrapI18N.spec:1.4 Sat Oct 21 19:23:36 2006
+++ SPECS/perl-Text-WrapI18N.spec Thu Nov 23 22:11:04 2006
@@ -1,4 +1,8 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
%include /usr/lib/rpm/macros.perl
%define pdir Text
%define pnam WrapI18N
@@ -10,8 +14,11 @@
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0: http://www.cpan.org/modules/by-module/Text/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 0799c16a00926e6c18d400c2e2861d5f
+%if %{with tests}
+BuildRequires: perl-Text-CharWidth >= 0.02
+%endif
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
@@ -46,6 +53,8 @@
INSTALLDIRS=vendor
%{__make}
+%{?with_tests:%{__make} test}
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -67,6 +76,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2006/11/23 21:11:04 qboosh
+- added tests (BR: perl-Text-CharWidth)
+
Revision 1.4 2006/10/21 17:23:36 ankry
- rel. 1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/perl-Text-WrapI18N.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list