#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Tie
%define pnam Cache-LRU
+%include /usr/lib/rpm/macros.perl
Summary: Tie::Cache-LRU Perl module - a Least-Recently Used cache
Summary(pl.UTF-8): Moduł Perla Tie::Cache-LRU - buforowanie "ostatnio używanych"
Name: perl-Tie-Cache-LRU
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 38053411c06ba8199922111adad4bcef
+URL: http://search.cpan.org/dist/Tie-Cache-LRU/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl-Carp-Assert
BuildRequires: perl-Class-Data-Inheritable
BuildRequires: perl-Class-Virtual
-BuildRequires: perl-enum
BuildRequires: perl-Test-Simple >= 0.82
+BuildRequires: perl-enum
%endif
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)