diff --git a/.gitignore b/.gitignore index 9ff63f0..45e378d 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,10 @@ /zanata-python-client-1.3.11.tar.gz /zanata-python-client-1.3.12.tar.gz /zanata-python-client-1.3.13.tar.gz +/1.3.14.tar.gz +/v1.3.15.tar.gz +/v1.3.16.tar.gz +/v1.3.18.tar.gz +/v1.3.19.tar.gz +/v1.3.20.tar.gz +/v1.3.21.tar.gz diff --git a/sources b/sources index 4599081..5b7bacc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ab55b8c8141239c18fb6399f733eac72 zanata-python-client-1.3.13.tar.gz +3bca1ea2002799f69901c46dad070a1f v1.3.21.tar.gz diff --git a/zanata-python-client.spec b/zanata-python-client.spec index 24fe0c0..cec6e1f 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -1,15 +1,11 @@ -%{!?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.13 -Release: 3%{?dist} +Version: 1.3.21 +Release: 1%{?dist} Summary: Python Client for Zanata Server - -Group: Development/Tools License: LGPLv2+ URL: http://zanata.org -Source0: https://github.com/downloads/zanata/%{name}/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: https://github.com/zanata/zanata-python-client/archive/v%{version}.tar.gz + BuildArch: noarch BuildRequires: python-setuptools @@ -21,9 +17,8 @@ Requires: python-simplejson %endif Conflicts: python-json -%if 0%{?fedora} < 13 -BuildRequires: python-devel -%endif +BuildRequires: python2-devel + Provides: flies-python-client = %{version}-%{release} Obsoletes: flies-python-client < 1.1 @@ -34,25 +29,47 @@ Zanata Python client is a client that communicate with Zanata server. %setup -q %build -python setup.py build +%{__python2} setup.py build 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 +%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT +rm -rf $RPM_BUILD_ROOT/%{_docdir} %files -%defattr(-, root, root, -) -%doc README COPYING COPYING.LESSER zanata.ini CHANGELOG -%{python_sitelib}/* +%doc README COPYING.LESSER zanata.ini CHANGELOG +%{python2_sitelib}/* %{_bindir}/* + %changelog +* Tue Mar 03 2015 Anish Patil - 1.3.21-1 +- Upstream has released new version + +* Mon Mar 02 2015 Anish Patil - 1.3.20-1 +- Upstream has released new version + +* Mon Feb 23 2015 Anish Patil - 1.3.19-1 +- Upstream has released new version + +* Wed Dec 03 2014 Anish Patil - 1.3.18-1 +- Upstream has released new version + +* Thu Nov 06 2014 Anish Patil - 1.3.16-2 +- New package guidelines,removed doc dir at the end of install + +* Fri Sep 19 2014 Anish Patil - 1.3.16-1 +- Upstream has released new version + +* Fri Jul 25 2014 Anish Patil - 1.3.15-1 +- Incorporated package review comments + +* Thu Jul 24 2014 Anish Patil - 1.3.14-2 +- Incorporated package review comments + +* Tue Jul 22 2014 Anish Patil - 1.3.14-1 +- Upstream has released new version + * Sun Aug 04 2013 Fedora Release Engineering - 1.3.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -175,7 +192,7 @@ rm -rf $RPM_BUILD_ROOT - Add flies command for fallback * Thu Mar 31 2011 James Ni - 1.2.0-2 -- Change the URL, add Provides and Obsoletes, add zanata.ini in %doc +- Change the URL, add Provides and Obsoletes, add zanata.ini in %%doc * Tue Mar 29 2011 James Ni - 1.2.0-1 - Rename the flies to zanata, rename fliesclient to zanataclient