No description
Zbigniew Jędrzejewski-Szmek
fea18a3f0d
I'm keeping this separate becuase it's logically a seperate change. In the -devel package, we installed the files once. I think it's nice to mark them as %doc, so that it shows up correctly when filtered by rpm attributes. After a mock build with the changes here: $ rpm -Vv -p /var/lib/mock/fedora-rawhide-x86_64/result/rust-rust-ini-devel-0.17.0-6.fc37.noarch.rpm ... missing /usr/share/cargo/registry/rust-ini-0.17.0 missing /usr/share/cargo/registry/rust-ini-0.17.0/.cargo-checksum.json missing /usr/share/cargo/registry/rust-ini-0.17.0/Cargo.toml missing l /usr/share/cargo/registry/rust-ini-0.17.0/LICENSE missing d /usr/share/cargo/registry/rust-ini-0.17.0/README.rst missing /usr/share/cargo/registry/rust-ini-0.17.0/examples missing /usr/share/cargo/registry/rust-ini-0.17.0/examples/test.rs missing /usr/share/cargo/registry/rust-ini-0.17.0/rustfmt.toml missing /usr/share/cargo/registry/rust-ini-0.17.0/src missing /usr/share/cargo/registry/rust-ini-0.17.0/src/lib.rs |
||
---|---|---|
data | ||
rust2rpm | ||
tools | ||
.gitignore | ||
LICENSE | ||
MANIFEST.in | ||
NEWS | ||
README.md | ||
requirements.txt | ||
setup.py | ||
test.py | ||
tox.ini |
rust2rpm
Convert Rust crates to RPM.
.rust2rpm.conf
You can place configuration file which is used as source for additional information for spec generation.
Some simple example would be better than many words ;)
[DEFAULT]
unwanted-features =
compiler_builtins
rustc-dep-of-std
buildrequires =
pkgconfig(foo) >= 1.2.3
lib.requires =
pkgconfig(foo) >= 1.2.3
[fedora]
bin.requires =
findutils
buildrequires =
lib.requires =
lib+default.requires =
pkgconfig(bar) >= 2.0.0