forked from pool/python-persistent
- Update to 4.4.3:
* Too many changes around see CHANGES.rst - Do not bother with documentation generating - Add more dependencies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-persistent?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
3bda92c8b6
commit
51e2b669e9
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-persistent
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -13,13 +13,13 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-persistent
|
||||
Version: 4.3.0
|
||||
Version: 4.4.3
|
||||
Release: 0
|
||||
Summary: Translucent persistent objects
|
||||
License: ZPL-2.1
|
||||
@@ -28,12 +28,13 @@ URL: https://github.com/zopefoundation/persistent
|
||||
Source: https://files.pythonhosted.org/packages/source/p/persistent/persistent-%{version}.tar.gz
|
||||
# Blocking https://github.com/zopefoundation/persistent/issues/86
|
||||
Patch: persistent-4.2.4.2-switch-off-tests.patch
|
||||
# Documentation requirements:
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module repoze.sphinx.autointerface}
|
||||
Requires: python-cffi
|
||||
BuildRequires: %{python_module manuel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module zope.interface}
|
||||
BuildRequires: %{python_module zope.testrunner}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-zope.interface
|
||||
@@ -53,14 +54,6 @@ Requires: python-base
|
||||
%description devel
|
||||
This package contains the files needed for binding the %{name} C module.
|
||||
|
||||
%package doc
|
||||
Summary: Translucent persistent objects
|
||||
Group: Development/Languages/Python
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description doc
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n persistent-%{version}
|
||||
%autopatch -p1
|
||||
@@ -68,14 +61,12 @@ rm -rf persistent.egg-info
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%{_python_use_flavor python3}
|
||||
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
|
||||
%install
|
||||
%python_install
|
||||
# don't bother with development files
|
||||
%{python_expand rm %{buildroot}%{$python_sitearch}/persistent/*.c
|
||||
%fdupes -s %{buildroot}%{$python_sitearch}
|
||||
%fdupes %{buildroot}%{$python_sitearch}
|
||||
}
|
||||
|
||||
%check
|
||||
@@ -93,7 +84,4 @@ find . -name \*.pyc -delete
|
||||
%{python_sysconfig_path include}/persistent/*.h
|
||||
%{python_sitearch}/persistent/*.h
|
||||
|
||||
%files %{python_files doc}
|
||||
%doc build/sphinx/html/
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user