Set Epoch for Fedora only

This commit is contained in:
Takao Fujiwara 2020-10-22 18:42:25 +09:00
parent 982688f7f2
commit d25b5e4776

View File

@ -3,7 +3,9 @@
Name: cldr-emoji-annotation
Version: 38~beta3
Release: 1%{?dist}
%if 0%{?fedora:1}%{?rhel:0}
Epoch: 1
%endif
# Annotation files are in Unicode license
Summary: Emoji annotation files in CLDR
License: Unicode
@ -20,7 +22,7 @@ This package provides the emoji annotation file by language in CLDR.
%package dtd
Summary: DTD files of CLDR common
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
BuildArch: noarch
%description dtd
@ -29,7 +31,7 @@ cldr-emoji-annotations.
%package devel
Summary: Files for development using cldr-annotations
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: pkgconfig
BuildArch: noarch