public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pyModbusTCP] epel10.2: Update to 0.2.0
Date: Sun, 11 Oct 2026 19:50:55 GMT	[thread overview]
Message-ID: <179174825591.1.5788703592511451821.rpms-python-pyModbusTCP-51c845746a1e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pyModbusTCP
Branch : epel10.2
Commit : 51c845746a1eb92c85238ac04238a8e0905dfe68
Author : Steve Traylen <steve.traylen@cern.ch>
Date   : 2022-08-11T08:35:26+00:00
Stats  : +10/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pyModbusTCP/c/51c845746a1eb92c85238ac04238a8e0905dfe68?branch=epel10.2

Log:
Update to 0.2.0

---
diff --git a/python-pyModbusTCP.spec b/python-pyModbusTCP.spec
index 5ef3db1..51d43cb 100644
--- a/python-pyModbusTCP.spec
+++ b/python-pyModbusTCP.spec
@@ -12,7 +12,6 @@ Source0:        https://files.pythonhosted.org/packages/source/p/%{pypi_name}/%{
 BuildArch:      noarch
  
 BuildRequires:  python3-devel
-BuildRequires:  python3-setuptools
 
 %description
 pyModbusTCP A simple Modbus/TCP client library for Python.
@@ -22,7 +21,6 @@ code without any extension or external module dependency.
 
 %package -n     python3-%{pypi_name}
 Summary:        %{summary}
-%{?python_provide:%python_provide python3-%{pypi_name}}
 
 %description -n python3-%{pypi_name}
 pyModbusTCP A simple Modbus/TCP client library for Python.
@@ -32,27 +30,27 @@ code without any extension or external module dependency.
 
 %prep
 %autosetup -n %{pypi_name}-%{version}
-# Remove bundled egg-info
-rm -rf %{pypi_name}.egg-info
+
+%generate_buildrequires
+%pyproject_buildrequires
 
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-# Must do the subpackages' install first because the scripts in /usr/bin are
-# overwritten with every setup.py install.
-%py3_install
+%pyproject_install
+%pyproject_save_files pyModbusTCP
 
+%check
+%py3_check_import pyModbusTCP
 
-%files -n python3-%{pypi_name}
-%license LICENSE
+%files -n python3-%{pypi_name} -f %{pyproject_files}
 %doc README.rst
-%{python3_sitelib}/%{pypi_name}
-%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
 
 %changelog
 * Thu Aug 11 2022 Steve Traylen <steve.traylen@cern.ch> - 0.2.0-1
 - Update to 0.2.0
+- Migrate to pyproject macros
 
 * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.10-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

             reply	other threads:[~2026-10-11 19:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-11 19:50 Steve Traylen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-10-11 19:50 [rpms/python-pyModbusTCP] epel10.2: Update to 0.2.0 Steve Traylen

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=179174825591.1.5788703592511451821.rpms-python-pyModbusTCP-51c845746a1e@fedoraproject.org \
    --to=steve.traylen@cern.ch \
    --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