adjust epoch conditionals
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
868757fe5f
commit
22e5e8a916
12
skopeo.spec
12
skopeo.spec
@ -7,12 +7,6 @@
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} && ! 0%{?rhel}
|
||||
%global conditional_epoch 1
|
||||
%else
|
||||
%global conditional_epoch 2
|
||||
%endif
|
||||
|
||||
%global provider github
|
||||
%global provider_tld com
|
||||
%global project containers
|
||||
@ -26,7 +20,11 @@
|
||||
%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"})
|
||||
|
||||
Name: %{repo}
|
||||
Epoch: %{conditional_epoch}
|
||||
%if 0%{?fedora} && ! 0%{?rhel}
|
||||
Epoch: 1
|
||||
%else
|
||||
Epoch: 2
|
||||
%endif
|
||||
Version: %{gen_version}
|
||||
Release: %autorelease
|
||||
Summary: Inspect container images and repositories on registries
|
||||
|
Loading…
Reference in New Issue
Block a user