>>>> "PV" == Petr Viktorin
<pviktori(a)redhat.com> writes:
PV> No, getting. Example expansion:
PV> %{python_dist_name ndg_HTTPSclient} => ndg-httpsclient
Ah, OK, that makes much more sense.
PV> Would "python3_requires" and "python3_buildrequires" be
better?
I think so.
PV> Please do and share your thoughts, I trust you have a good feel for
PV> consistency here.
Yeah, I really wish I had actually pushed through the macro work I had
done last year. You can see that at
https://pagure.io/python-macros
A spec would look like this:
https://pagure.io/python-macros/blob/master/f/test1.spec
And most of that is actually implemented. Note the almost complete
absence of version-specific bits. That package builds for an arbitrary
number of system python versions automatically.
- J<