Hi,

> I think it makes sense. Please either open ticket in BZ or send a PR in Pagure.

OK I will open ticket in BZ and send the PR in Pagure.


I am not sure that "module capability"'s meaning.
But the macro variable is defined as a module scope.
Ref. https://src.fedoraproject.org/modules/perl/blob/master/f/perl.yaml#_161

> %{?!global with_rubypick:%global with_rubypick 1}

I am not sure if your mentioned code is correct.
I am going to refer below code that we know as a bootstrap logic, and also refer above Perl's logic.

%{?_with_bootstrap: %global bootstrap 1}

Jun



On Mon, Oct 16, 2017 at 12:39 PM, Pavel Valena <pvalena@redhat.com> wrote:
----- Original Message -----
> From: "Vít Ondruch" <vondruch@redhat.com>
> To: ruby-sig@lists.fedoraproject.org
> Sent: Monday, October 16, 2017 9:56:44 AM
> Subject: Re: A macro to build rpms/ruby without systemtap dependency
>
>
>
> I think it makes sense. Please either open ticket in BZ or send a PR in
> Pagure.
>
>
>
>
> Thx
>
>
>
>
> Vít
>
>
>
> Dne 15.10.2017 v 11:00 Jun Aruga napsal(a):
>
>
>
> Hello,
>
> I am working for ruby module.
> https://src.fedoraproject.org/modules/ruby
>
> I want a macro definition to build the ruby without systemtap rpm (+ dtrace
> command), such as below macro.
>
> %global with_rubypick 1

Is it not a module capability to change/define spec file macros?
Then it would be possible to change the above to[AFAIR]:

%{?!global with_rubypick:%global with_rubypick 1}

And then override it on module to 0.

Feel free to correct me if I'm wrong.

Pavel

>
> Because it is uncertainly when systemtap module will be prepared or not right
> now.
>
> Is it possible to update ruby.spec for that?
>
> Jun



--
Jun Aruga jaruga@redhat.com
IRC: jaruga, Office: TPB(Technology Park Brno) Building C 1F, Brno, Czech Republic