#1859 RPM macros defined in tag extra data not shown in mock config
Closed: Fixed by tkopecek. Opened by lsedlar.

If a tag defines a macro in extra data, this is not visibly be generating the mock config with mock-config command. It is honored by the actual build.

$ brew call getBuildConfig beaker-server-rhel-8-build
{'arches': 'x86_64',
 'extra': {'rpm.macro.dist': '.el8bkr'},
...}
$ brew mock-config --tag beaker-server-rhel-8-build --arch x86_64 | grep dist
config_opts['macros']['%distribution'] = 'Koji Testing'

Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.22

PR #2255

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

Metadata Update from @jcupova:
- Issue tagged with: testing-done

Commit 1fe319d9 fixes this issue

Commit 2bb460bc fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1859

Please continue any further discussion there.

Metadata
Related Pull Requests