No description
Find a file
Igor Gnatenko 3076bbaa3a
macros: Pass -Ccodegen-units=1 in RUSTFLAGS
This has good impact on performance and binary size at cost of
compilation time. As nice side effect, it fixes bug which breaks
compilation of binaries in Fedora Rawhide.

For example, ffsend binary went from 107M to 70M.

References: https://bugzilla.redhat.com/show_bug.cgi?id=1701339
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-04-23 21:14:51 +02:00
data macros: Pass -Ccodegen-units=1 in RUSTFLAGS 2019-04-23 21:14:51 +02:00
rust2rpm Drop rustcfg req 2019-04-23 15:58:16 +02:00
.gitignore
LICENSE
MANIFEST.in Translate SPDX licenses to Fedora license tags, warn about "/" 2018-08-16 16:16:02 +02:00
README.md add support for feeding user configuration 2018-11-03 21:45:04 +01:00
requirements.txt Drop rustcfg req 2019-04-23 15:58:16 +02:00
setup.py buildsys: release++ 2019-04-23 15:58:16 +02:00
test.py Add support for prerelease versions 2019-01-28 09:15:18 +00:00
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]
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