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
Smooth upgrade path for yum-utils #327
Conversation
dnf-plugins-core.spec
Outdated
| Conflicts: yum-utils < 1.1.31-513 | ||
| # we need to specify the version since we would conflict with ourselves | ||
| # otherwise (see the Provides below) | ||
| Conflicts: yum-utils <= 1.1.31-519 |
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.
Could be simpler to
Conflicts: yum-utils < 1.1.32
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.
If retired from F31, rather
%if 0%{?fedora} >= 31
Obsoletes: yum-utils < 1.1.32
Provides: yum-utils = %{version}
%else
Conflicts: yum-utils < 1.1.32
%endif
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.
https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages
The guidelines suggest just bumping the release one higher, not the version.
I think yum-utils < 1.1.31-520 is the right choice.
daebc06
to
39daaff
Compare
39daaff
to
7803b5d
Compare
a8b67b8
to
fd32408
Compare
Prior to F31, we had to choose a different name ("dnf-utils") for our
compat subpackage, to make it installable alongside the original
yum-utils.
With the original yum-utils being gone in F31, we no longer need to
maintain a different name. Let's choose "yum-utils" then, to achieve
the following:
1) simplicity and consistency with RHEL-8 (there's just one package name
on both distros)
2) a smooth upgrade path on Fedora for those systems that have
yum-utils < 4 installed (no need for an Obsoletes or Conflicts)
|
This change would affect RHEL-8 so we have to discuss that internally first. I've closed this PR for the time being. |
Changes the
dnf-utilssubpackage name toyum-utilsfor Fedora 31, ensuring the removal of the originalyum-utilsas well as consistency with RHEL.For more details, please see the commit messages.
Similar change for the dnf-yum -> yum transition.