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

Use $releasever_major in release files #10951

Draft
wants to merge 1 commit into
base: rpm/develop
Choose a base branch
from

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Jun 21, 2024

This makes distribution upgrades with leapp smoother. Well, this PR is to test that theory.

This makes distribution upgrades with leapp smoother.
@evgeni
Copy link
Member

evgeni commented Jun 21, 2024

That's a feature of DNF 4.18, EL9 has 4.14… ;)

@ekohl
Copy link
Member Author

ekohl commented Jun 21, 2024

Of course, having that usable would be too easy. Is it bad that I'm already looking forward to dropping EL 9 support now? ;)

@evgeni
Copy link
Member

evgeni commented Jun 21, 2024

it's the circle of life :)

@@ -12,11 +12,11 @@
%define repo_dir %{_sysconfdir}/yum.repos.d

%if 0%{?rhel}
%define repo_dist el%{rhel}
%define repo_dist el$releasever_major
Copy link
Member Author

Choose a reason for hiding this comment

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

I think we should at least align both packages on %{dist}: #10952

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