Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process seemingly commented-out macro definitions correctly #374

Merged
merged 1 commit into from
May 10, 2024

Conversation

nforro
Copy link
Member

@nforro nforro commented May 9, 2024

It may seem that #%global prerel rc1 is a commented-out macro definition, however as the % is not escaped it is still being evaluated and the prerel macro becomes defined.

Macro definitions like this are now parsed correctly, having the commented_out attribute set to False.

It may seem that `#%global prerel rc1` is a commented-out macro
definition, however as the `%` is not escaped it is still being
evaluated and the `prerel` macro becomes defined.

Macro definitions like this are now parsed correctly, having
the `commented_out` attribute set to `False`.

Signed-off-by: Nikola Forró <nforro@redhat.com>
Copy link
Contributor

Build succeeded.
https://softwarefactory-project.io/zuul/t/packit-service/buildset/b3dce649e87547968c4695f357741d2a

✔️ pre-commit SUCCESS in 2m 14s
✔️ specfile-tests-rpm-deps SUCCESS in 1m 09s
✔️ specfile-tests-pip-deps SUCCESS in 1m 07s

@nforro
Copy link
Member Author

nforro commented May 9, 2024

/packit test

@nforro
Copy link
Member Author

nforro commented May 9, 2024

/packit-stg test

@nforro
Copy link
Member Author

nforro commented May 9, 2024

/packit test

@nforro
Copy link
Member Author

nforro commented May 9, 2024

/packit-stg test

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nforro nforro added the mergeit Zuul, merge it! label May 10, 2024
Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/9f84ec1cbe5c4c159666bd2db0dc7b11

✔️ pre-commit SUCCESS in 2m 20s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit cd9ee9e into main May 10, 2024
32 checks passed
@delete-merged-branch delete-merged-branch bot deleted the macro_definitions branch May 10, 2024 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit Zuul, merge it!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants