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