Use correct Epoch
- Related: RHEL-34195 Signed-off-by: Jindrich Novy <jnovy@redhat.com>
This commit is contained in:
parent
f3f69621ff
commit
fe7970948e
@ -28,6 +28,8 @@ Name: buildah
|
|||||||
# Set different Epoch for copr
|
# Set different Epoch for copr
|
||||||
%if %{defined copr_username}
|
%if %{defined copr_username}
|
||||||
Epoch: 102
|
Epoch: 102
|
||||||
|
%else
|
||||||
|
Epoch: 2
|
||||||
%endif
|
%endif
|
||||||
# DO NOT TOUCH the Version string!
|
# DO NOT TOUCH the Version string!
|
||||||
# The TRUE source of this specfile is:
|
# The TRUE source of this specfile is:
|
||||||
@ -85,7 +87,7 @@ or
|
|||||||
%package tests
|
%package tests
|
||||||
Summary: Tests for %{name}
|
Summary: Tests for %{name}
|
||||||
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
||||||
%if %{defined fedora}
|
%if %{defined fedora}
|
||||||
Requires: bats
|
Requires: bats
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user