From be808d26135812dab619131ff3063fb7129c0548 Mon Sep 17 00:00:00 2001 From: anish Date: Thu, 6 Nov 2014 15:42:18 +0530 Subject: [PATCH 1/6] Build for zanata-python-client-1.3.16-2 --- zanata-python-client.spec | 57 +++++++++++++++++++++++---------------- 1 file changed, 34 insertions(+), 23 deletions(-) diff --git a/zanata-python-client.spec b/zanata-python-client.spec index 1f16bca..09453d1 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: 1%{?dist} +Version: 1.3.16 +Release: 2%{?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,41 @@ 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 +* 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 + +* Fri Feb 15 2013 Fedora Release Engineering - 1.3.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Wed Nov 21 2012 Sean Flanigan - 1.3.13-1 - Use dict instead of nested loop - Ensure that msgstr_plural is always set for plural strings @@ -169,7 +180,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 From 99371ab84c717e6c7b9f16210fc974e0c55e6d27 Mon Sep 17 00:00:00 2001 From: anish Date: Thu, 6 Nov 2014 15:48:32 +0530 Subject: [PATCH 2/6] Added new sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 9ff63f0..f1081aa 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /zanata-python-client-1.3.11.tar.gz /zanata-python-client-1.3.12.tar.gz /zanata-python-client-1.3.13.tar.gz +/v1.3.16.tar.gz diff --git a/sources b/sources index 4599081..c092d18 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ab55b8c8141239c18fb6399f733eac72 zanata-python-client-1.3.13.tar.gz +e9e42843d85abebf02b788dbd83bc828 v1.3.16.tar.gz From 67340138a4e245304498f10bf7a1d7503744a5c3 Mon Sep 17 00:00:00 2001 From: Anish Patil Date: Mon, 2 Mar 2015 14:54:25 +0530 Subject: [PATCH 3/6] Build for v 1.3.20 version --- .gitignore | 1 + sources | 2 +- zanata-python-client.spec | 20 +++++++++++++++----- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f1081aa..01b04cb 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /zanata-python-client-1.3.12.tar.gz /zanata-python-client-1.3.13.tar.gz /v1.3.16.tar.gz +/v1.3.20.tar.gz diff --git a/sources b/sources index c092d18..5aab091 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e9e42843d85abebf02b788dbd83bc828 v1.3.16.tar.gz +b132bb1b8aa7979bf7f00a63fe4e22a6 v1.3.20.tar.gz diff --git a/zanata-python-client.spec b/zanata-python-client.spec index 09453d1..7df4f36 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -1,6 +1,6 @@ Name: zanata-python-client -Version: 1.3.16 -Release: 2%{?dist} +Version: 1.3.20 +Release: 1%{?dist} Summary: Python Client for Zanata Server License: LGPLv2+ URL: http://zanata.org @@ -29,20 +29,30 @@ Zanata Python client is a client that communicate with Zanata server. %setup -q %build -%{__python2} setup.py build +%{__python} setup.py build cp -pr zanataclient/VERSION-FILE build/lib/zanataclient %install -%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT/%{_docdir} %files %doc README COPYING.LESSER zanata.ini CHANGELOG -%{python2_sitelib}/* +%{python_sitelib}/* %{_bindir}/* %changelog +* Mon Mar 2 2015 Anish Patil - 1.3.20-1 +- Upstream has released new version +- Use a el6 compatible python macro by Robert Mayr + +* 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 From 9ba04a3ad9278468bef46aaa7a71df0a84c3c323 Mon Sep 17 00:00:00 2001 From: Anish Patil Date: Tue, 3 Mar 2015 21:14:55 +0530 Subject: [PATCH 4/6] Upstream has released new sources --- .gitignore | 1 + sources | 2 +- zanata-python-client.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 01b04cb..8ce9906 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ /zanata-python-client-1.3.13.tar.gz /v1.3.16.tar.gz /v1.3.20.tar.gz +/v1.3.21.tar.gz diff --git a/sources b/sources index 5aab091..5b7bacc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b132bb1b8aa7979bf7f00a63fe4e22a6 v1.3.20.tar.gz +3bca1ea2002799f69901c46dad070a1f v1.3.21.tar.gz diff --git a/zanata-python-client.spec b/zanata-python-client.spec index 7df4f36..5cac993 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -1,5 +1,5 @@ Name: zanata-python-client -Version: 1.3.20 +Version: 1.3.21 Release: 1%{?dist} Summary: Python Client for Zanata Server License: LGPLv2+ @@ -43,6 +43,9 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir} %changelog +* Tue Mar 3 2015 Anish Patil - 1.3.21-1 +- Upstream has released new version + * Mon Mar 2 2015 Anish Patil - 1.3.20-1 - Upstream has released new version - Use a el6 compatible python macro by Robert Mayr From 4b70a25a0e4f87f2f446369242e199b5f964c7e6 Mon Sep 17 00:00:00 2001 From: anish Date: Mon, 27 Jul 2015 14:35:27 +1000 Subject: [PATCH 5/6] Upstream has released new version --- .gitignore | 1 + sources | 2 +- zanata-python-client.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8ce9906..5dc7537 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /v1.3.16.tar.gz /v1.3.20.tar.gz /v1.3.21.tar.gz +/v1.3.22.tar.gz diff --git a/sources b/sources index 5b7bacc..ed6bda8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3bca1ea2002799f69901c46dad070a1f v1.3.21.tar.gz +cc4d32f4968236d5e6bf925653884d7f v1.3.22.tar.gz diff --git a/zanata-python-client.spec b/zanata-python-client.spec index 5cac993..d7e0275 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -1,5 +1,5 @@ Name: zanata-python-client -Version: 1.3.21 +Version: 1.3.22 Release: 1%{?dist} Summary: Python Client for Zanata Server License: LGPLv2+ @@ -37,12 +37,15 @@ cp -pr zanataclient/VERSION-FILE build/lib/zanataclient rm -rf $RPM_BUILD_ROOT/%{_docdir} %files -%doc README COPYING.LESSER zanata.ini CHANGELOG +%doc README.rst COPYING.LESSER zanata.ini CHANGELOG %{python_sitelib}/* %{_bindir}/* %changelog +* Mon Jul 27 2015 Anish Patil - 1.3.22-1 +- Upstream has released new version + * Tue Mar 3 2015 Anish Patil - 1.3.21-1 - Upstream has released new version From 3b022b6a9cd11c8b45721dcfa4ae4304d3cf1deb Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 20 Jan 2016 12:08:30 -0600 Subject: [PATCH 6/6] Change define -> global --- zanata-python-client.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/zanata-python-client.spec b/zanata-python-client.spec index 5be3f23..fd82c6e 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -1,8 +1,8 @@ -%{!?__python2: %define __python2 %{__python}} -%{!?python2_sitelib: %define python2_sitelib %{python_sitelib}} +%{!?__python2: %global __python2 %{__python}} +%{!?python2_sitelib: %global python2_sitelib %{python_sitelib}} Name: zanata-python-client Version: 1.4.1 -Release: 2%{?dist} +Release: 2%{?dist}.1 Summary: Python Client for Zanata Server License: LGPLv2+ URL: http://zanata.org @@ -49,8 +49,11 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir} %changelog +* Wed Jan 20 2016 Jason L Tibbitts III - 1.4.1-2.1 +- Change define -> global to fix build issue with epel-rpm-macros. + * Thu Jan 14 2016 Ding-Yi Chen - 1.4.1-2 -Fix the Fedora 22 rpmlint error. +- Fix the Fedora 22 rpmlint error. * Wed Jan 13 2016 Ding-Yi Chen - 1.4.1-1 - Upsteam update to 1.4.1 which fixed: