SPECS: perl-Text-CharWidth.spec - added tests
qboosh
qboosh at pld-linux.org
Thu Nov 23 22:10:32 CET 2006
Author: qboosh Date: Thu Nov 23 21:10:32 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added tests
---- Files affected:
SPECS:
perl-Text-CharWidth.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/perl-Text-CharWidth.spec
diff -u SPECS/perl-Text-CharWidth.spec:1.5 SPECS/perl-Text-CharWidth.spec:1.6
--- SPECS/perl-Text-CharWidth.spec:1.5 Sat Oct 21 20:01:35 2006
+++ SPECS/perl-Text-CharWidth.spec Thu Nov 23 22:10:27 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 CharWidth
@@ -10,7 +14,7 @@
# 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: 37a723df0580c0758c0ee67b37336c15
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
@@ -33,6 +37,8 @@
%{__make} \
OPTIMIZE="%{rpmcflags}"
+%{?with_tests:%{__make} test}
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -57,6 +63,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2006/11/23 21:10:27 qboosh
+- added tests
+
Revision 1.5 2006/10/21 18:01:35 ankry
- rel. 1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/perl-Text-CharWidth.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list