Re: Need some macro voodoo advice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jeff,

On Mon, 2006-09-18 at 08:44 -0400, Jeff Johnson wrote:
> On Sep 18, 2006, at 8:19 AM, Patrick wrote:>
> >
> > %{?_with_jb || ?_with_siptcp:Release 1.%{svnrev}_JB_SIPTCP%{dist}}>
> 
> This bit of ugliness might work (untested)
> 
> %if %{?_with_jb:1}%{?_with_siptcp:1}0
> Release 1.%{svnrev}_JB_SIPTCP%{dist}
> %endif

Works like a charm. Thanks!

> I'd simplify the mess if I were you. Do you *really* need more  
> crapola in the Release: field?
> Does add "JB", or "SIPTCP", or dist, or svnid *really* help anyone us  
> the package?

This is for testing purposes only so that it is clear to the test folks
what is exactly in the rpm and which options were used to build it.

Regards,
Patrick



_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux