Re: python-unversioned-command for epel8 (provides /usr/bin/python)

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

 





On Thu, Jul 22, 2021 at 12:50 PM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
On 22. 07. 21 21:47, Miro Hrončok wrote:
> On 22. 07. 21 21:25, Troy Dawson wrote:
>> I've been bitten by this yet again.  A package needing /usr/bin/python and
>> not python2 or python3.  And it's way down in the code so it's hard to
>> patch.  But, it works fine on Fedora.
>>
>> Is anyone in the middle of porting python-unversioned-command over to epel8?
>> If not, does anyone object to me porting it over?
>
> I wonder how would that package work?
>
> /usr/bin/python is co-owned by several RHEL-proper packages and managed by
> alternatives.

I hit "Send" to early, apologies, here is the rest of my email:

Could you please share the package spec file with us (Python Maint team at Red
Hat, specifically Tomas Orsava and me) before you actually push it to EPEL, so
we get a chance to review it (and maybe test it)?

On RHEL 8, if there is something that provides /usr/bin/python I can't find it, nor can dnf.
I've been running RHEL 8 since 8.0, I'm currently at 8.4 and this is what I have.

# dnf provides '/usr/bin/python'
  Error: No Matches found
# ls /usr/bin/python
  ls: cannot access '/usr/bin/python': No such file or directory
# which python
  /usr/bin/which: no python in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)

On Fedora, it's rather simple, just look at the contents of python-unversioned-command
Two files, no scripts or triggers.

# rpm -ql python-unversioned-command
  /usr/bin/python
  /usr/share/man/man1/python.1.gz
# ls -lh /usr/bin/python
  lrwxrwxrwx. 1 root root 9 May 18 03:48 /usr/bin/python -> ./python3
# ls -lh /usr/share/man/man1/python.1.gz
  lrwxrwxrwx. 1 root root 14 May 18 03:48 /usr/share/man/man1/python.1.gz -> ./python3.1.gz

It looks like it will be very simple spec file.
I'll probably just cut it out of the Fedora python spec file.

Troy

_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux