Skip to content

Conversation

@bkircher
Copy link
Owner

Expand %define/%global values as they are read so self-appending macros settle into concrete strings, seed the builtin %{nil}, and allow empty macro replacements.

Add xscreensaver.spec for testing real-world recursive expansion.

@bkircher bkircher self-assigned this Oct 31, 2025
@bkircher bkircher added the bug label Oct 31, 2025
Expand `%define`/`%global` values as they are read so self-appending
macros settle into concrete strings, seed the builtin `%{nil}`, and
allow empty macro replacements.

Add xscreensaver.spec for testing real-world recursive expansion.
- keep stored macro definitions raw unless they self-reference
- add regression test covering deferred conditional expansion
@bkircher bkircher merged commit 8fb9dd4 into main Oct 31, 2025
16 checks passed
@bkircher bkircher deleted the endless-loop branch October 31, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants