We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88a0b56 commit 30174b0Copy full SHA for 30174b0
dnf.spec
@@ -144,6 +144,11 @@ Provides: %{name}-conf = %{version}-%{release}
144
Common data and configuration files for DNF
145
146
%package -n %{yum_subpackage_name}
147
+# DNF == YUM4; prefix version with 4.0 to make it higher than any version of YUM3
148
+# save and restore version, otherwise setting Version affects other sub-packages
149
+%global pkg_version %{version}
150
+Version: 4.0.%{version}
151
+%global version %{pkg_version}
152
Requires: %{name} = %{version}-%{release}
153
Summary: %{pkg_summary}
154
%if 0%{?fedora}
0 commit comments