dist/redhat: prevent build error on older Fedora/CentOS
Current scylla.spec fails build on Fedora 27, since python2-pystache is new package name that renamed on Fedora 28. But Fedora 28's python2-pystache has tag "Provides: pystache", so we can depends on old package name, this way we can build scylla.spec both on Fedora 27/28. Signed-off-by: Takuya ASADA <syuu@scylladb.com> Message-Id: <20181028175757.32224-1-syuu@scylladb.com>
This commit is contained in:
parent
21e22d4e1a
commit
854e6072a2
4
dist/redhat/scylla-jmx.spec.mustache
vendored
4
dist/redhat/scylla-jmx.spec.mustache
vendored
@ -10,8 +10,8 @@ Source0: scylla-jmx-package.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: systemd-units
|
||||
%{?fedora:BuildRequires: python2-pystache}
|
||||
%{?rhel:BuildRequires: pystache python-setuptools}
|
||||
BuildRequires: pystache
|
||||
%{?rhel:BuildRequires: python-setuptools}
|
||||
Requires: {{product}}-server java-1.8.0-openjdk-headless
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user