From 854e6072a2ba72e09c9540a027a96f25ba927531 Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Mon, 29 Oct 2018 02:57:57 +0900 Subject: [PATCH] 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 Message-Id: <20181028175757.32224-1-syuu@scylladb.com> --- dist/redhat/scylla-jmx.spec.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/redhat/scylla-jmx.spec.mustache b/dist/redhat/scylla-jmx.spec.mustache index ac71f54..5f9b997 100644 --- a/dist/redhat/scylla-jmx.spec.mustache +++ b/dist/redhat/scylla-jmx.spec.mustache @@ -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