M3DZIK / rpm

RPMs spec files for all Medzik's COPR repositories
https://copr.fedorainfracloud.org/coprs/medzik/
2 stars 1 forks source link

dnf refuses to install darling rpm due to nothing provides /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 #4

Closed alexfanqi closed 1 month ago

alexfanqi commented 1 month ago

Hi, thanks a lot for such a wealth of rpm packages! I tried to install darling-0.0.0.4224.203af1-3.fc41.x86_64, but got the following error

alexfanqi@fed:~$ sudo dnf install darling
Last metadata expiration check: 0:00:08 ago on Sat 03 Aug 2024 08:27:24 PM CST.
Error: 
 Problem: conflicting requests
  - nothing provides /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 needed by darling-0.0.0.4224.203af1-3.fc41.x86_64 from copr:copr.fedorainfracloud.org:medzik:darling
  - nothing provides /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby needed by darling-0.0.0.4224.203af1-3.fc41.x86_64 from copr:copr.fedorainfracloud.org:medzik:darling
(try to add '--skip-broken' to skip uninstallable packages or '--setopt=optional_metadata_types=filelists' to load additional filelists metadata)

It seems this is what upstream expected. https://github.com/darlinghq/darling/blob/203af1f604727e13032df1870e3491572e7d6704/rpm/SPECS/darling.spec#L15

I suspect you'd need to copy that line to your rpm spec.

M3DZIK commented 1 month ago

Thanks for reporting this error, I'll try to fix it soon.

M3DZIK commented 1 month ago

Fixed obraz