Mailinglist Archive: opensuse-buildservice (124 mails)

< Previous Next >
[opensuse-buildservice] Re: introducing new macros across the whole OBS?
On 10.11.2016 14:02, Neal Gompa wrote:

Why not pull in the dependency generator I upstreamed into RPM[1] into
openSUSE? Fedora is using it now in Fedora 25 and Rawhide[2][3], and
Mageia is using an earlier variant of it now. It establishes common
names for Python packages that provide egg-info or dist-info data
(egg/wheel metadata installed on the system) that can be used for
standardizing how Python dependencies are referenced.

this is certainly very useful and we're looking into it, but it doesn't
seem to solve my question?

to restate, I need to configure BuildRequires (not install-time
requirements) and pull in, as automagically as possible, all rpm
packages of "python module foo" for all supported pythons (that is
python2 and python3 at the moment, pypy3 in the near future (hopefully))

also, BuildRequires are evaluated by OBS before rpmbuild starts, so I
can't rely on the usual ways of injecting macros into the build environment.

(i'd also be interested in what Fedora has to say about the single-spec
thing, [1]. ISTM you don't do anything similar at the moment?
but i suppose that's for a different thread altogether)


< Previous Next >
Follow Ups