Blame SOURCES/macros.perl-srpm

d3f094
# Copyright (c) 2012  Petr Pisar <ppisar@redhat.com>.
d3f094
# This file is distributed under the terms of GNU GPL license version 3, or
d3f094
# any later version.
d3f094
d3f094
# This file contains macros that can be used for building source RPM package
d3f094
# from git source repository. This file must present in minimal build root to
d3f094
# take effect.
d3f094
# This file must not use Perl or any non-minimal-build-root package. The
d3f094
# purpose is to enable bootstrapping perl.
d3f094
 
d3f094
# Perl bootstrap For rebuild of Perl and all related packages is needed
d3f094
# switch, which enable only vital build requires. This could help cyclic
d3f094
# dependencies, for example: perl-Test-Minimum-Version <->
d3f094
# perl-Perl-Minimum-Version Defined for bootstraping, undefined otherwise.
d3f094
# Usage: %%if !%%{defined perl_bootstrap} ... %%endif
d3f094
#%%perl_bootstrap 1
d3f094
d3f094
# Perl macro, no longer part of rpm >= 4.15
d3f094
%__perl %{_bindir}/perl