From f9557afd32671256d40c2f9e415122ed334d0e370f3eb85b943e027fcc98bd29 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 14 Oct 2019 11:43:22 +0000 Subject: [PATCH] - Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-BTrees?expand=0&rev=14 --- python-BTrees.changes | 5 +++++ python-BTrees.spec | 25 +++++++++---------------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/python-BTrees.changes b/python-BTrees.changes index a6586ec..52a6c30 100644 --- a/python-BTrees.changes +++ b/python-BTrees.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 14 11:43:03 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + ------------------------------------------------------------------- Mon Aug 5 11:36:26 UTC 2019 - pgajdos@suse.com diff --git a/python-BTrees.spec b/python-BTrees.spec index 787f3eb..91825df 100644 --- a/python-BTrees.spec +++ b/python-BTrees.spec @@ -23,24 +23,22 @@ Version: 4.6.0 Release: 0 Summary: Persistent B-tree object containers for Python License: ZPL-2.1 -Group: Development/Libraries/Python -Url: http://www.zope.org/Products/ZODB +URL: http://www.zope.org/Products/ZODB Source: https://files.pythonhosted.org/packages/source/B/BTrees/BTrees-%{version}.tar.gz -BuildRequires: %{python_module devel} -BuildRequires: %{python_module persistent-devel >= 4.1.0} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module zope.interface} -BuildRequires: fdupes -BuildRequires: python-rpm-macros # Documentation requirements: BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module persistent-devel >= 4.1.0} BuildRequires: %{python_module repoze.sphinx.autointerface} +BuildRequires: %{python_module setuptools} # Testing requirements: BuildRequires: %{python_module transaction} +BuildRequires: %{python_module zope.interface} BuildRequires: %{python_module zope.testrunner} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-persistent >= 4.1.0 Requires: python-zope.interface -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages %description @@ -55,7 +53,6 @@ BTrees.tests.test_SampleDataManager. %package devel Summary: Development files for the python-BTrees module -Group: Development/Languages/Python Requires: %{name} = %{version} %description devel @@ -63,7 +60,6 @@ This package contains the files needed for binding the %{name} C module. %package doc Summary: Documentation for the python-BTrees module -Group: Development/Libraries/Python Requires: %{name} = %{version} %description doc @@ -76,30 +72,27 @@ rm -rf BTrees.egg-info %build %python_build %{_python_use_flavor python3} -%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo +python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install %python_install %{python_expand rm %{buildroot}%{$python_sitearch}/BTrees/*.c - %fdupes -s %{buildroot}%{$python_sitearch} + %fdupes %{buildroot}%{$python_sitearch} } %check %python_exec setup.py -q test %files %{python_files} -%defattr(-,root,root) %doc CHANGES.rst README.rst PKG-INFO %license COPYRIGHT.txt LICENSE.txt %exclude %{python_sitearch}/BTrees/*.h %{python_sitearch}/* %files %{python_files devel} -%defattr(-,root,root,-) %{python_sitearch}/BTrees/*.h %files %{python_files doc} -%defattr(-,root,root,-) %doc build/sphinx/html/ %changelog