14
0

Accepting request 148442 from home:posophe:branches:devel:languages:python

Update and python3 support

OBS-URL: https://build.opensuse.org/request/show/148442
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.interface?expand=0&rev=12
This commit is contained in:
Sascha Peilicke
2013-01-15 13:49:26 +00:00
committed by Git OBS Bridge
parent 8080b6e390
commit 350a47c2c3
6 changed files with 83 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-zope.interface
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-zope.interface
Version: 4.0.1
Version: 4.0.3
Release: 0
Url: http://pypi.python.org/pypi/zope.interface
Summary: Interfaces for Python
@@ -27,6 +27,7 @@ Source: http://pypi.python.org/packages/source/z/zope.interface/zope.int
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: fdupes
Provides: python-zopeinterface = %{version}
Obsoletes: python-zopeinterface < %{version}
Provides: python-zope-interface = %{version}
@@ -52,6 +53,8 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Remove duplicate files
%fdupes -s %{buildroot}
%files
%defattr(-,root,root,-)