f2d6e4b
Name:           perl-generators
f854ec2
Version:        1.12
f854ec2
Release:        1%{?dist}
f2d6e4b
Summary:        RPM Perl dependencies generators
f2d6e4b
License:        GPL+
f2d6e4b
URL:            http://jplesnik.fedorapeople.org/generators
f2d6e4b
Source0:        %{url}/generators-%{version}.tar.gz
f2d6e4b
BuildArch:      noarch
a85088c
BuildRequires:  coreutils
a85088c
BuildRequires:  make
eac5743
%if !%{defined perl_bootstrap}
eac5743
# Break build cycle: reflexive dependency
eac5743
BuildRequires:  perl-generators
eac5743
%endif
c461396
BuildRequires:  perl-interpreter >= 4:5.22.0-351
c13edb9
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
feea81a
BuildRequires:  perl(File::Copy)
feea81a
BuildRequires:  perl(File::Find)
f2d6e4b
BuildRequires:  perl(strict)
f2d6e4b
BuildRequires:  perl(warnings)
feea81a
BuildRequires:  sed
c461396
# Run-time:
c461396
BuildRequires:  perl(Fedora::VSP)
c461396
BuildRequires:  perl(File::Basename)
c461396
# Optional run-time:
c461396
# version not used at tests
c461396
# Tests:
c461396
BuildRequires:  perl(lib)
c461396
BuildRequires:  perl(Exporter)
c461396
BuildRequires:  perl(Test::More)
c461396
BuildRequires:  perl(Test::Simple)
f2d6e4b
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
557adf4
Requires:       perl-interpreter >= 4:5.22.0-351
6cbe1ae
# Per Perl packaging guidelines, build-requiring perl-generators should
6cbe1ae
# deliver Perl macros
6cbe1ae
Requires:       perl-macros
eac5743
%if %{defined perl_bootstrap}
feea81a
# Supply run-time dependencies manually when perl-generators is not available
eac5743
Requires:       perl(Fedora::VSP)
c461396
Requires:       perl(File::Basename)
eac5743
%endif
c461396
Recommends:     perl(version)
f2d6e4b
f2d6e4b
# The generators and attribute files were split from rpm-build
f2d6e4b
Conflicts:      rpm-build < 4.11.2-15
f2d6e4b
f2d6e4b
%description
f2d6e4b
This package provides RPM Perl dependencies generators which are used for
f2d6e4b
getting provides and requires from Perl binaries and modules.
f2d6e4b
f2d6e4b
%prep
f2d6e4b
%setup -q -n generators-%{version}
f2d6e4b
f2d6e4b
%build
c13edb9
perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORSCRIPT=%{_rpmconfigdir} \
3ecf510
     NO_PACKLIST=1 NO_PERLLOCAL=1
3ecf510
%{make_build}
f2d6e4b
f2d6e4b
%install
3ecf510
%{make_install}
f2d6e4b
%{_fixperms} $RPM_BUILD_ROOT/*
f2d6e4b
f2d6e4b
mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs/
f2d6e4b
install -p -m 644 fileattrs/* '%{buildroot}%{_rpmconfigdir}/fileattrs'
f2d6e4b
f2d6e4b
%check
f2d6e4b
make test
f2d6e4b
f2d6e4b
%files
f2d6e4b
%doc Changes TODO
f854ec2
%{_rpmconfigdir}/perl*
f2d6e4b
%{_rpmconfigdir}/fileattrs/perl*.attr
f2d6e4b
f2d6e4b
%changelog
f854ec2
* Wed Feb 10 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-1
5fabc53
- 1.12 bump
5fabc53
  Add perltest.attr to generate dependencies from /usr/libexec/
f854ec2
bd38282
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-10
bd38282
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
bd38282
c461396
* Thu Jul 30 2020 Petr Pisar <ppisar@redhat.com> - 1.11-9
c461396
- Specify all dependencies
c461396
fe04f12
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-8
fe04f12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
fe04f12
63f97a1
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-7
63f97a1
- Perl 5.32 re-rebuild of bootstrapped packages
63f97a1
61f332a
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-6
61f332a
- Perl 5.32 rebuild
61f332a
25ee0e3
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-5
25ee0e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
25ee0e3
d991618
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-4
d991618
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d991618
238fa19
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-3
238fa19
- Perl 5.30 re-rebuild of bootstrapped packages
238fa19
e811d0b
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-2
e811d0b
- Perl 5.30 rebuild
e811d0b
c13edb9
* Thu May 23 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.11-1
c13edb9
- 1.11 bump
c13edb9
505e5b2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-11
505e5b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
505e5b2
436caf9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-10
436caf9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
436caf9
f5dfc3e
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-9
f5dfc3e
- Perl 5.28 re-rebuild of bootstrapped packages
f5dfc3e
61f3832
* Tue Jun 26 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-8
61f3832
- Perl 5.28 rebuild
61f3832
3517fe5
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-7
3517fe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3517fe5
73aa508
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-6
73aa508
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
73aa508
557adf4
* Thu Jul 13 2017 Petr Pisar <ppisar@redhat.com> - 1.10-5
557adf4
- perl dependency renamed to perl-interpreter
557adf4
  <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
557adf4
f59a682
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-4
f59a682
- Perl 5.26 re-rebuild of bootstrapped packages
f59a682
0843ee7
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-3
0843ee7
- Perl 5.26 rebuild
0843ee7
87c9a69
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
87c9a69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
87c9a69
feea81a
* Tue Jul 12 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.10-1
feea81a
- 1.10 bump
feea81a
0adc57a
* Thu Jun 23 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-1
0adc57a
- 1.09 bump
0adc57a
6cbe1ae
* Wed Jun 15 2016 Petr Pisar <ppisar@redhat.com> - 1.08-4
6cbe1ae
- Run-require perl-macros to provide the Perl macros for building Perl packages
6cbe1ae
eac5743
* Wed Jun 01 2016 Petr Pisar <ppisar@redhat.com> - 1.08-3
eac5743
- Supply run-time depenencies manually when perl-generators is not available on
eac5743
  bootstrap
eac5743
f7253dd
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-2
f7253dd
- Perl 5.24 rebuild
f7253dd
24f3efb
* Mon Mar 21 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.08-1
24f3efb
- 1.08 bump; Resolves BZ#1318658
24f3efb
50c42df
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-3
50c42df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
50c42df
797ab6e
* Tue Oct 20 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-2
797ab6e
- Add epoch to perl BR
797ab6e
8720741
* Tue Oct 20 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-1
8720741
- 1.07 bump
8720741
- Return perl version as normalized perl(:VERSION) symbol
8720741
336714e
* Tue Oct 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-1
336714e
- 1.06 bump
336714e
1834765
* Tue Sep 29 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-1
1834765
- 1.05 bump
1834765
- Resolves: bug #1267267
1834765
a85088c
* Wed Jul 29 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.04-1
a85088c
- 1.04 bump
a85088c
1ea6f4c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3
1ea6f4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1ea6f4c
374e4a2
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-2
374e4a2
- Perl 5.22 rebuild
374e4a2
bd2d525
* Mon Feb 02 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-1
bd2d525
- 1.03 bump
bd2d525
- Update parcing of here-doc and quoted section
bd2d525
5c24704
* Fri Dec 12 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.02-1
5c24704
- 1.02 bump
5c24704
5e9f02e
* Tue Oct 21 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.01-1
5e9f02e
- 1.01 bump
5e9f02e
71a53cc
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.00-2
71a53cc
- Perl 5.20 rebuild
71a53cc
f2d6e4b
* Mon Jun 16 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.00-1
f2d6e4b
- Introduce Perl generators as a standalone package