diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.gitignore diff --git a/.perl-srpm-macros.metadata b/.perl-srpm-macros.metadata new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.perl-srpm-macros.metadata diff --git a/SOURCES/macros.perl-srpm b/SOURCES/macros.perl-srpm new file mode 100644 index 0000000..114c422 --- /dev/null +++ b/SOURCES/macros.perl-srpm @@ -0,0 +1,17 @@ +# 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 + diff --git a/SPECS/perl-srpm-macros.spec b/SPECS/perl-srpm-macros.spec new file mode 100644 index 0000000..2ccff3a --- /dev/null +++ b/SPECS/perl-srpm-macros.spec @@ -0,0 +1,98 @@ +Name: perl-srpm-macros +Version: 1 +Release: 25%{?dist} +Summary: RPM macros for building Perl source package from source repository +Group: Development/Libraries +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 +* 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 + +