public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-gsd] rawhide: add a few more python build flags to silent rpmlint
@ 2026-11-01 23:25 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-11-01 23:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-gsd
Branch : rawhide
Commit : 9bb12996db4a52f831266e456d5f2198ebb9d802
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-08-08T18:42:28-03:00
Stats : +8/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-gsd/c/9bb12996db4a52f831266e456d5f2198ebb9d802?branch=rawhide
Log:
add a few more python build flags to silent rpmlint
---
diff --git a/python-gsd.spec b/python-gsd.spec
index f0dbefc..6c9e865 100644
--- a/python-gsd.spec
+++ b/python-gsd.spec
@@ -39,6 +39,12 @@ Summary: %{summary}
%prep
%autosetup -p1 -n gsd-%{version}
+%generate_buildrequires
+%pyproject_buildrequires
+
+%build
+%pyproject_wheel
+
%install
%pyproject_install
%pyproject_save_files gsd
@@ -49,6 +55,8 @@ find %{buildroot}%{python3_sitearch}/gsd/ -name "*.h" -delete
sed -i -E '\#(gsd/fl\.c|gsd/gsd\.c|gsd/gsd\.h)$#d' %{pyproject_files}
%check
+%pyproject_check_import
+
# Remove local gsd directory to prevent pytest from importing the uncompiled local source files
rm -rf gsd
# reading little-endian files on big-endian is unsupported
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-01 23:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-01 23:25 [rpms/python-gsd] rawhide: add a few more python build flags to silent rpmlint Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox