1.23 bump

- Drop the test suite from %doc
This commit is contained in:
Petr Šabata 2015-08-31 14:42:37 +02:00
parent 2ae829f275
commit 3b6c17cf9f
3 changed files with 32 additions and 17 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ Data-Dump-1.15.tar.gz
/Data-Dump-1.19.tar.gz
/Data-Dump-1.21.tar.gz
/Data-Dump-1.22.tar.gz
/Data-Dump-1.23.tar.gz

View File

@ -1,19 +1,35 @@
Name: perl-Data-Dump
Version: 1.22
Release: 5%{?dist}
Version: 1.23
Release: 1%{?dist}
Summary: Pretty printing of data structures
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-Dump/
Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Data-Dump-%{version}.tar.gz
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# core
BuildRequires: perl(ExtUtils::MakeMaker)
# Build
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(MIME::Base64)
BuildRequires: perl(overload)
BuildRequires: perl(strict)
BuildRequires: perl(subs)
# XXX: BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Tests only
BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(Symbol)
BuildRequires: perl(Test)
BuildRequires: perl(Test::More)
%?perl_default_filter
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
# Really optional
Suggests: perl(MIME::Base64)
%description
This module provides a single function called dump() that takes a list of
@ -24,29 +40,27 @@ arguments. The string is formatted for easy reading.
%prep
%setup -q -n Data-Dump-%{version}
# make rpmlint happy...
perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README t/
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Aug 31 2015 Petr Šabata <contyk@redhat.com> - 1.23-1
- 1.23 bump
- Drop the test suite from %%doc
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.22-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
db211fe64a5cab15b1e86e5b0dc379a4 Data-Dump-1.22.tar.gz
762c111e525c82ff23d62c90821b26e9 Data-Dump-1.23.tar.gz