public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyone] rawhide: Fix FTBFS on rawhide
Date: Thu, 06 Aug 2026 00:38:54 GMT	[thread overview]
Message-ID: <178597673438.1.10366446663880893487.rpms-python-pyone-bb9ab30233db@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-06  0:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178597673438.1.10366446663880893487.rpms-python-pyone-bb9ab30233db@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox