-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Description
Hello,
I'm attempting to rpm-package nusb as a dependency for the EdgeTX Companion rpm build (https://github.com/adelton/edgetx-fedora) and I hit
# rust2rpm nusb
# spectool -g rust-nusb.spec
# rpmbuild -br --define "_sourcedir $(pwd)" rust-nusb.spec
# dnf builddep ~/rpmbuild/SRPMS/rust-nusb-0.2.1-1.fc43.buildreqs.nosrc.rpm
[...]
Problem 1: nothing provides requested (crate(linux-raw-sys/default) >= 0.9.2 with crate(linux-raw-sys/default) < 0.10.0~)
Problem 2: nothing provides requested (crate(linux-raw-sys/ioctl) >= 0.9.2 with crate(linux-raw-sys/ioctl) < 0.10.0~)
In Fedora, there are
dnf list 'rust-linux-raw-sys*' | grep -v '+'
Updating and loading repositories:
Repositories loaded.
Available packages
rust-linux-raw-sys-devel.noarch 0.11.0-1.fc43 fedora
rust-linux-raw-sys0.3-devel.noarch 0.3.8-5.fc43 fedora
rust-linux-raw-sys0.4-devel.noarch 0.4.15-3.fc43 fedora
rust-linux-raw-sys0.6-devel.noarch 0.6.5-2.fc43 fedora
packaged, but no 0.9.2.
Is the strict version = "0.9.2" in
Line 26 in 318244f
| linux-raw-sys = { version = "0.9.2", features = ["ioctl"] } |
nusb or are newer versions of linux-raw-sys fine as well and the depencency could be relaxed, say to version = ">=0.9.2"?
I tried it and a build passes but I don't know if it could affect something negatively functionality-wise.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels