diff --git a/.gitignore b/.gitignore index 66e4c77..daf7961 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ /zpc-v1.4.1.tar.gz /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 854ea0f..912e0dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b48962a5930e55f464b81caa96311229 v1.5.0.tar.gz +SHA512 (v1.5.2.tar.gz) = c02a110fccb966993a9b95912262820f72987e6aa31cc53fcec0a4a09e6a5d37f2c435b6d19629c71b87431e63f78f6725d789682bd0d6d08329fed0a6a34734 diff --git a/zanata-python-client.spec b/zanata-python-client.spec index df85370..efd9681 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -1,8 +1,8 @@ %{!?__python2: %global __python2 %{__python}} %{!?python2_sitelib: %global python2_sitelib %{python_sitelib}} Name: zanata-python-client -Version: 1.5.0 -Release: 2%{?dist} +Version: 1.5.2 +Release: 1%{?dist} Summary: Python Client for Zanata Server License: LGPLv2+ Group: Applications/Text @@ -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,36 @@ 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 + * Fri Apr 15 2016 Sundeep Anand - 1.5.0-2 - add build requires, v1.5.0 release notes: - Bug 1139950 - Translation files mapping rules