From a37a33e415e75512a59d832d75400fb333f32c10 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 21 Oct 2020 14:44:34 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/perl-srpm-macros#2a8bf8a582ea1ece56c7ab45690c2da3af779117 --- macros.perl-srpm | 19 ++++++ perl-srpm-macros.spec | 136 ++++++++++++++++++++++++++++++++++++++++++ sources | 0 3 files changed, 155 insertions(+) create mode 100644 macros.perl-srpm create mode 100644 perl-srpm-macros.spec create mode 100644 sources diff --git a/macros.perl-srpm b/macros.perl-srpm new file mode 100644 index 0000000..7067731 --- /dev/null +++ b/macros.perl-srpm @@ -0,0 +1,19 @@ +# Copyright (c) 2012 Petr Pisar . +# This file is distributed under the terms of GNU GPL license version 3, or +# any later version. + +# This file contains macros that can be used for building source RPM package +# from git source repository. This file must present in minimal build root to +# take effect. +# This file must not use Perl or any non-minimal-build-root package. The +# purpose is to enable bootstrapping perl. + +# Perl bootstrap For rebuild of Perl and all related packages is needed +# switch, which enable only vital build requires. This could help cyclic +# dependencies, for example: perl-Test-Minimum-Version <-> +# perl-Perl-Minimum-Version Defined for bootstraping, undefined otherwise. +# Usage: %%if !%%{defined perl_bootstrap} ... %%endif +#%%perl_bootstrap 1 + +# Perl macro, no longer part of rpm >= 4.15 +%__perl %{_bindir}/perl diff --git a/perl-srpm-macros.spec b/perl-srpm-macros.spec new file mode 100644 index 0000000..3d5f3cb --- /dev/null +++ b/perl-srpm-macros.spec @@ -0,0 +1,136 @@ +Name: perl-srpm-macros +Version: 1 +Release: 38%{?dist} +Summary: RPM macros for building Perl source package from source repository +License: GPLv3+ +Source0: macros.perl-srpm +BuildArch: noarch + +%description +These RPM macros are used for building Perl source packages from source +repositories. They influence build-requires set into the source package. + +%install +install -m 644 -D "%{SOURCE0}" \ + '%{buildroot}%{_rpmconfigdir}/macros.d/macros.perl-srpm' + +%files +%{_rpmconfigdir}/macros.d/macros.perl-srpm + +%changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 26 2020 Jitka Plesnikova - 1-37 +- Disable perl_bootstrap for perl 5.32 rebuild + +* Fri Jun 26 2020 Jitka Plesnikova - 1-36 +- Disable perl_bootstrap for perl 5.32 rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 1-35 +- Perl 5.32 rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 1-34 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jun 12 2019 Jitka Plesnikova - 1.32 +- Define %%__perl, because in rpm 4.15 those are no longer defined + +* Sun Jun 02 2019 Jitka Plesnikova - 1-31 +- Disable perl_bootstrap for perl 5.30 rebuild + +* Wed Apr 24 2019 Jitka Plesnikova - 1-30 +- Perl 5.30 rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 1-29 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1-28 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 30 2018 Jitka Plesnikova - 1-27 +- Disable perl_bootstrap for perl 5.28 rebuild + +* Tue Jun 26 2018 Jitka Plesnikova - 1-26 +- Perl 5.28 rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 1-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 06 2017 Jitka Plesnikova - 1-23 +- Disable perl_bootstrap for perl 5.26 rebuild + +* Fri Jun 02 2017 Jitka Plesnikova - 1-22 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed May 18 2016 Jitka Plesnikova - 1-20 +- Disable perl_bootstrap for perl 5.24 rebuild + +* Sat May 14 2016 Jitka Plesnikova - 1-19 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 10 2015 Jitka Plesnikova - 1.16 +- Disable perl_bootstrap for perl 5.22 rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 1.15 +- Perl 5.22 rebuild + +* Sun Sep 07 2014 Jitka Plesnikova - 1-14 +- Disable perl_bootstrap for perl 5.20 rebuild + +* Tue Aug 26 2014 Jitka Plesnikova - 1-13 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Feb 03 2014 Petr Pisar - 1-11 +- Move macro files into %%{_rpmconfigdir}/macros.d + +* Tue Aug 13 2013 Jitka Plesnikova - 1-10 +- Disable perl_bootstrap for perl 5.18 rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Fri Jul 12 2013 Petr Pisar - 1-8 +- Perl 5.18 rebuild + +* Thu Feb 28 2013 Ralf Corsépius - 1-7 +- Remove %%config from %%{_sysconfdir}/rpm/macros.* + (https://fedorahosted.org/fpc/ticket/259). + +* Thu Feb 14 2013 Fedora Release Engineering - 1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar - 1-4 +- Disable perl_bootstrap for perl 5.16 rebuild + +* Wed Jun 06 2012 Petr Pisar - 1-3 +- Perl 5.16 rebuild + +* Wed Jun 06 2012 Petr Pisar - 1-2 +- Enable perl_bootstrap for perl 5.16 rebuild + +* Tue May 15 2012 Petr Pisar - 1-1 +- Introduce Perl SRPM macros as a standalone package + + diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29