d5271f
%global base_version 0.91
d5271f
Name:           perl-Filter-Simple
d5271f
Version:        0.92
d5271f
Release:        367%{?dist}
d5271f
Summary:        Simplified Perl source filtering
d5271f
License:        GPL+ or Artistic
d5271f
Group:          Development/Libraries
d5271f
URL:            http://search.cpan.org/dist/Filter-Simple/
d5271f
Source0:        http://www.cpan.org/authors/id/S/SM/SMUELLER/Filter-Simple-%{base_version}.tar.gz
d5271f
# Unbundled from perl 5.21.11
d5271f
Patch0:         Filter-Simple-0.91-Upgrade-to-0.92.patch
d5271f
BuildArch:      noarch
d5271f
BuildRequires:  perl
d5271f
BuildRequires:  perl-generators
d5271f
BuildRequires:  perl(ExtUtils::MakeMaker)
d5271f
BuildRequires:  perl(strict)
d5271f
# Run-time:
d5271f
BuildRequires:  perl(Carp)
d5271f
BuildRequires:  perl(Filter::Util::Call)
d5271f
BuildRequires:  perl(Text::Balanced) >= 1.97
d5271f
BuildRequires:  perl(vars)
d5271f
BuildRequires:  perl(warnings)
d5271f
# Tests:
d5271f
BuildRequires:  perl(Exporter)
d5271f
BuildRequires:  perl(parent)
d5271f
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
d5271f
Requires:       perl(Text::Balanced) >= 1.97
d5271f
Requires:       perl(warnings)
d5271f
d5271f
# Filter under-specified dependencies
d5271f
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::Balanced\\)$
d5271f
d5271f
%description
d5271f
The Filter::Simple Perl module provides a simplified interface to
d5271f
Filter::Util::Call; one that is sufficient for most common cases.
d5271f
d5271f
%prep
d5271f
%setup -q -n Filter-Simple-%{base_version}
d5271f
%patch0 -p1
d5271f
d5271f
%build
d5271f
perl Makefile.PL INSTALLDIRS=vendor
d5271f
make %{?_smp_mflags}
d5271f
d5271f
%install
d5271f
make pure_install DESTDIR=$RPM_BUILD_ROOT
d5271f
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
d5271f
%{_fixperms} $RPM_BUILD_ROOT/*
d5271f
d5271f
%check
d5271f
make test
d5271f
d5271f
%files
d5271f
%doc Changes README
d5271f
%{perl_vendorlib}/*
d5271f
%{_mandir}/man3/*
d5271f
d5271f
%changelog
d5271f
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.92-367
d5271f
- Rebuild with enable hardening (bug #1636329)
d5271f
d5271f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-366
d5271f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d5271f
d5271f
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.92-365
d5271f
- Increase release to favour standalone package
d5271f
d5271f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.92-347
d5271f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d5271f
d5271f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.92-346
d5271f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d5271f
d5271f
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.92-345
d5271f
- Increase release to favour standalone package
d5271f
d5271f
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.92-2
d5271f
- Perl 5.22 rebuild
d5271f
d5271f
* Wed May 06 2015 Petr Pisar <ppisar@redhat.com> - 0.92-1
d5271f
- 0.92 bump in order to dual-live with perl 5.22
d5271f
d5271f
* Tue Nov 18 2014 Petr Pisar <ppisar@redhat.com> - 0.91-340
d5271f
- Increase release number to supersede perl's sub-package
d5271f
d5271f
* Wed Oct 29 2014 Petr Pisar <ppisar@redhat.com> 0.91-240
d5271f
- Specfile autogenerated by cpanspec 1.78.