public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Kevin Fenzi <kevin@scrye.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-straight-plugin] rawhide: Modernize spec some. Fixes rhbz#2378255
Date: Fri, 19 Jun 2026 19:50:50 GMT	[thread overview]
Message-ID: <178189865018.1.13309129617417855627.rpms-python-straight-plugin-3a53f406c51f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-straight-plugin
            Branch : rawhide
            Commit : 3a53f406c51fd3b0e25aec73ce6c64701e9ab6c8
            Author : Kevin Fenzi <kevin@scrye.com>
            Date   : 2026-06-19T12:50:43-07:00
            Stats  : +19/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-straight-plugin/c/3a53f406c51fd3b0e25aec73ce6c64701e9ab6c8?branch=rawhide

            Log:
            Modernize spec some. Fixes rhbz#2378255

Remove pth file that causes anoying warnings. Fixes rhbz#2486067

---
diff --git a/python-straight-plugin.spec b/python-straight-plugin.spec
index 91d54ee..0900d31 100644
--- a/python-straight-plugin.spec
+++ b/python-straight-plugin.spec
@@ -1,6 +1,6 @@
 Name:           python-straight-plugin
 Version:        1.5.0
-Release:        36%{?dist}
+Release:        37%{?dist}
 Summary:        Python plugin loader
 
 # Automatically converted from old format: BSD - review is highly recommended.
@@ -19,6 +19,7 @@ BuildArch:      noarch
 
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
+BuildRequires:  python3-pkg-resources
 
 
 
@@ -55,20 +56,32 @@ the plugins in it for some particular purpose or intent.
 %prep
 %autosetup -p1 -n straight.plugin-%{version}
 
+%generate_buildrequires
+%pyproject_buildrequires
+
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
+
+%pyproject_save_files -l straight
+
+rm -f %{buildroot}%{python3_sitelib}/straight*pth
 
 #%check
 #%{__python3} tests.py
 
-%files -n python3-straight-plugin
-# For noarch packages: sitelib
-%{python3_sitelib}/straight*
+
+%files -n python3-straight-plugin -f %{pyproject_files}
+%license LICENSE
+%doc README.rst AUTHORS
 
 %changelog
+* Thu Jun 18 2026 Kevin Fenzi <kevin@scrye.com> - 1.5.0-37
+- Modernize spec some. Fixes rhbz#2378255
+- Remove pth file that causes anoying warnings. Fixes rhbz#2486067
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 1.5.0-36
 - Rebuilt for Python 3.15
 

                 reply	other threads:[~2026-06-19 19:50 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=178189865018.1.13309129617417855627.rpms-python-straight-plugin-3a53f406c51f@fedoraproject.org \
    --to=kevin@scrye.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