-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fixes #12798: zypper module arch and version specification for zypper commands is not correct #777
Conversation
Do not merge for now. |
@@ -33,7 +33,7 @@ import re | |||
|
|||
rpm_cmd = os.environ.get('CFENGINE_TEST_RPM_CMD', "/bin/rpm") | |||
rpm_quiet_option = ["--quiet"] | |||
rpm_output_format = "Name=%{name}\nVersion=%{version}-%{release}\nArchitecture=%{arch}\n" | |||
rpm_output_format = "Name=%{name}\nVersion=%|EPOCH?{%{epoch}:}:{}|%{version}-%{release}\nArchitecture=%{arch}\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This syntax works in RHEL3 ans SLES11, it should be safe to use everywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works on SLES11, I still need to test on SLES10 and SLES12.
Commit modified |
219d654
to
c111b32
Compare
…le, which breaks version detection
Commit modified |
c111b32
to
2077333
Compare
This PR is not mergeable to upper versions. |
OK, merging this PR |
https://www.rudder-project.org/redmine/issues/12798