No description
Find a file
Zbigniew Jędrzejewski-Szmek e1f911661f Include linker flags for package note in %build_rustflags
%build_rustflags was used in %cargo_prep, which is executed in %prep,
when %buildsubdir is not set yet. To avoid this, insertion of flags is
moved to an environment variable that is set for %cargo_build and
%cargo_test.

The linker flag gets passed to rustc, and resulting binaries seem to have
note as expected.
2022-02-15 17:25:09 +01:00
data Include linker flags for package note in %build_rustflags 2022-02-15 17:25:09 +01:00
rust2rpm Update AGPL, GPL, LGPL for new SPDX identifiers 2022-01-30 13:10:08 -08:00
tools fedora-helper: Use f35 as a base for license generation 2021-03-07 21:40:31 +01:00
.gitignore gitignore: add /build/ 2018-01-08 20:08:43 +01:00
LICENSE
MANIFEST.in Translate SPDX licenses to Fedora license tags, warn about "/" 2018-08-16 16:16:02 +02:00
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 Support wildcards in 0.x versions 2022-01-09 08:08:17 +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