public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyone] rawhide: Fix FTBFS on rawhide
@ 2026-08-06 0:38 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-06 0:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pyone
Branch : rawhide
Commit : bb9ab30233dbc16f9194712024252fc3a66ac5aa
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-07-21T00:30:13-03:00
Stats : +15/-22 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyone/c/bb9ab30233dbc16f9194712024252fc3a66ac5aa?branch=rawhide
Log:
Fix FTBFS on rawhide
---
diff --git a/python-pyone.spec b/python-pyone.spec
index 0ea0c9a..96fcbce 100644
--- a/python-pyone.spec
+++ b/python-pyone.spec
@@ -12,33 +12,21 @@ Source0: https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{
Source1: https://github.com/OpenNebula/addon-pyone/blob/master/LICENSE
BuildArch: noarch
-BuildRequires: python3-devel
BuildRequires: python3-aenum
-BuildRequires: python3-check-manifest
-BuildRequires: python3-coverage
+BuildRequires: python3-devel
BuildRequires: python3-dicttoxml
BuildRequires: python3-lxml
BuildRequires: python3-requests
-BuildRequires: python3-setuptools
BuildRequires: python3-six
BuildRequires: python3-tblib
BuildRequires: python3-xmltodict
+
%description
OpenNebula Python Bindings Description --PyOne is an implementation of Open
Nebula XML-RPC bindings in Python.
%package -n python3-%{pypi_name}
Summary: %{summary}
-%{?python_provide:%python_provide python3-%{pypi_name}}
-
-Requires: python3-aenum
-Requires: python3-coverage
-Requires: python3-dicttoxml
-Requires: python3-lxml
-Requires: python3-requests
-Requires: python3-six
-Requires: python3-tblib
-Requires: python3-xmltodict
%description -n python3-%{pypi_name}
OpenNebula Python Bindings Description --PyOne is an implementation of Open
@@ -47,21 +35,26 @@ OpenNebula release cycles from here <
%prep
%autosetup -n %{pypi_name}-%{version}
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
+# Remove shebangs from non-executable Python library files
+find pyone -name '*.py' -exec sed -i -e '/^#!\//d' {} +
+
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
+%pyproject_wheel
%install
install -pm 0644 %{SOURCE1} LICENSE
-%py3_install
+%pyproject_install
+%pyproject_save_files pyone
-%files -n python3-%{pypi_name}
-%doc README.rst
+%check
+%pyproject_check_import
+
+%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE
-%{python3_sitelib}/%{pypi_name}
-%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
+%doc README.rst
%changelog
%autochangelog
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-06 0:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 0:38 [rpms/python-pyone] rawhide: Fix FTBFS on rawhide Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox