From 8e2793a0e52e74259644330fdf7a2b33392295a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 27 Jun 2011 13:44:32 +0200 Subject: [PATCH] add %%perl_bootstrap 1 and example for readability --- macros.perl | 7 +++---- perl.spec | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/macros.perl b/macros.perl index 7b22d27..b29584d 100644 --- a/macros.perl +++ b/macros.perl @@ -53,10 +53,9 @@ export PERL_MM_USE_DEFAULT=1 # 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 -# 0 - for bootstrap -# 1 - without bootstrap - -%perl_bootstrap 0 +# Defined for bootstraping, undefined otherwise. Usage: +# %%if !%%{defined perl_bootstrap} ... %%endif +%perl_bootstrap 1 ############################################################################# # Macros to assist with generating a "-tests" subpackage in a semi-automatic diff --git a/perl.spec b/perl.spec index 82a7585..2997afa 100644 --- a/perl.spec +++ b/perl.spec @@ -17,7 +17,7 @@ Name: perl Version: %{perl_version} # release number must be even higher, because dual-lived modules will be broken otherwise -Release: 176%{?dist} +Release: 177%{?dist} Epoch: %{perl_epoch} Summary: Practical Extraction and Report Language Group: Development/Languages @@ -2054,8 +2054,8 @@ sed \ # Old changelog entries are preserved in CVS. %changelog -* Mon Jun 27 2011 arcela Mašláňová - 4:5.14.1-176 -- update macros -> add %%perl_bootstrap 0 +* Mon Jun 27 2011 Marcela Mašláňová - 4:5.14.1-177 +- update macros -> add %%perl_bootstrap 1 and example for readability - add into Module::Build dependency on perl-devel (contains macros.perl) * Thu Jun 23 2011 Marcela Mašláňová - 4:5.14.1-175