Skip to content

synthesized macros source overlay fails with some specs #31

@reubeno

Description

@reubeno

This results in the macro file not being copied into the chroot so the load at the top of the spec fails.

Examples:
In the package autoconf, it ends up in an if:

%if "%{name}" != "autoconf"
# We're still on the autoconf-latest package
Requires: %{autoconf}
Source9999: autoconf.azl.macros
...

There are a few packages (like abattis-cantarell-fonts) where it ends up after an implicit package declaration:

%fontpkg -a

Source9999: abattis-cantarell-fonts.azl.macros

I suspect this is really a bug in the AddTag implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: overlaysOverlay system: spec and file modifications driven by TOML declarationsbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions