Bug 1770861

Summary: redfish-finder fails to install in Fedora rawhide
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: redfish-finderAssignee: Neil Horman <nhorman>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 32CC: nhorman, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-11 06:58:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1750909    

Description Miro Hrončok 2019-11-11 12:12:13 UTC
redfish-finder-0.4-1.fc32.noarch fails to install in Fedora rawhide:

  nothing provides /usr/libexec/platform-python needed by redfish-finder-0.4-1.fc32.noarch

Comment 1 Tomas Orsava 2019-11-11 12:15:05 UTC
The shebang made it all the way to upstream: https://github.com/nhorman/redfish-finder/blob/master/redfish-finder

Comment 2 Tomas Orsava 2019-11-11 12:17:27 UTC
Relevant part of the specfile:

    %prep
    %setup -q -n %{name}-%{githash}


    %build
    #noop here

    %install
    install -D -p -m 0755 redfish-finder %{buildroot}/%{_bindir}/redfish-finder
    install -D -p -m 0644 redfish-finder.1 %{buildroot}/%{_mandir}/man1/redfish-finder.1
    install -D -p -m 0644 ./redfish-finder.service %{buildroot}/%{_unitdir}/redfish-finder.service

As with any other Python executable, the specfile should make sure to change the shebang for a Fedora compatible one. Using /usr/bin/pathfix.py, or perhaps sed, to set it to %{__python3}.

Comment 3 Ben Cotton 2020-02-11 17:46:28 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 4 Igor Raits 2020-05-11 06:58:53 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

All subpackages of a package agaisnt which this bug was filled are now installable or removed from Fedora 32.

Thanks for taking care of it!