-
Notifications
You must be signed in to change notification settings - Fork 248
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
version: replace dash with tilda #7414
Conversation
We released a new SSSD beta version as 2.10.0-beta1, unfortunately this caused issues in the rpm build system as this value is set as the Version field but dash is not allowed in this field therefore `make rpms` was broken. Fedora guidelines requires to use ~ as a prerelease separator so two NVR versions compare correctly. For example: * 2.10.0 < 2.10.0-beta1 * 2.10.0~beta1 < 2.10.0 We will follow this guideline to make `make rpms` work again and to avoid any further rpm issues. Next GitHub release will also follow this guideline.
@sumit-bose @alexey-tikhonov this is ready for review, failures are unrelated. |
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.
Hi,
thanks, I'm fine with the changes, so ACK.
But wouldn't it be more easy to have this and the patch from #7415 in a single PR which would hopefully have a green CI run?
bye,
Sumit
This does not work on Fedora 41, it looks like it is not supported by dnf5.
Ok, I moved it here. |
About dnf: looks like it's a confirmed bug - rpm-software-management/dnf5#700 |
elif [[ "$DISTRO_BRANCH" == -redhat-* ]]; then | ||
[ $# != 0 ] && sudo -p "$prompt" yum --assumeyes install -- "$@" |& | ||
[ $# != 0 ] && sudo -p "$prompt" yum --assumeyes install "$@" |& |
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.
btw, 'yum' is deprecated since RHEL9
We released a new SSSD beta version as 2.10.0-beta1, unfortunately
this caused issues in the rpm build system as this value is set as
the Version field but dash is not allowed in this field therefore
make rpms
was broken.Fedora guidelines requires to use ~ as a prerelease separator so
two NVR versions compare correctly. For example:
We will follow this guideline to make
make rpms
work again andto avoid any further rpm issues. Next GitHub release will also
follow this guideline.