From d77e94319c5874ec3ef49eeb389c884fe6a72707e9be0559a86ccb3d21b9ee9a Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Tue, 10 Dec 2013 13:14:14 +0000
Subject: [PATCH] Accepting request 210366 from
home:posophe:branches:devel:languages:python
little changes
OBS-URL: https://build.opensuse.org/request/show/210366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.component?expand=0&rev=3
---
python-zope.component.changes | 6 ++++++
python-zope.component.spec | 30 ++++++++++++++----------------
zope.component-4.1.0.tar.bz2 | 3 ---
zope.component-4.1.0.zip | 3 +++
4 files changed, 23 insertions(+), 19 deletions(-)
delete mode 100644 zope.component-4.1.0.tar.bz2
create mode 100644 zope.component-4.1.0.zip
diff --git a/python-zope.component.changes b/python-zope.component.changes
index 94c3925..519ea12 100644
--- a/python-zope.component.changes
+++ b/python-zope.component.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue Dec 10 13:13:28 UTC 2013 - p.drouand@gmail.com
+
+- Use download Url as source
+- Add unzip requirement to support tarball format
+
-------------------------------------------------------------------
Wed Jul 31 08:57:22 UTC 2013 - hpj@urpla.net
diff --git a/python-zope.component.spec b/python-zope.component.spec
index 8fd9dbb..af5d850 100644
--- a/python-zope.component.spec
+++ b/python-zope.component.spec
@@ -23,32 +23,30 @@ Url: http://www.python.org/pypi/zope.component
Summary: Zope Component Architecture
License: ZPL-2.1
Group: Development/Languages/Python
-Source: zope.component-%{version}.tar.bz2
+Source: https://pypi.python.org/packages/source/z/zope.component/zope.component-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: python-Sphinx
+# Documentation requirements:
+BuildRequires: python-repoze.sphinx.autointerface
BuildRequires: python-setuptools
-BuildRequires: python-zope.interface >= 3.8.0
+BuildRequires: python-zope.configuration
BuildRequires: python-zope.event
-Requires: python-zope.interface >= 3.8.0
-Requires: python-zope.event
+BuildRequires: python-zope.hookable
+BuildRequires: python-zope.interface >= 3.8.0
+BuildRequires: python-persistent
# Testing requirements:
BuildRequires: python-zope.proxy
#TODO: fix circular dependency with python-zope.security
#BuildRequires: python-zope.security
BuildRequires: python-zope.testing
-BuildRequires: python-zope.configuration
-BuildRequires: python-zope.hookable
-BuildRequires: python-persistent
-# Documentation requirements:
-BuildRequires: python-Sphinx
-BuildRequires: python-repoze.sphinx.autointerface
-
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+BuildRequires: unzip
+Requires: python-zope.interface >= 3.8.0
+Requires: python-zope.event
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
BuildArch: noarch
%endif
-%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description
This package is intended to be independently reusable in any Python project. It
diff --git a/zope.component-4.1.0.tar.bz2 b/zope.component-4.1.0.tar.bz2
deleted file mode 100644
index 1ed310b..0000000
--- a/zope.component-4.1.0.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:81e558b9a7d219f8186652d3cf1563f96293f3fa6acb35bead6163b40b20f27b
-size 63407
diff --git a/zope.component-4.1.0.zip b/zope.component-4.1.0.zip
new file mode 100644
index 0000000..5318fb3
--- /dev/null
+++ b/zope.component-4.1.0.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6cb9eec6a735db27452b5825fb498684b5bff15bc0c26a7e1e5c9953a7588f4e
+size 117239