https://bugzilla.redhat.com/show_bug.cgi?id=2292542



--- Comment #11 from Ben Beasley <[email protected]> ---
(In reply to Jonathan Steffan from comment #10)
> https://bugzilla.redhat.com/show_bug.cgi?id=2298528 I assume this needs to
> be installed on the machine that is running the rust2rpm with the
> rust2rpm.toml definition?

Like any unpackaged dependency, it needs to be preinstalled in the mock chroot.
There are a few ways to handle this, but something like

$ mock -r fedora-rawhide-x86_64 --clean
$ mock -r fedora-rawhide-x86_64 -i /path/to/built/dependency/*.noarch.rpm
$ fedpkg --release rawhide mockbuild --no-clean

or,

$ fedpkg --release rawhide mockbuild --no-clean --no-cleanup-after --
--postinstall

Or you can test in COPR.

Running rust2rpm just generates a spec file; it doesn’t require the package’s
dependencies to be installed.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2292542

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202292542%23c11

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to