[zanata-python-client/el6] Build for zanata-python-client-1.3.16-2
anish
anishpatil at fedoraproject.org
Thu Nov 6 10:12:50 UTC 2014
commit be808d26135812dab619131ff3063fb7129c0548
Author: anish <apatil at redhat.com>
Date: Thu Nov 6 15:42:18 2014 +0530
Build for zanata-python-client-1.3.16-2
zanata-python-client.spec | 57 ++++++++++++++++++++++++++------------------
1 files 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 <apatil at redhat.com> - 1.3.16-2
+- New package guidelines,removed doc dir at the end of install
+
+* Fri Sep 19 2014 Anish Patil <apatil at redhat.com> - 1.3.16-1
+- Upstream has released new version
+
+* Fri Jul 25 2014 Anish Patil <apatil at redhat.com> - 1.3.15-1
+- Incorporated package review comments
+
+* Thu Jul 24 2014 Anish Patil <apatil at redhat.com> - 1.3.14-2
+- Incorporated package review comments
+
+* Tue Jul 22 2014 Anish Patil <apatil at redhat.com> - 1.3.14-1
+- Upstream has released new version
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.13-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.13-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
* Wed Nov 21 2012 Sean Flanigan <sflaniga at redhat.com> - 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 <jni at redhat.com> - 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 <jni at redhat.com> - 1.2.0-1
- Rename the flies to zanata, rename fliesclient to zanataclient
More information about the scm-commits
mailing list