From a59f82e8b59c719554bf7e4901d4559ae99b6d512d8e71e55d0e36f3dabb9839 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 23 Jun 2021 14:42:36 +0000 Subject: [PATCH] Accepting request 900954 from home:badshah400:branches:devel:languages:python Update to version 0.3.4; Drop torbrowser-launcher-fix-distro-name.patch; Add torbrowser-launcher-pt_BR-po-file-end-string.patch needed for building. OBS-URL: https://build.opensuse.org/request/show/900954 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/torbrowser-launcher?expand=0&rev=35 --- torbrowser-launcher-0.3.3.tar.gz | 3 --- torbrowser-launcher-0.3.4.tar.gz | 3 +++ torbrowser-launcher-fix-distro-name.patch | 13 ----------- ...er-launcher-pt_BR-po-file-end-string.patch | 23 +++++++++++++++++++ torbrowser-launcher.changes | 15 ++++++++++++ torbrowser-launcher.spec | 14 +++++------ 6 files changed, 48 insertions(+), 23 deletions(-) delete mode 100644 torbrowser-launcher-0.3.3.tar.gz create mode 100644 torbrowser-launcher-0.3.4.tar.gz delete mode 100644 torbrowser-launcher-fix-distro-name.patch create mode 100644 torbrowser-launcher-pt_BR-po-file-end-string.patch diff --git a/torbrowser-launcher-0.3.3.tar.gz b/torbrowser-launcher-0.3.3.tar.gz deleted file mode 100644 index 6222d86..0000000 --- a/torbrowser-launcher-0.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:58b17bd5a9a6f35fe78d83e69fdf77919ffa8c2492b1add1d47aed6237794f93 -size 187239 diff --git a/torbrowser-launcher-0.3.4.tar.gz b/torbrowser-launcher-0.3.4.tar.gz new file mode 100644 index 0000000..a5cf32c --- /dev/null +++ b/torbrowser-launcher-0.3.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:783224924574410755b3fdedb24d3649deeb7bb8207b0acd6e00a66fdb284630 +size 195096 diff --git a/torbrowser-launcher-fix-distro-name.patch b/torbrowser-launcher-fix-distro-name.patch deleted file mode 100644 index 0251def..0000000 --- a/torbrowser-launcher-fix-distro-name.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: torbrowser-launcher-0.3.3/setup.py -=================================================================== ---- torbrowser-launcher-0.3.3.orig/setup.py -+++ torbrowser-launcher-0.3.3/setup.py -@@ -35,7 +35,7 @@ from distutils.core import setup - SHARE = "share" - - # detect linux distribution --distro = platform.dist()[0] -+distro = 'openSUSE' - - - def file_list(path): diff --git a/torbrowser-launcher-pt_BR-po-file-end-string.patch b/torbrowser-launcher-pt_BR-po-file-end-string.patch new file mode 100644 index 0000000..1dbc70f --- /dev/null +++ b/torbrowser-launcher-pt_BR-po-file-end-string.patch @@ -0,0 +1,23 @@ +From 4baa4362ac15b5ef4dc71722f842739afc1c450c Mon Sep 17 00:00:00 2001 +From: AsciiWolf +Date: Sat, 19 Jun 2021 19:04:29 +0200 +Subject: [PATCH] Fix pt_BR po file + +--- + po/pt_BR.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/po/pt_BR.po b/po/pt_BR.po +index 735429d..f81f21b 100644 +--- a/po/pt_BR.po ++++ b/po/pt_BR.po +@@ -145,7 +145,7 @@ msgid "" + "The version of Tor Browser you have installed is earlier than it should be, " + "which could be a sign of an attack!" + msgstr "" +-"A versão do Navegador Tor que você instalou é anterior ao que deveria ser, ++"A versão do Navegador Tor que você instalou é anterior ao que deveria ser, " + "o que poderia ser um sinal de ataque!" + + #: launcher.py:446 + diff --git a/torbrowser-launcher.changes b/torbrowser-launcher.changes index 9062304..e4234a2 100644 --- a/torbrowser-launcher.changes +++ b/torbrowser-launcher.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Jun 19 19:12:38 UTC 2021 - Atri Bhattacharya + +- Update to version 0.3.4: + * Ship with latest version of the Tor Browser Developers OpenPGP + public key. + * Add several translations. + * Various small bug fixes. +- Drop torbrowser-launcher-fix-distro-name.patch: distro name + detection fixed upstream, thus hack no longer needed. +- Add torbrowser-launcher-pt_BR-po-file-end-string.patch: Fix + missing quotation marks at the end of str line in pt_BR + translation file; patch taken from upstream merge request + [gh#micahflee/torbrowser-launcher#579]. + ------------------------------------------------------------------- Wed Oct 7 12:14:53 UTC 2020 - Atri Bhattacharya diff --git a/torbrowser-launcher.spec b/torbrowser-launcher.spec index ed28b35..da61321 100644 --- a/torbrowser-launcher.spec +++ b/torbrowser-launcher.spec @@ -1,7 +1,7 @@ # # spec file for package torbrowser-launcher # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,21 @@ Name: torbrowser-launcher -Version: 0.3.3 +Version: 0.3.4 Release: 0 Summary: Tool for launching and easy-updates of Tor Browser License: MIT Group: Productivity/Networking/Web/Utilities URL: https://github.com/micahflee/torbrowser-launcher Source0: https://github.com/micahflee/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FEATURE-OPENSUSE pythontorbrowser-launcher-fix-distro-name.patch badshah400@gmail.com -- Use the correct distribution name (the setup.py code gives "SuSE" instead of "openSUSE") -Patch0: torbrowser-launcher-fix-distro-name.patch +# PATCH-FIX-UPSTREAM torbrowser-launcher-pt_BR-po-file-end-string.patch gh#micahflee/torbrowser-launcher#579 badshah400@gmail.com -- Fix missing quotation marks at the end of str line in pt_BR translation file; patch taken from upstream merge request +Patch0: torbrowser-launcher-pt_BR-po-file-end-string.patch BuildRequires: apparmor-abstractions BuildRequires: gpg2 BuildRequires: hicolor-icon-theme BuildRequires: python3-PySocks BuildRequires: python3-devel +BuildRequires: python3-distro BuildRequires: python3-gpg BuildRequires: python3-packaging BuildRequires: python3-qt5 @@ -39,6 +40,7 @@ Requires: gpg2 Requires: hicolor-icon-theme Requires: python3-Parsley Requires: python3-PySocks +Requires: python3-distro Requires: python3-gpg Requires: python3-packaging Requires: python3-qt5 @@ -79,6 +81,7 @@ This package provides the apparmor profiles to safeguard against a Tor network compromise. %lang_package + %prep %autosetup -p1 @@ -93,9 +96,6 @@ python3 setup.py install --skip-build --root %{buildroot} %find_lang %{name} %{?no_lang_C} -# REMOVE USELESS TOPLEVEL .mo FILE -rm -fr %{buildroot}%{_datadir}/locale/%{name}.mo - %if 0%{?suse_version} < 1500 %post %desktop_database_post