rust2rpm/rust2rpm
Fabio Valentini d9aa58b6cb
rust2rpm: fix edge cases in cfg-expression evaluation
Some cfg-expressions evaluated to "False" because all target_arch
checks were evaluated as "True", but that broke in situations where
the cfg-expression checked for the *absence* of a match for a specific
target_arch.

With this change, cfg-expressions are now evaluated once for every
supported target_arch, and they evaluate to "True" if the expression
evaluated to "True" for *any* value of target_arch.
2022-11-07 20:57:50 +01:00
..
core add more tests for version comparisons and reformat with black 2022-11-03 21:40:20 +01:00
templates rust2rpm: fix crash in sorting of binary targets 2022-10-31 15:26:11 +01:00
tests rust2rpm: fix edge cases in cfg-expression evaluation 2022-11-07 20:57:50 +01:00
__init__.py rust2rpm: fix edge cases in cfg-expression evaluation 2022-11-07 20:57:50 +01:00
__main__.py rust2rpm: fall back to latest pre-release if there is no stable release 2022-10-11 14:19:08 +02:00
cfg.py rust2rpm: fix edge cases in cfg-expression evaluation 2022-11-07 20:57:50 +01:00
generator.py rust2rpm: fix crash in sorting of binary targets 2022-10-31 15:26:11 +01:00
licensing.py Enforce consistent formatting with black 2022-07-24 18:47:09 +02:00
log.py Enforce consistent formatting with black 2022-07-24 18:47:09 +02:00
spdx_to_fedora.csv Add CC-PDDC to license list 2022-07-14 16:12:58 -07:00
util.py Enforce consistent formatting with black 2022-07-24 18:47:09 +02:00