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

Smooth upgrade path for yum-utils #327

Closed

Conversation

dmnks
Copy link
Contributor

@dmnks dmnks commented Feb 28, 2019

Changes the dnf-utils subpackage name to yum-utils for Fedora 31, ensuring the removal of the original yum-utils as well as consistency with RHEL.

For more details, please see the commit messages.

Similar change for the dnf-yum -> yum transition.

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

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

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

Copy link
Contributor

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.

@j-mracek j-mracek self-assigned this Mar 8, 2019
@dmnks dmnks force-pushed the yum-utils-conflict branch 6 times, most recently from daebc06 to 39daaff Compare March 19, 2019 16:47
@dmnks dmnks changed the title [spec] Update yum-utils conflict (RhBug:1680221) Smooth upgrade path for yum-utils Mar 19, 2019
@dmnks dmnks force-pushed the yum-utils-conflict branch 6 times, most recently from a8b67b8 to fd32408 Compare May 22, 2019 14:22
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)
@dmnks dmnks closed this May 30, 2019
@dmnks dmnks deleted the yum-utils-conflict branch May 30, 2019 14:43
@dmnks
Copy link
Contributor Author

dmnks commented May 30, 2019

This change would affect RHEL-8 so we have to discuss that internally first. I've closed this PR for the time being.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants