Switch to Python 3
https://src.fedoraproject.org/rpms/itstool/pull-request/3
This commit is contained in:
parent
7336ee27a4
commit
3d50023dc6
14
itstool.spec
14
itstool.spec
@ -1,6 +1,6 @@
|
|||||||
Name: itstool
|
Name: itstool
|
||||||
Version: 2.0.4
|
Version: 2.0.4
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: ITS-based XML translation tool
|
Summary: ITS-based XML translation tool
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -9,10 +9,9 @@ Source0: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python2-libxml2
|
BuildRequires: python3-libxml2
|
||||||
BuildRequires: python2
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python2-devel
|
Requires: python3-libxml2
|
||||||
Requires: python2-libxml2
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ITS Tool allows you to translate XML documents with PO files, using rules from
|
ITS Tool allows you to translate XML documents with PO files, using rules from
|
||||||
@ -23,7 +22,7 @@ how to separate it into PO file messages.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PYTHON=%{__python2}
|
export PYTHON=%{__python3}
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -38,6 +37,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man1/itstool.1.gz
|
%doc %{_mandir}/man1/itstool.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.4-3
|
||||||
|
- Switch to Python 3
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.4-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user