Skip to content

Commit

Permalink
Use Epoch: 2 and respect the epoch in dependencies.
Browse files Browse the repository at this point in the history
Signed-off-by: Jindrich Novy <[email protected]>
  • Loading branch information
jnovy committed Jul 29, 2024
1 parent 4ee64ac commit edc1b77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpm/buildah.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Name: buildah
# Set different Epoch for copr
%if %{defined copr_username}
Epoch: 102
%else
Epoch: 2
%endif
# DO NOT TOUCH the Version string!
# The TRUE source of this specfile is:
Expand Down Expand Up @@ -85,7 +87,7 @@ or
%package tests
Summary: Tests for %{name}

Requires: %{name} = %{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
%if %{defined fedora}
Requires: bats
%endif
Expand Down

0 comments on commit edc1b77

Please sign in to comment.