]> git.pld-linux.org Git - packages/perl-MIME-Lite.git/blobdiff - perl-MIME-Lite.spec
- rel. 2
[packages/perl-MIME-Lite.git] / perl-MIME-Lite.spec
index f85dc79f6712a9b9ecb0e5941416345562018456..15b390c08f779aee8182790a68d8e5b38fb618eb 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    MIME
 %define        pnam    Lite
@@ -5,13 +9,14 @@ Summary:      MIME::Lite perl module
 Summary(pl):   Modu³ perla MIME::Lite
 Name:          perl-MIME-Lite
 Version:       3.01
-Release:       1
-License:       GPL
+Release:       2
+# same as perl
+License:       GPL v1+ or Artisric
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: b41eb689819775fd8df360458fc2d507
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.6
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: perl-libnet
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,10 +36,13 @@ wiadomo
        INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.040087 seconds and 4 git commands to generate.