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

packaging/rhel: remove python3 path fixup in syslog-ng.spec #3663

Merged
merged 1 commit into from
May 5, 2021

Conversation

gaborznagy
Copy link
Collaborator

After PR #3647 lib/merge-grammar.py has python3 in it's shebang instead of "python",
there is no need for the sed command anymore in the .spec file (python2 is not supported).

Also, the sed expression currently creates an invalid python reference, see result:
#!/usr/bin/python33

Packaging CI jobs doesn't hit this issue, as they are creating packages from tarball
(as intended due to bison v3.7.6 which is not yet available on many platforms).
This bug prevented releasing on rpm platforms where the grammar files are changed.

This PR is not critical from OSE release point of view.

…log-ng.spec

After PR syslog-ng#3647 lib/merge-grammar.py has python3 in it's shebang instead of "python",
there is no need for the sed command anymore in the .spec file (python2 is not supported).

Also, the sed expression currently creates an invalid python reference, see result:
"#!/usr/bin/python33"

Packaging CI jobs doesn't hit this issue, as they are creating packages from tarball
(as intended due to bison v3.7.6 which is not yet available on many platforms).
This bug prevented releasing on rpm platforms where the grammar files are changed.

Signed-off-by: Gabor Nagy <gabor.nagy@oneidentity.com>
@gaborznagy
Copy link
Collaborator Author

@czanik Can you check this PR, please?

@kira-syslogng
Copy link
Contributor

Build SUCCESS

@czanik czanik self-requested a review May 5, 2021 08:30
@czanik
Copy link
Collaborator

czanik commented May 5, 2021

👍 tested the change both on RHEL and openSUSE, and both work fine.

Copy link
Collaborator

@czanik czanik left a comment

Choose a reason for hiding this comment

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

Works fine on the platforms I tested.

@MrAnno MrAnno merged commit d115ae9 into syslog-ng:master May 5, 2021
@gaborznagy gaborznagy deleted the fix-python-sed-in-spec-file branch May 5, 2021 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants