Accepting request 731588 from GNOME:Next
- Update to version 2.0.6: + Make DocBook keyword element within text + Apply ITS files passed with -i in --join mode - Drop itstool-Apply-ITS-files.patch - Replace python3-libxml2-python with python3-libxml2 BuildRequires and Requires following changes in libxml2. OBS-URL: https://build.opensuse.org/request/show/731588 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/itstool?expand=0&rev=30
This commit is contained in:
parent
0dd952bae7
commit
a4e365744d
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:100506f8df62cca6225ec3e631a8237e9c04650c77495af4919ac6a100d4b308
|
|
||||||
size 102751
|
|
3
itstool-2.0.6.tar.bz2
Normal file
3
itstool-2.0.6.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6233cc22726a9a5a83664bf67d1af79549a298c23185d926c3677afa917b92a9
|
||||||
|
size 103067
|
@ -1,25 +0,0 @@
|
|||||||
From bc5724ed98eb591d4b82dff1b4b47ed77ec47eda Mon Sep 17 00:00:00 2001
|
|
||||||
From: Shaun McCance <shaunm@redhat.com>
|
|
||||||
Date: Thu, 8 Nov 2018 19:01:43 -0500
|
|
||||||
Subject: [PATCH] Apply ITS files passed with -i in --join mode
|
|
||||||
|
|
||||||
Fixes https://github.com/itstool/itstool/issues/34
|
|
||||||
---
|
|
||||||
itstool.in | 3 +++
|
|
||||||
1 file changed, 3 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/itstool.in b/itstool.in
|
|
||||||
index b3c0033..e64cd34 100755
|
|
||||||
--- a/itstool.in
|
|
||||||
+++ b/itstool.in
|
|
||||||
@@ -1635,6 +1635,9 @@ if __name__ == '__main__':
|
|
||||||
messages = MessageList()
|
|
||||||
doc = Document(opts.join, messages)
|
|
||||||
doc.apply_its_rules(not(opts.nobuiltins), params=params)
|
|
||||||
+ if opts.itsfile is not None:
|
|
||||||
+ for itsfile in opts.itsfile:
|
|
||||||
+ doc.apply_its_file(itsfile, params=params)
|
|
||||||
doc.join_translations(translations, strict=opts.strict)
|
|
||||||
serialized = doc._doc.serialize('utf-8')
|
|
||||||
if PY3:
|
|
||||||
|
|
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 17 16:53:41 UTC 2019 - suse+build@de-korte.org
|
||||||
|
|
||||||
|
- Update to version 2.0.6:
|
||||||
|
+ Make DocBook keyword element within text
|
||||||
|
+ Apply ITS files passed with -i in --join mode
|
||||||
|
- Drop itstool-Apply-ITS-files.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 14 07:17:09 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Replace python3-libxml2-python with python3-libxml2 BuildRequires
|
||||||
|
and Requires following changes in libxml2.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 19 02:37:30 UTC 2018 - bjorn.lie@gmail.com
|
Wed Dec 19 02:37:30 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
11
itstool.spec
11
itstool.spec
@ -17,19 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: itstool
|
Name: itstool
|
||||||
Version: 2.0.5
|
Version: 2.0.6
|
||||||
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
|
||||||
# PATCH-FIX-UPSTREAM itstool-Apply-ITS-files.patch -- Apply ITS files passed with -i in --join mode
|
|
||||||
Patch0: itstool-Apply-ITS-files.patch
|
|
||||||
|
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
BuildRequires: python3-libxml2-python
|
BuildRequires: python3-libxml2
|
||||||
Requires: python3-libxml2-python
|
Requires: python3-libxml2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -40,9 +38,6 @@ Internationalization Tag Set (ITS).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# remove itstool - we patch itstool.in and want to ensure we get the right version
|
|
||||||
rm itstool
|
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i -e "/^echo.*import/s/python/python3/" configure
|
sed -i -e "/^echo.*import/s/python/python3/" configure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user