]> git.pld-linux.org Git - packages/perl-Class-WhiteHole.git/blobdiff - perl-Class-WhiteHole.spec
- bconds added
[packages/perl-Class-WhiteHole.git] / perl-Class-WhiteHole.spec
index eaa7c8aad9bcd5aa38a961bf82c32ef6f05b0d40..eea5fbbecfaf0b570f171087e51f2818bc6747a7 100644 (file)
@@ -1,15 +1,20 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Class
 %define        pnam    WhiteHole
 Summary:       %{pdir}::%{pnam} - prevent from inheriting AUTOLOAD
 Summary(pl):   %{pdir}::%{pnam} - ochrona przed dziedziczeniem AUTOLOAD
 Name:          perl-Class-WhiteHole
-Version:       0.03
-Release:       2
-License:       GPL/Artistic
+Version:       0.04
+Release:       1
+# 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-md5: c14e55c571adbf1cd181aae61d99ab9e
+# Source0-md5: 43b986ad7d5d186a9a43d2d69a2ef327
 BuildRequires: perl-devel >= 5
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
@@ -35,15 +40,15 @@ Czasami chcesz unikn
 odziedzicz po Class::WhiteHole.  Ka¿de wywo³anie nieistniej±cej metody
 spowoduje zwyczajn± informacjê o b³êdzie perla.
 
-
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
 %{__perl} Makefile.PL \
-       INSTALLDIRS=vendor 
+       INSTALLDIRS=vendor
 %{__make}
-#%%{__make} test
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.043809 seconds and 4 git commands to generate.