From ce9aefff87499f4fe6d4c25fde95a14aecef0767 Mon Sep 17 00:00:00 2001 From: sundeep-co-in Date: Mon, 16 Apr 2018 18:23:15 +0530 Subject: [PATCH] update to v1.5.2 --- .gitignore | 1 + sources | 2 +- zanata-python-client.spec | 58 +++++++++++++++++++++++++++++---------- 3 files changed, 45 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 016de0d..daf7961 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /v1.4.2.tar.gz /v1.5.0.tar.gz /v1.5.1.tar.gz +/v1.5.2.tar.gz diff --git a/sources b/sources index 65e55e9..912e0dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1592751e3eadd78ccca30d5566215155 v1.5.1.tar.gz +SHA512 (v1.5.2.tar.gz) = c02a110fccb966993a9b95912262820f72987e6aa31cc53fcec0a4a09e6a5d37f2c435b6d19629c71b87431e63f78f6725d789682bd0d6d08329fed0a6a34734 diff --git a/zanata-python-client.spec b/zanata-python-client.spec index 04bdb63..efd9681 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -1,7 +1,7 @@ %{!?__python2: %global __python2 %{__python}} %{!?python2_sitelib: %global python2_sitelib %{python_sitelib}} Name: zanata-python-client -Version: 1.5.1 +Version: 1.5.2 Release: 1%{?dist} Summary: Python Client for Zanata Server License: LGPLv2+ @@ -10,28 +10,39 @@ URL: http://zanata.org Source0: https://github.com/zanata/zanata-python-client/archive/v%{version}.tar.gz BuildArch: noarch -BuildRequires: python-setuptools -Requires: python-polib >= 1.0.0-1 -Requires: python-httplib2 >= 0.7.4-6 -Requires: python-lxml +BuildRequires: python2-setuptools %if 0%{?rhel} %if 0%{?rhel} < 6 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -Requires: python-hashlib -Requires: python-simplejson -Requires: python-ordereddict %endif %endif #Conflicts: python-json BuildRequires: python2-devel +%global _description\ +Zanata Python client is a client that communicate with Zanata server. + +%description %_description + +%package -n python2-zanata-client +Summary: %summary +Requires: python2-polib >= 1.0.0-1 +Requires: python2-httplib2 >= 0.7.4-6 +Requires: python2-lxml +%if 0%{?rhel} +Requires: python-hashlib +Requires: python-simplejson +Requires: python-ordereddict +%endif Provides: flies-python-client = %{version}-%{release} Obsoletes: flies-python-client < 1.1 +%{?python_provide:%python_provide python2-zanata-client} +# Remove before F30 +Provides: zanata-python-client = %{version}-%{release} +Obsoletes: zanata-python-client < %{version}-%{release} -%description -Zanata Python client is a client that communicate with Zanata server. +%description -n python2-zanata-client %_description %prep %setup -q -n %{name}-%{version} @@ -44,16 +55,33 @@ cp -pr zanataclient/VERSION-FILE build/lib/zanataclient %{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT/%{_docdir} -%clean -rm -rf %{buildroot} - -%files +%files -n python2-zanata-client %defattr(-,root,root,-) %doc README.rst COPYING.LESSER zanata.ini zanata_example.xml CHANGELOG %{_bindir}/* %{python2_sitelib} %changelog +* Mon Apr 16 2018 Sundeep Anand - 1.5.2-1 +- Upstream update to 1.5.2-1 + +* Fri Feb 09 2018 Fedora Release Engineering - 1.5.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Feb 05 2018 Iryna Shcherbina - 1.5.1-5 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.5.1-4 +- Python 2 binary package renamed to python2-zanata-client + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 1.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Oct 26 2016 Sundeep Anand - 1.5.1-1 - Upstream update to 1.5.1-1