From 6a57d2af68425ab166119f4d7f5cf3464e562ea0 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Mon, 5 Feb 2018 15:06:57 +0100 Subject: [PATCH] Be more explicit about Python build dependencies - Require python2-devel - Tell autotools that PYTHON is python2 --- itstool.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/itstool.spec b/itstool.spec index d7c94dc..366e28c 100644 --- a/itstool.spec +++ b/itstool.spec @@ -1,6 +1,6 @@ Name: itstool Version: 2.0.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: ITS-based XML translation tool Group: Development/Tools @@ -11,7 +11,8 @@ Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: libxml2-python -BuildRequires: python +BuildRequires: python2 +BuildRequires: python2-devel Requires: libxml2-python %description @@ -23,6 +24,7 @@ how to separate it into PO file messages. %setup -q %build +export PYTHON=%{__python2} %configure make %{?_smp_mflags} @@ -36,6 +38,10 @@ make install DESTDIR=$RPM_BUILD_ROOT %doc %{_mandir}/man1/itstool.1.gz %changelog +* Mon Feb 05 2018 Petr Viktorin - 2.0.2-8 +- Be more explicit about Python build dependencies + (Require python2-devel, tell autotools that PYTHON is python2) + * Wed Jul 26 2017 Fedora Release Engineering - 2.0.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild