generator: fix application of lib+feature.requires rust2rpm.conf settings
This commit is contained in:
parent
8ca9320328
commit
092de1b186
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ def spec_render_crate(
|
|||
conf_key = "lib"
|
||||
else:
|
||||
conf_key = f"lib+{feature}"
|
||||
conf_lib_requires[conf_key] = to_list(distconf.get(conf_key))
|
||||
conf_lib_requires[conf_key] = to_list(distconf.get(f"{conf_key}.requires"))
|
||||
|
||||
conf_unwanted_features = to_list(distconf.get("unwanted-features"))
|
||||
for feature in conf_unwanted_features:
|
||||
|
|
Loading…
Reference in a new issue