Compare commits

...

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Filter-1.60.tar.gz
SOURCES/Filter-1.58.tar.gz

@ -1 +1 @@
1438afbfd129e7ff18168ab04c9c360c48f62d7a SOURCES/Filter-1.60.tar.gz
483428bc3a89c39904c357ca4135110d40ae8fd5 SOURCES/Filter-1.58.tar.gz

@ -1,18 +1,14 @@
# Run optional test
%if ! (0%{?rhel})
%bcond_without perl_Filter_enables_optional_test
%else
%bcond_with perl_Filter_enables_optional_test
%endif
Name: perl-Filter
Epoch: 2
Version: 1.60
Release: 4%{?dist}
Version: 1.58
Release: 2%{?dist}
Summary: Perl source filters
License: GPL+ or Artistic
URL: https://metacpan.org/release/Filter
Source0: https://cpan.metacpan.org/authors/id/R/RU/RURBAN/Filter-%{version}.tar.gz
URL: http://search.cpan.org/dist/Filter/
Source0: http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Filter-%{version}.tar.gz
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
@ -24,6 +20,7 @@ BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(strict)
BuildRequires: sed
# Run-time
BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl(Carp)
@ -32,13 +29,9 @@ BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
# Tests
BuildRequires: perl(Cwd)
BuildRequires: perl(FindBin)
BuildRequires: perl(lib)
BuildRequires: perl(perl5db.pl)
BuildRequires: perl(Test::More) >= 0.88
%if %{with perl_Filter_enables_optional_test}
# Optional tests
BuildRequires: m4
BuildRequires: perl(POSIX)
%if !%{defined perl_bootstrap}
# Class::XSAccessor not used
@ -51,16 +44,9 @@ BuildRequires: perl(Test::Pod) >= 1.00
# Test::Pod::Coverage 1.04 not used
# Text::CSV_XS not used
%endif
BuildRequires: perl(vars)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
# For Filer::sh
Suggests: bash
# For Filter::cpp
Suggests: gcc
# For Filter::m4
Suggests: m4
%{?perl_default_filter}
@ -73,19 +59,19 @@ sees it.
%setup -q -n Filter-%{version}
# Clean examples
find examples -type f -exec chmod -x -- {} +
perl -i -MConfig -pe 's/^#!.*/$Config{startperl}/' examples/filtdef
sed -i -e '1 s|.*|%(perl -MConfig -e 'print $Config{startperl}')|' \
examples/filtdef
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"
%{make_build}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
%{make_install}
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
unset AUTHOR_TESTING FULLPERL IS_MAINTAINER PERL_CORE RELEASE_TESTING TRAVIS
make test
%files
@ -95,62 +81,8 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2:1.60-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2:1.60-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.60-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Aug 05 2020 Petr Pisar <ppisar@redhat.com> - 2:1.60-1
- 1.60 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.59-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.59-457
- Perl 5.32 re-rebuild of bootstrapped packages
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.59-456
- Increase release to favour standalone package
* Wed Feb 05 2020 Petr Pisar <ppisar@redhat.com> - 2:1.59-443
- Build-require Perl debugger for the tests
* Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 2:1.59-442
- Spec file cleanups: Use make_build and make_install macros
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.59-441
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.59-440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.59-439
- Perl 5.30 re-rebuild of bootstrapped packages
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.59-438
- Increase release to favour standalone package
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.59-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Aug 06 2018 Petr Pisar <ppisar@redhat.com> - 2:1.59-1
- 1.59 bump
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.58-418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.58-417
- Perl 5.28 re-rebuild of bootstrapped packages
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:1.58-416
- Increase release to favour standalone package
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 2:1.58-2
- Rebuilt for MSVSphere 8.8
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.58-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save