Re: F25 System Wide Change: Automatic Provides for Python RPM Packages

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

 



On Fri, Jul 1, 2016 at 2:48 AM, Tomas Orsava <torsava@xxxxxxxxxx> wrote:
> Hi Neal!
>
> I believe you will be able to use a macro for that so that dependencies are not tied to specific minor versions. I.e. something like:
>
> (Build)Requires: python%{python3_version}dist(somemodule)
>
> Of course that isn't very neat, so maybe 2 macros could be provided that would work thus:
>
> (Build)Requires: %python2dist somemodule
> (Build)Requires: %python3dist somemodule
>
> That would solve the issue but still allow Fedora to possibly ship 2 different minor versions of Python 3 for example.
>

What makes that different from just enabling the --majorver-provides
and allowing people to use "python3dist(somemodule)" or
"python2dist(somemodule)"?

That said, it's not out of the question to be able to work that way,
as Ruby works similarly in openSUSE (since their system allows them to
support more than one version of ruby in parallel if they want) and
libraries work that way in Mageia.


-- 
真実はいつも一つ!/ Always, there's only one truth!
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux