1
0

- 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:
Tomáš Chvátal 2019-03-04 14:22:55 +00:00 committed by Git OBS Bridge
parent 3bda92c8b6
commit 51e2b669e9
4 changed files with 19 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8e2253a35f46ae318e65f0e3b51cdce16d4646e284a26f88a2d84b4d2507f81
size 98681

3
persistent-4.4.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6765eab176cde56a492666952b97eaaa79742e5e6fc17efcd1b6d0be9d471116
size 105394

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 4 14:18:11 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 4.4.3:
* Too many changes around see CHANGES.rst
- Do not bother with documentation generating
- Add more dependencies
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 14 14:55:56 UTC 2018 - mcepl@suse.com Tue Aug 14 14:55:56 UTC 2018 - mcepl@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-persistent # 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. # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-persistent Name: python-persistent
Version: 4.3.0 Version: 4.4.3
Release: 0 Release: 0
Summary: Translucent persistent objects Summary: Translucent persistent objects
License: ZPL-2.1 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 Source: https://files.pythonhosted.org/packages/source/p/persistent/persistent-%{version}.tar.gz
# Blocking https://github.com/zopefoundation/persistent/issues/86 # Blocking https://github.com/zopefoundation/persistent/issues/86
Patch: persistent-4.2.4.2-switch-off-tests.patch Patch: persistent-4.2.4.2-switch-off-tests.patch
# Documentation requirements: BuildRequires: %{python_module cffi}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module repoze.sphinx.autointerface} Requires: python-cffi
BuildRequires: %{python_module manuel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.interface}
BuildRequires: %{python_module zope.testrunner}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-zope.interface Requires: python-zope.interface
@ -53,14 +54,6 @@ Requires: python-base
%description devel %description devel
This package contains the files needed for binding the %{name} C module. 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 %prep
%setup -q -n persistent-%{version} %setup -q -n persistent-%{version}
%autopatch -p1 %autopatch -p1
@ -68,14 +61,12 @@ rm -rf persistent.egg-info
%build %build
%python_build %python_build
%{_python_use_flavor python3}
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
%install %install
%python_install %python_install
# don't bother with development files # don't bother with development files
%{python_expand rm %{buildroot}%{$python_sitearch}/persistent/*.c %{python_expand rm %{buildroot}%{$python_sitearch}/persistent/*.c
%fdupes -s %{buildroot}%{$python_sitearch} %fdupes %{buildroot}%{$python_sitearch}
} }
%check %check
@ -93,7 +84,4 @@ find . -name \*.pyc -delete
%{python_sysconfig_path include}/persistent/*.h %{python_sysconfig_path include}/persistent/*.h
%{python_sitearch}/persistent/*.h %{python_sitearch}/persistent/*.h
%files %{python_files doc}
%doc build/sphinx/html/
%changelog %changelog