Be more explicit about Python build dependencies
- Require python2-devel - Tell autotools that PYTHON is python2
This commit is contained in:
parent
7f6fbd90dd
commit
6a57d2af68
10
itstool.spec
10
itstool.spec
@ -1,6 +1,6 @@
|
|||||||
Name: itstool
|
Name: itstool
|
||||||
Version: 2.0.2
|
Version: 2.0.2
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: ITS-based XML translation tool
|
Summary: ITS-based XML translation tool
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -11,7 +11,8 @@ Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: libxml2-python
|
BuildRequires: libxml2-python
|
||||||
BuildRequires: python
|
BuildRequires: python2
|
||||||
|
BuildRequires: python2-devel
|
||||||
Requires: libxml2-python
|
Requires: libxml2-python
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -23,6 +24,7 @@ how to separate it into PO file messages.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export PYTHON=%{__python2}
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -36,6 +38,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man1/itstool.1.gz
|
%doc %{_mandir}/man1/itstool.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 05 2018 Petr Viktorin <pviktori@redhat.com> - 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 <releng@fedoraproject.org> - 2.0.2-7
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user