]> git.pld-linux.org Git - packages/perl-Test-Simple.git/blobdiff - perl-Test-Simple.spec
- added tests
[packages/perl-Test-Simple.git] / perl-Test-Simple.spec
index 5cc055d773f367f040681071935b1a00fe621dcd..b1918b90989498043bd9b171099b0d80bf942ecd 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Test
 %define                pnam    Simple
@@ -19,7 +23,7 @@ Summary(sv):  Test::Simple Perlmodul
 Summary(uk):   íÏÄÕÌØ ÄÌÑ Perl Test::Simple
 Summary(zh_CN):        Test::Simple Perl Ä£¿é
 Name:          perl-%{pdir}-%{pnam}
-Version:       0.46
+Version:       0.47
 Release:       1
 License:       GPL
 Group:         Development/Languages/Perl
@@ -54,6 +58,8 @@ test
 perl Makefile.PL
 %{__make}
 
+%{!?_without_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.073831 seconds and 4 git commands to generate.