%bcond_with tests # perform "make test"
# Text::TabularDisplay 1.21 not available yet
#
-%include /usr/lib/rpm/macros.perl
%define pdir Text
%define pnam RecordParser
Summary: Text::RecordParser - read record-oriented files
Summary(pl.UTF-8): Text::RecordParser - odczyt plików rekordowych
Name: perl-Text-RecordParser
Version: 1.2.1
-Release: 2
+Release: 3
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
BuildRequires: perl-Text-TabularDisplay >= 1.21
BuildConflicts: perl-Text-TabularDisplay = 1.20
%endif
+# sigh... perl.prov can't handle version->new(...) -- Safe.pm
+Provides: perl(Text::RecordParser) = %{version}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _noautoreq 'perl(Text::RecordParser)'
+
%description
This module is for reading record-oriented data. The most common
example have records separated by newlines and fields separated by