]> git.pld-linux.org Git - packages/perl-Data-Compare.git/commitdiff
- up to 0.04
authormigo <migo@pld-linux.org>
Wed, 24 Dec 2003 23:01:29 +0000 (23:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added tests
- fixed License

Changed files:
    perl-Data-Compare.spec -> 1.28

perl-Data-Compare.spec

index 1e0fad5d29aea75e49bdc60440ae205cad5f4bd2..7755146a4f072dc7c4dbd3c87f175fb92612ca94 100644 (file)
@@ -1,17 +1,25 @@
+#
+# Conditional build:
+%bcond_without         tests           # do not perform "make test"
+
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Data
 %define        pnam    Compare
 Summary:       Data::Compare perl module
 Summary(pl):   Modu³ perla Data::Compare
 Name:          perl-Data-Compare
-Version:       0.02
-Release:       5
-License:       GPL
+Version:       0.04
+Release:       1
+# same as Perl
+License:       GPL or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 785f5c49529a8053642b5eb9c49107f7
+# Source0-md5: 8ea5828f6c2e42ecff3790a814d4a46c
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.6
+BuildRequires: perl-devel >= 5.8
+%if %{with tests}
+BuildRequires: perl-Scalar-Properties
+%endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -28,6 +36,7 @@ Modu
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.067928 seconds and 4 git commands to generate.