]> git.pld-linux.org Git - packages/perl-Test-Simple.git/blobdiff - perl-Test-Simple.spec
- BR: new rpm (new perl.prov), rel++
[packages/perl-Test-Simple.git] / perl-Test-Simple.spec
index 5cc055d773f367f040681071935b1a00fe621dcd..d8029dbdb8c957fbb5f296578dd2151c30d1e0f4 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,13 +23,13 @@ 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
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 BuildRequires: perl >= 5.6.1
-BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: rpm-perlprov >= 4.0.2-104
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -51,9 +55,11 @@ test
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL
 %{__make}
 
+%{!?_without_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
This page took 0.079725 seconds and 4 git commands to generate.