%{?scl:%scl_package perl-Filter-Simple} Name: %{?scl_prefix}perl-Filter-Simple Version: 0.91 Release: 340%{?dist} Summary: Simplified Perl source filtering License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Filter-Simple/ Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Filter-Simple-%{version}.tar.gz BuildArch: noarch BuildRequires: %{?scl_prefix}perl BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) BuildRequires: %{?scl_prefix}perl(strict) # Run-time: BuildRequires: %{?scl_prefix}perl(Carp) BuildRequires: %{?scl_prefix}perl(Filter::Util::Call) BuildRequires: %{?scl_prefix}perl(Text::Balanced) >= 1.97 BuildRequires: %{?scl_prefix}perl(vars) BuildRequires: %{?scl_prefix}perl(warnings) # Tests: BuildRequires: %{?scl_prefix}perl(Exporter) BuildRequires: %{?scl_prefix}perl(parent) Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'})) Requires: %{?scl_prefix}perl(Text::Balanced) >= 1.97 Requires: %{?scl_prefix}perl(warnings) # Filter under-specified dependencies # RPM 4.8 style %{?filter_setup: %filter_from_requires /^%{?scl_prefix}perl(Text::Balanced)$/d %?perl_default_filter } # RPM 4.9 style %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^%{?scl_prefix}perl\\(Text::Balanced\\)$ %description The Filter::Simple Perl module provides a simplified interface to Filter::Util::Call; one that is sufficient for most common cases. %prep %setup -q -n Filter-Simple-%{version} %build %{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'} %install %{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'} find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check %{?scl:scl enable %{scl} '}make test%{?scl:'} %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Nov 18 2014 Petr Pisar - 0.91-340 - Increase release number to supersede perl's sub-package * Wed Oct 29 2014 Petr Pisar 0.91-240 - Specfile autogenerated by cpanspec 1.78.