Hello community, here is the log from the commit of package transifex-client for openSUSE:Factory checked in at 2014-03-21 14:14:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/transifex-client (Old) and /work/SRC/openSUSE:Factory/.transifex-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transifex-client" Changes: -------- --- /work/SRC/openSUSE:Factory/transifex-client/transifex-client.changes 2013-10-25 11:37:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.transifex-client.new/transifex-client.changes 2014-03-21 14:14:07.000000000 +0100 @@ -1,0 +2,17 @@ +Thu Mar 20 14:15:33 UTC 2014 - [email protected] + +- Use PyPI source URL +- Drop %clean section, the official tarball doesn't include tests +- Correct macro usage to fix SLE build + +------------------------------------------------------------------- +Wed Dec 18 10:10:16 UTC 2013 - [email protected] + +- Version bump to 0.10: + * try to use urllib3 + * fix various mitm attacks over this +- Add patch system-urllib3.patch which does exactly what name say. + * Should also fix bnc#855579 +- Enable test execution so we see if it is borked or not. + +------------------------------------------------------------------- Old: ---- 0.9.2.tar.gz New: ---- system-urllib3.patch transifex-client-0.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ transifex-client.spec ++++++ --- /var/tmp/diff_new_pack.jXKBwg/_old 2014-03-21 14:14:08.000000000 +0100 +++ /var/tmp/diff_new_pack.jXKBwg/_new 2014-03-21 14:14:08.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package transifex-client # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,39 +17,53 @@ Name: transifex-client -Version: 0.9.2 +Version: 0.10 Release: 0 Summary: Transifex Command-line Client License: GPL-2.0+ Group: Productivity/Text/Utilities Url: https://github.com/transifex/transifex-client -Source: https://github.com/transifex/%{name}/archive/%{version}.tar.gz +Source: https://pypi.python.org/packages/source/t/transifex-client/transifex-client-%{version}.tar.gz +# PATCH-FIX-OPENSUSE: Use system urllib3 rather than bundled one +Patch0: system-urllib3.patch BuildRequires: python-devel BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# Test requirements: +BuildRequires: python-mock +BuildRequires: python-urllib3 +Requires: python-urllib3 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch +%endif %description -The Transifex Command-line Client is a command line tool that enables you to easily manage your translations within a project without the need of an elaborate UI system. - -You can use the command-line client to easily create new resources, map locale files to translations and synchronize your Transifex project with your local repository and vice verca. Translators and localization managers can also use it to handle large volumes of translation files easily and without much hassle. +The Transifex Command-line Client is a command line tool that enables you +to easily manage your translations within a project without the need of +an elaborate UI system. + +You can use the command-line client to easily create new resources, map +locale files to translations and synchronize your Transifex project with +your local repository and vice verca. Translators and localization +managers can also use it to handle large volumes of translation files +easily and without much hassle. %prep %setup -q +%patch0 -p1 %build python setup.py build %install -python setup.py install --prefix=%_prefix --root=%buildroot -# remove pem file -rm %{buildroot}/%{python_sitelib}/txclib/cacert.pem +python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root) %doc README.rst LICENSE -%_bindir/tx -%python_sitelib/txclib -%python_sitelib/transifex_client-%version-py%py_ver.egg-info +%{_bindir}/tx +%{python_sitelib}/txclib +%{python_sitelib}/transifex_client-%{version}-py%{py_ver}.egg-info %changelog ++++++ system-urllib3.patch ++++++ ++++ 3967 lines (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
