|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
Name: perl-Data-Dumper-Concise
|
|
|
|
|
Summary: A convenient way to reproduce a set of Dumper options
|
|
|
|
|
Version: 2.020
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Version: 2.022
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/F/FR/FREW/Data-Dumper-Concise-%{version}.tar.gz
|
|
|
|
@ -9,14 +9,17 @@ URL: http://search.cpan.org/dist/Data-Dumper-Concise
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(inc::Module::Install)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Data::Dumper)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
|
|
BuildRequires: perl(Devel::ArgNames)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
|
|
# obsolete/provide old tests subpackage
|
|
|
|
|
# can be removed during F19 development cycle
|
|
|
|
|
Obsoletes: %{name}-tests < 2.020-3
|
|
|
|
|
Provides: %{name}-tests = %{version}-%{release}
|
|
|
|
|
Requires: perl(Devel::ArgNames)
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -29,6 +32,9 @@ that we've found ourselves using across large numbers of applications.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Data-Dumper-Concise-%{version}
|
|
|
|
|
# Remove bundled modules
|
|
|
|
|
rm -r ./inc
|
|
|
|
|
sed -i -e '/^inc\//d' MANIFEST
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
@ -37,8 +43,6 @@ make %{?_smp_mflags}
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -50,6 +54,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 16 2014 Petr Pisar <ppisar@redhat.com> - 2.022-1
|
|
|
|
|
- 2.022 bump
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.020-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|