14
0
2018-12-04 17:26:41 +00:00
committed by Git OBS Bridge
parent 35a8080ecb
commit 50be9b9150

View File

@@ -17,27 +17,26 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-zope.event
%global modname zope.event
%define oldpython python
Name: python-zope.event
Version: 4.2.0
Release: 0
Summary: Very basic event publishing system
License: ZPL-2.1
Group: Development/Libraries/Python
Url: http://pypi.python.org/pypi/%{modname}
Source: https://pypi.io/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
URL: http://pypi.python.org/pypi/%{modname}
Source: https://files.pythonhosted.org/packages/source/z/zope.event/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Documentation requirements:
BuildRequires: python3-Sphinx
BuildArch: noarch
%define oldpython python
%ifpython2
Provides: %{oldpython}-zope-event = %{version}
Obsoletes: %{oldpython}-zope-event < %{version}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages
%description
@@ -73,12 +72,11 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root)
%doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
%license LICENSE.txt
%doc CHANGES.rst COPYRIGHT.txt README.rst
%{python_sitelib}/*
%files -n %{name}-doc
%defattr(-,root,root,-)
%doc build/sphinx/html/
%changelog