diff --git a/.gitignore b/.gitignore index 15161c6..e11ef4c 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /zanata-python-client-1.3.7.tar.gz /zanata-python-client-1.3.8.tar.gz /zanata-python-client-1.3.10.tar.gz +/zanata-python-client-1.3.11.tar.gz diff --git a/sources b/sources index 6faca25..990681b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -68e5702beba1e482b9c230535ef053a6 zanata-python-client-1.3.10.tar.gz +87f4fcf21d08549253b880facd3b1ee4 zanata-python-client-1.3.11.tar.gz diff --git a/zanata-python-client.spec b/zanata-python-client.spec index 046ac0c..87e01bb 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -1,7 +1,7 @@ %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: zanata-python-client -Version: 1.3.10 +Version: 1.3.11 Release: 1%{?dist} Summary: Python Client for Zanata Server @@ -15,8 +15,11 @@ BuildArch: noarch BuildRequires: python-setuptools Requires: python-polib >= 1.0.0-1 Requires: python-httplib2 >= 0.7.4-6 +%if 0%{?rhel} < 6 Requires: python-hashlib -%{?el5:Requires: python-simplejson} +Requires: python-simplejson +%endif + Conflicts: python-json %if 0%{?fedora} < 13 BuildRequires: python-devel @@ -37,17 +40,22 @@ cp -pr zanataclient/VERSION-FILE build/lib/zanataclient %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT +# Remove excessive docs +rm -rf $RPM_BUILD_ROOT/usr/share/doc/%{name} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) -%doc README COPYING COPYING.LESSER zanata.ini +%doc README COPYING COPYING.LESSER zanata.ini CHANGELOG %{python_sitelib}/* %{_bindir}/* %changelog +* Tue Aug 07 2012 Ding-Yi Chen - 1.3.11-1 +- Updated: CHANGELOG and setup.py + * Tue Aug 07 2012 Ding-Yi Chen - 1.3.10-1 - Fixed rhbz#727833, "Copy previous translations:True" is ambiguous @@ -68,7 +76,7 @@ rm -rf $RPM_BUILD_ROOT - Fixed rhbz#820046, Python client generates empty msgctxt "" when pushing - Fixed rhbz#795643, Python client pushes extracted comments instead of translator comments - Fix the query param of skeletons -- Add option --disable-ssl-cert to python client +- Add option --disable-ssl-cert to python client - Add help message for noskeletons option in pull, change content of Error 403 - Fixed the query param of skeletons - Implment --push-type option, omit --push-trans when specify --push-type option @@ -104,11 +112,11 @@ rm -rf $RPM_BUILD_ROOT - Fixed rhbz#751648: Error reading path names with dots - Fixed rhbz#754869: The python client is pulling some files with a wrong path - Fixed rhbz#756617: python client process file name not correctly for file name contain more than one dot -- Fixed rhbz#753719: Python client explodes on F16 +- Fixed rhbz#753719: Python client explodes on F16 * Thu Nov 03 2011 James Ni - 1.3.2-1 - csv format glossary file support -- support msgctxt when pushing po file to server and pull it back +- support msgctxt when pushing po file to server and pull it back - Fixed rhbz#696474: python client should only delete files from server which no longer exist on client - Fixed rhbz#690687: python client should log a message for 301 redirects - Fixed rhbz#738510: --help does not list commands @@ -127,10 +135,10 @@ rm -rf $RPM_BUILD_ROOT - Change to version 1.2.6 * Thu Jun 02 2011 James Ni - 1.2.5-3 -- Fix error of onditionals of RHEL5 +- Fix error of onditionals of RHEL5 * Thu Jun 02 2011 James Ni - 1.2.5-2 -- Add python-simplejson requires for RHEL5 +- Add python-simplejson requires for RHEL5 * Wed Jun 01 2011 James Ni - 1.2.5-1 - Bug fix and usability improvement @@ -142,7 +150,7 @@ rm -rf $RPM_BUILD_ROOT - Fix rhbz#696474, rhbz#696515, rhbz#696437, rhbz#698028, rhbz#695598, rhbz#690687 * Fri Apr 01 2011 James Ni - 1.2.2-1 -- Change to version 1.2.2 +- Change to version 1.2.2 * Thu Mar 31 2011 James Ni - 1.2.1-2 - Fixed rpmlint: W: self-obsoletion flies-python-client < 1.3 obsoletes flies-python-client = 1.2.1-1.el6 @@ -164,7 +172,7 @@ rm -rf $RPM_BUILD_ROOT * Wed Feb 23 2011 James Ni - 0.7.6-1 - Rename the command line option, add a Logger class for better output, set copytrans default value to true, make the - extensions to a list of gettext and comment. + extensions to a list of gettext and comment. * Tue Feb 22 2011 James Ni - 0.7.4-1 - Fix issue 245:stop processing when type 'n', Add version service, rename the command line option and help info, add @@ -234,20 +242,20 @@ rm -rf $RPM_BUILD_ROOT * Wed Aug 25 2010 James Ni - 0.0.3-3 - Add an error handler for list command -- Add cache to httplib2 +- Add cache to httplib2 * Mon Aug 23 2010 James Ni - 0.0.3-2 - Include the example configuration file -- Add dependency of python-httplib2 for fedora 12(and less) +- Add dependency of python-httplib2 for fedora 12(and less) * Fri Aug 20 2010 James Ni - 0.0.3-1 - Modify the __inin__.py for importing the module - Modify the spec file and fliesrc.txt - Rewrite README file for giving detail of commands and how to implement flies-python-lib in program -- Add COPYING.LESSER +- Add COPYING.LESSER * Mon Aug 16 2010 James Ni - 0.0.2-2 -- remove shebang from flies.py +- remove shebang from flies.py * Fri Aug 13 2010 James Ni - 0.0.2-1 - initial package (#623871)