commit 68f73b13142cc514b64f8c3c90ba92a7d67e4904 Author: Toshaan Bharvani Date: Fri Oct 7 10:36:27 2022 +0200 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/macros.perl-srpm b/SOURCES/macros.perl-srpm new file mode 100644 index 0000000..7067731 --- /dev/null +++ b/SOURCES/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/SPECS/perl-srpm-macros.spec b/SPECS/perl-srpm-macros.spec new file mode 100644 index 0000000..e8ae62c --- /dev/null +++ b/SPECS/perl-srpm-macros.spec @@ -0,0 +1,146 @@ +Name: perl-srpm-macros +Version: 1 +Release: 41%{?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 +* Mon Aug 09 2021 Mohan Boddu - 1-41 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1-40 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Wed Jan 27 2021 Fedora Release Engineering - 1-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* 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 + +