Accepting request 925724 from home:dirkmueller:Factory

- update to 2.0.7:
  * Performance improvements when chaining up on certain ITS rules
  * Performance improvements when using ITS params.

OBS-URL: https://build.opensuse.org/request/show/925724
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/itstool?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2021-10-19 09:00:09 +00:00 committed by Git OBS Bridge
parent 1a553cc14a
commit 7411572bc5
4 changed files with 14 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6233cc22726a9a5a83664bf67d1af79549a298c23185d926c3677afa917b92a9
size 103067

BIN
itstool-2.0.7.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Oct 16 17:40:49 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 2.0.7:
* Performance improvements when chaining up on certain ITS rules
* Performance improvements when using ITS params.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 18 07:40:25 UTC 2019 - Yifan Jiang <yfjiang@suse.com> Mon Nov 18 07:40:25 UTC 2019 - Yifan Jiang <yfjiang@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package itstool # spec file for package itstool
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,15 +17,15 @@
Name: itstool Name: itstool
Version: 2.0.6 Version: 2.0.7
Release: 0 Release: 0
Summary: Tool to translate XML documents using PO files Summary: Tool to translate XML documents using PO files
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
URL: http://itstool.org URL: http://itstool.org
Source: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2 Source: http://files.itstool.org/itstool/%{name}-%{version}.tar.bz2
BuildRequires: python3-base BuildRequires: python3-base
BuildArch: noarch
%if 0%{?sle_version} %if 0%{?sle_version}
BuildRequires: python3-libxml2-python BuildRequires: python3-libxml2-python
Requires: python3-libxml2-python Requires: python3-libxml2-python
@ -33,7 +33,6 @@ Requires: python3-libxml2-python
BuildRequires: python3-libxml2 BuildRequires: python3-libxml2
Requires: python3-libxml2 Requires: python3-libxml2
%endif %endif
BuildArch: noarch
%description %description
ITS Tool extracts messages from XML files and outputs PO template files, then ITS Tool extracts messages from XML files and outputs PO template files, then
@ -48,7 +47,7 @@ Internationalization Tag Set (ITS).
sed -i -e "/^echo.*import/s/python/python3/" configure sed -i -e "/^echo.*import/s/python/python3/" configure
export PYTHON=%{_bindir}/python3 export PYTHON=%{_bindir}/python3
%configure %configure
make %{?_smp_mflags} %make_build
%install %install
%make_install PYTHON=%{_bindir}/python3 %make_install PYTHON=%{_bindir}/python3