fix rebuilt with python3 [release 2.0.6-3mamba;Sat Nov 28 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 23:59:46 +01:00
parent e2132bd03c
commit 2e00f03b5b

View File

@ -1,6 +1,6 @@
Name: itstool Name: itstool
Version: 2.0.6 Version: 2.0.6
Release: 1mamba Release: 3mamba
Summary: A tool to translate XML documents with PO files Summary: A tool to translate XML documents with PO files
Group: Development/Tools Group: Development/Tools
Vendor: openmamba Vendor: openmamba
@ -12,8 +12,9 @@ Patch0: itstool-2.0.4-x86-segfault.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: python-libxml2 BuildRequires: python-libxml2-py3
Requires: python27 Requires: python-libxml2-py3
Requires: python3
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -23,10 +24,12 @@ ITS Tool allows you to translate your XML documents with PO files, using rules f
%setup -q %setup -q
#%patch0 -p1 #%patch0 -p1
sed -i "s|%{_bindir}/python|%{_bindir}/python2.7|" itstool.in sed -i "s|%{_bindir}/python|%{__python3}|" itstool.in
%build %build
%configure %configure \
PYTHON=%{__python3}
%make %make
%install %install
@ -46,6 +49,12 @@ sed -i "s|%{_bindir}/python|%{_bindir}/python2.7|" itstool.in
%doc COPYING %doc COPYING
%changelog %changelog
* Sat Nov 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-3mamba
- fix rebuilt with python3
* Thu Nov 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-2mamba
- rebuilt with python3
* Tue Sep 17 2019 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba * Tue Sep 17 2019 Automatic Build System <autodist@mambasoft.it> 2.0.6-1mamba
- automatic version update by autodist - automatic version update by autodist