update to v1.5.2

This commit is contained in:
sundeep-co-in 2018-04-16 18:23:15 +05:30
commit ce9aefff87
3 changed files with 45 additions and 16 deletions

1
.gitignore vendored
View file

@ -11,3 +11,4 @@
/v1.4.2.tar.gz
/v1.5.0.tar.gz
/v1.5.1.tar.gz
/v1.5.2.tar.gz

View file

@ -1 +1 @@
1592751e3eadd78ccca30d5566215155 v1.5.1.tar.gz
SHA512 (v1.5.2.tar.gz) = c02a110fccb966993a9b95912262820f72987e6aa31cc53fcec0a4a09e6a5d37f2c435b6d19629c71b87431e63f78f6725d789682bd0d6d08329fed0a6a34734

View file

@ -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 <suanand@redhat.com> - 1.5.2-1
- Upstream update to 1.5.2-1
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Feb 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 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 <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Wed Oct 26 2016 Sundeep Anand <suanand@redhat.com> - 1.5.1-1
- Upstream update to 1.5.1-1