Accepting request 738297 from devel:languages:python
Replace %fdupes -s with plain %fdupes; hardlinks are better. OBS-URL: https://build.opensuse.org/request/show/738297 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-BTrees?expand=0&rev=8
This commit is contained in:
commit
b6128b60da
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 14 11:43:03 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 5 11:36:26 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user