|
|
7aca0a |
%{?scl:%scl_package perl-Filter}
|
|
|
7aca0a |
|
|
|
7aca0a |
# Run optional test
|
|
|
7aca0a |
%bcond_without perl_Filter_enables_optional_test
|
|
|
7aca0a |
|
|
|
7aca0a |
Name: %{?scl_prefix}perl-Filter
|
|
|
7aca0a |
Epoch: 2
|
|
|
7aca0a |
Version: 1.58
|
|
|
7aca0a |
Release: 2%{?dist}
|
|
|
7aca0a |
Summary: Perl source filters
|
|
|
7aca0a |
License: GPL+ or Artistic
|
|
|
7aca0a |
URL: http://search.cpan.org/dist/Filter/
|
|
|
7aca0a |
Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Filter-%{version}.tar.gz
|
|
|
7aca0a |
BuildRequires: coreutils
|
|
|
7aca0a |
BuildRequires: findutils
|
|
|
7aca0a |
BuildRequires: gcc
|
|
|
7aca0a |
BuildRequires: make
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl-devel
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl-interpreter
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(Config)
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(Getopt::Long)
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
7aca0a |
BuildRequires: sed
|
|
|
7aca0a |
# Run-time
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(:VERSION) >= 5.6
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(warnings)
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(XSLoader)
|
|
|
7aca0a |
# Tests
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(Cwd)
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.88
|
|
|
7aca0a |
%if %{with perl_Filter_enables_optional_test}
|
|
|
7aca0a |
# Optional tests
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(POSIX)
|
|
|
7aca0a |
%if !%{defined perl_bootstrap}
|
|
|
7aca0a |
# Class::XSAccessor not used
|
|
|
7aca0a |
# List::MoreUtils not used
|
|
|
7aca0a |
# Perl::MinimumVersion 1.20 not used
|
|
|
7aca0a |
# Test::CPAN::Meta 0.12 not used
|
|
|
7aca0a |
# Test::Kwalitee not used
|
|
|
7aca0a |
# Test::MinimumVersion 0.008 not used
|
|
|
7aca0a |
BuildRequires: %{?scl_prefix}perl(Test::Pod) >= 1.00
|
|
|
7aca0a |
# Test::Pod::Coverage 1.04 not used
|
|
|
7aca0a |
# Text::CSV_XS not used
|
|
|
7aca0a |
%endif
|
|
|
7aca0a |
%endif
|
|
|
7aca0a |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
7aca0a |
Requires: %{?scl_prefix}perl(Carp)
|
|
|
7aca0a |
|
|
|
7aca0a |
%{?perl_default_filter}
|
|
|
7aca0a |
|
|
|
7aca0a |
%description
|
|
|
7aca0a |
Source filters alter the program text of a module before Perl sees it, much as
|
|
|
7aca0a |
a C preprocessor alters the source text of a C program before the compiler
|
|
|
7aca0a |
sees it.
|
|
|
7aca0a |
|
|
|
7aca0a |
%prep
|
|
|
7aca0a |
%setup -q -n Filter-%{version}
|
|
|
7aca0a |
# Clean examples
|
|
|
7aca0a |
find examples -type f -exec chmod -x -- {} +
|
|
|
7aca0a |
sed -i -e '1 s|.*|%(%{?scl:scl enable %{scl} '}perl -MConfig -e %{?scl:'"}'%{?scl:"'}print $Config{startperl}%{?scl:'"}'%{?scl:"'}%{?scl:'})|' \
|
|
|
7aca0a |
examples/filtdef
|
|
|
7aca0a |
|
|
|
7aca0a |
%build
|
|
|
7aca0a |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" && make %{?_smp_mflags}%{?scl:'}
|
|
|
7aca0a |
|
|
|
7aca0a |
%install
|
|
|
7aca0a |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=$RPM_BUILD_ROOT%{?scl:'}
|
|
|
7aca0a |
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
|
|
|
7aca0a |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
7aca0a |
|
|
|
7aca0a |
%check
|
|
|
7aca0a |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
7aca0a |
|
|
|
7aca0a |
%files
|
|
|
7aca0a |
%doc examples Changes README
|
|
|
7aca0a |
%{perl_vendorarch}/auto/*
|
|
|
7aca0a |
%{perl_vendorarch}/Filter*
|
|
|
7aca0a |
%{_mandir}/man3/*
|
|
|
7aca0a |
|
|
|
7aca0a |
%changelog
|
|
|
7aca0a |
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 2:1.58-2
|
|
|
7aca0a |
- SCL
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Nov 16 2017 Petr Pisar <ppisar@redhat.com> - 2:1.58-1
|
|
|
7aca0a |
- 1.58 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.57-6
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.57-5
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.57-4
|
|
|
7aca0a |
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
7aca0a |
|
|
|
7aca0a |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.57-3
|
|
|
7aca0a |
- Perl 5.26 rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.57-2
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Mon Jan 23 2017 Petr Pisar <ppisar@redhat.com> - 2:1.57-1
|
|
|
7aca0a |
- 1.57 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.55-366
|
|
|
7aca0a |
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
7aca0a |
|
|
|
7aca0a |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.55-365
|
|
|
7aca0a |
- Increase release to favour standalone package
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.55-2
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Mon Jul 27 2015 Petr Pisar <ppisar@redhat.com> - 2:1.55-1
|
|
|
7aca0a |
- 1.55 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.54-347
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.54-346
|
|
|
7aca0a |
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.54-345
|
|
|
7aca0a |
- Increase release to favour standalone package
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.54-2
|
|
|
7aca0a |
- Perl 5.22 rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Fri Jan 23 2015 Petr Pisar <ppisar@redhat.com> - 2:1.54-1
|
|
|
7aca0a |
- 1.54 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Fri Jan 02 2015 Petr Pisar <ppisar@redhat.com> - 2:1.53-1
|
|
|
7aca0a |
- 1.53 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Dec 11 2014 Petr Pisar <ppisar@redhat.com> - 2:1.51-1
|
|
|
7aca0a |
- 1.51 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.50-6
|
|
|
7aca0a |
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.50-5
|
|
|
7aca0a |
- Increase Epoch to favour standalone package
|
|
|
7aca0a |
|
|
|
7aca0a |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.50-4
|
|
|
7aca0a |
- Perl 5.20 rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.50-3
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.50-2
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Jun 05 2014 Petr Pisar <ppisar@redhat.com> - 1:1.50-1
|
|
|
7aca0a |
- 1.50 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.49-5
|
|
|
7aca0a |
- Perl 5.18 re-rebuild of bootstrapped packages
|
|
|
7aca0a |
|
|
|
7aca0a |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.49-4
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:1.49-3
|
|
|
7aca0a |
- Link minimal build-root packages against libperl.so explicitly
|
|
|
7aca0a |
|
|
|
7aca0a |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:1.49-2
|
|
|
7aca0a |
- Perl 5.18 rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:1.49-1
|
|
|
7aca0a |
- Increase epoch to compete with perl.spec
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Apr 04 2013 Petr Pisar <ppisar@redhat.com> - 1.49-1
|
|
|
7aca0a |
- 1.49 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed Apr 03 2013 Petr Pisar <ppisar@redhat.com> - 1.48-1
|
|
|
7aca0a |
- 1.48 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-5
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.45-4
|
|
|
7aca0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1.45-3
|
|
|
7aca0a |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 1.45-2
|
|
|
7aca0a |
- Perl 5.16 rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 1.45-1
|
|
|
7aca0a |
- 1.45 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.43-3
|
|
|
7aca0a |
- Perl 5.16 rebuild
|
|
|
7aca0a |
|
|
|
7aca0a |
* Thu May 31 2012 Petr Pisar <ppisar@redhat.com> - 1.43-2
|
|
|
7aca0a |
- Skip optional Test::Pod on bootstraping perl
|
|
|
7aca0a |
|
|
|
7aca0a |
* Mon Feb 27 2012 Petr Pisar <ppisar@redhat.com> - 1.43-1
|
|
|
7aca0a |
- 1.43 bump
|
|
|
7aca0a |
|
|
|
7aca0a |
* Tue Feb 14 2012 Petr Pisar <ppisar@redhat.com> 1.39-1
|
|
|
7aca0a |
- Specfile autogenerated by cpanspec 1.78.
|