[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Need some macro voodoo advice
- From: Patrick <rpm-list puzzled xs4all nl>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: Need some macro voodoo advice
- Date: Mon, 18 Sep 2006 15:35:01 +0200
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]