$ rust2rpm -s sequoia-octopus-librnp -p Traceback (most recent call last): File "/usr/bin/rust2rpm", line 33, in <module> sys.exit(load_entry_point('rust2rpm==16', 'console_scripts', 'rust2rpm')()) File "/usr/lib/python3.9/site-packages/rust2rpm/__main__.py", line 295, in main raise ValueError("No bins and no libs") ValueError: No bins and no libs
While the error message is technically true (no Rust binary, no Rust library), it would be very helpful if rust2rpm at least copied back the patch diff file, or even created a partial .spec file (just one without using %cargo_install, in this case).
Metadata Update from @decathorpe: - Issue set to the milestone: 23
This will require significant rewrite, so this won't happen in time for v23.
Metadata Update from @decathorpe: - Issue set to the milestone: 24 (was: 23)
This should be fixed with rust2rpm v24.
The %install scriptlet will be empty, since there's no way to know how to handle the install for shared libraries programmatically.
%install
Two possibilities are:
Metadata Update from @decathorpe: - Issue close_status updated to: Fixed - Issue set to the milestone: None (was: 24) - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.