public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-straight-plugin] rawhide: Modernize spec some. Fixes rhbz#2378255
@ 2026-06-19 19:50 Kevin Fenzi
  0 siblings, 0 replies; only message in thread
From: Kevin Fenzi @ 2026-06-19 19:50 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-19 19:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-19 19:50 [rpms/python-straight-plugin] rawhide: Modernize spec some. Fixes rhbz#2378255 Kevin Fenzi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox