Re: [Fedora-packaging] Expanding RPM macros

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


On Sun, Nov 02, 2014 at 11:33:00PM +0400, Peter Lemenkov wrote:
> One of my packages defines an essential information regarding the API
> (API version string) during the %build stage. It's possible to extract
> this information by invoking a binary from the %{buildroot} with
> certain parameters. I'd love to add this information to the spec-file
> during to Provides. Something like
> Provides: %{name}_api_ver = %(%{buildroot}/bin/app --some params)

I think you could do this with a dependency genrator -- see
<>. However, this
may be a little bit abusive as the intention is to have generalized
per-language generators....

Matthew Miller
Fedora Project Leader
Rpm-list mailing 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