No description
Find a file
Zbigniew Jędrzejewski-Szmek 9e4c5fdd0f Stop including %doc in -devel packages
The documentation files are already included once in installation paths
underneath the crate directory. We need them there because the package might
use them in some way, and anyway we don't want to mess with the crate contents.
Adding them a second time under /usr/share/doc creates duplication. People
generally don't install rust-*-devel packages, and it doesn't make much sense
to provide documentation.

Fixes https://pagure.io/fedora-rust/rust2rpm/issue/164.
2021-12-11 11:07:24 +00:00
data macros: pass CFLAGS/CXXFLAGS to the processes started by cargo 2021-12-05 22:20:52 -08:00
rust2rpm Stop including %doc in -devel packages 2021-12-11 11:07:24 +00:00
tools fedora-helper: Use f35 as a base for license generation 2021-03-07 21:40:31 +01:00
.gitignore
LICENSE
MANIFEST.in
NEWS Version 20 2021-11-29 22:27:58 +01:00
README.md rust2rpm: allow removing unwanted features 2020-11-13 11:04:27 +01:00
requirements.txt metadata: replace semantic-version with a custom parser 2019-10-28 11:19:46 +01:00
setup.py setup: bump development status to "production" 2021-11-28 12:50:37 +01:00
test.py Always require upper-bound dependency with ~ sign 2021-11-22 13:46:56 +01:00
tox.ini Add python 3.10 to tox.ini 2021-10-14 18:41:02 +02:00

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