[perl] Apply conditionals for dual life patches.

Petr Pisar ppisar at redhat.com
Fri Aug 10 13:19:20 UTC 2012


On Fri, Aug 10, 2012 at 12:29:40PM +0000, Marcela Mašláňová wrote:
> commit c2f1074f81184ed4c2e5d6de45684435dc65dfa7
> Author: Marcela Mašláňová <mmaslano at redhat.com>
> Date:   Fri Aug 10 14:29:05 2012 +0200
> 
>     Apply conditionals for dual life patches.
> 
>  perl.spec |  134 ++++++++++++++++++++++++++++++++++++++++++++----------------
>  1 files changed, 98 insertions(+), 36 deletions(-)
> ---
> diff --git a/perl.spec b/perl.spec
> index d2e1ad8..5a13caa 100644
> --- a/perl.spec
> +++ b/perl.spec
> @@ -7,6 +7,9 @@
>  %global parallel_tests 1
>  %global tapsetdir   %{_datadir}/systemtap/tapset
>  
> +%global dual_life 0
> +%global rebuild_from_scratch 0
> +
[...]
>  
> -
> +%if %{dual_life} || %{rebuild_from_scratch}
>  %package Module-Build
>  Summary:        Perl module for building and installing Perl modules
>  Group:          Development/Libraries

I don't know why not all %dual_life packages have %rebuild_from_scratch
condition too.

But more imporantly, why not to use perl_bootstrap instead of
rebuild_from_scratch?

-- Petr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/perl-devel/attachments/20120810/79e0f0ab/attachment.sig>


More information about the perl-devel mailing list