forked from pool/python-ZEO
- Clean up SPEC file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ZEO?expand=0&rev=32
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 13:43:33 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 12:53:07 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -28,9 +28,11 @@ BuildRequires: %{python_module ZConfig}
|
||||
BuildRequires: %{python_module ZODB >= 5.5.1}
|
||||
BuildRequires: %{python_module manuel}
|
||||
BuildRequires: %{python_module msgpack}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module random2}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module transaction >= 2.0.3}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module zc.lockfile}
|
||||
BuildRequires: %{python_module zdaemon}
|
||||
BuildRequires: %{python_module zodbpickle >= 0.6.0}
|
||||
@@ -62,8 +64,7 @@ Provides: %{python_module ZEO-doc = %{version}}
|
||||
This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n ZEO-%{version}
|
||||
%autopatch -p1
|
||||
%autosetup -p1 -n ZEO-%{version}
|
||||
|
||||
# delete backup files
|
||||
find . -name "*~" -print -delete
|
||||
@@ -74,10 +75,10 @@ rm -rf src/ZEO.egg-info
|
||||
sed -i -e 's:msgpack < 0.6:msgpack:g' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/runzeo
|
||||
@@ -103,6 +104,6 @@ export ZEO4_SERVER=1
|
||||
%python_alternative %{_bindir}/zeopack
|
||||
%python_alternative %{_bindir}/zeo-nagios
|
||||
%{python_sitelib}/ZEO
|
||||
%{python_sitelib}/ZEO-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitelib}/ZEO-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user