David Dick 5896c14
Name:           perl-Data-Munge
0b72d2a
Version:        0.096
0b72d2a
Release:        1%{?dist}
David Dick 5896c14
Summary:        Utility functions for working with perl data structures and code references
David Dick 5896c14
License:        GPL+ or Artistic
David Dick 5896c14
Group:          Development/Libraries
David Dick 5896c14
URL:            http://search.cpan.org/dist/Data-Munge/
David Dick 5896c14
Source0:        http://www.cpan.org/modules/by-module/Data/Data-Munge-%{version}.tar.gz
David Dick 5896c14
BuildArch:      noarch
7c7376b
BuildRequires:  findutils
7c7376b
BuildRequires:  make
David Dick 5896c14
BuildRequires:  perl
David Dick 5896c14
BuildRequires:  perl(ExtUtils::MakeMaker)
0b72d2a
BuildRequires:  perl(File::Find)
0b72d2a
BuildRequires:  perl(File::Spec)
David Dick 5896c14
BuildRequires:  perl(strict)
7c7376b
BuildRequires:  perl(warnings)
7c7376b
# Run-time:
7c7376b
BuildRequires:  perl(base)
7c7376b
BuildRequires:  perl(Exporter)
7c7376b
# Scalar::Util not used since perl 5.016
7c7376b
# Tests:
David Dick 5896c14
BuildRequires:  perl(Test::More)
David Dick 5896c14
BuildRequires:  perl(Test::Warnings)
7c7376b
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
David Dick 5896c14
David Dick 5896c14
%description
David Dick 5896c14
This module defines a few generally useful utility functions that process
David Dick 5896c14
perl data structures and code references.
David Dick 5896c14
David Dick 5896c14
%prep
David Dick 5896c14
%setup -q -n Data-Munge-%{version}
David Dick 5896c14
David Dick 5896c14
%build
7c7376b
perl Makefile.PL INSTALLDIRS=vendor
David Dick 5896c14
make %{?_smp_mflags}
David Dick 5896c14
David Dick 5896c14
%install
David Dick 5896c14
make pure_install DESTDIR=$RPM_BUILD_ROOT
0b72d2a
find $RPM_BUILD_ROOT -type f -name .packlist -delete
David Dick 5896c14
%{_fixperms} $RPM_BUILD_ROOT/*
David Dick 5896c14
David Dick 5896c14
%check
David Dick 5896c14
make test
David Dick 5896c14
David Dick 5896c14
%files
David Dick 5896c14
%doc Changes README
David Dick 5896c14
%{perl_vendorlib}/*
David Dick 5896c14
%{_mandir}/man3/*
David Dick 5896c14
David Dick 5896c14
%changelog
0b72d2a
* Thu Mar 31 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.096-1
0b72d2a
- 0.096 bump
0b72d2a
704c9eb
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.095-2
704c9eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
704c9eb
7c7376b
* Thu Jun 25 2015 Petr Pisar <ppisar@redhat.com> - 0.095-1
7c7376b
- 0.095 bump
7c7376b
1b0ebd6
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093-3
1b0ebd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1b0ebd6
687fa19
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.093-2
687fa19
- Perl 5.22 rebuild
687fa19
David Dick 35c5d8a
* Sat Jan 17 2015 David Dick <ddick@cpan.org> - 0.093-1
David Dick 35c5d8a
- Fix typo in synopsis
David Dick 35c5d8a
David Dick 20b0abc
* Sat Nov 22 2014 David Dick <ddick@cpan.org> - 0.091-1
David Dick 20b0abc
- Work around regex bug in perls < 5.18 that causes spurious test failures.
David Dick 20b0abc
David Dick 5896c14
* Fri Oct 03 2014 David Dick <ddick@cpan.org> - 0.08-1
David Dick 5896c14
- Initial release