public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-xapp] rawhide: Move BuildRequires to main package section
@ 2026-07-25 18:01 Michal Schorm
0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-07-25 18:01 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-xapp
Branch : rawhide
Commit : 010fae08bb4ff5a05589c426787803f34204ff4b
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-07-25T15:56:07+02:00
Stats : +2/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-xapp/c/010fae08bb4ff5a05589c426787803f34204ff4b?branch=rawhide
Log:
Move BuildRequires to main package section
Move 'meson' and 'python3-rpm-macros' from the '%package -n
python3-xapp' subpackage section to the main package header.
BuildRequires belong under the source package, not under %package
(which is for subpackage metadata). RPM processes them correctly
either way, but the main header is the conventional location per
Fedora Packaging Guidelines.
No 'python3-devel' is needed: this is a pure-Python package —
'meson.build' uses only 'pymod.find_installation()' and
'install_sources()' (pure file copies, no C compilation, no
'extension_module()'). The '%{python3_sitelib}' macro comes from
'python3-rpm-macros', which is already a BuildRequires.
Linux Mint divergence: LM uses 'python3-all' (a Debian equivalent
that includes development headers) instead of 'python3-devel'.
Upstream references:
- Python module import and find_installation(): https://github.com/linuxmint/python-xapp/blob/3.0.3/meson.build#L3-L4
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/python-xapp.spec b/python-xapp.spec
index d49fef2..1edf0c3 100644
--- a/python-xapp.spec
+++ b/python-xapp.spec
@@ -9,6 +9,8 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: gettext
+BuildRequires: meson
+BuildRequires: python3-rpm-macros
%description
%{summary}.
@@ -17,9 +19,6 @@ BuildRequires: gettext
%package -n python3-xapp
Summary: %{summary}
-BuildRequires: meson
-BuildRequires: python3-rpm-macros
-
Requires: gtk3
Requires: python3-gobject-base
Requires: python3-psutil
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-25 18:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-25 18:01 [rpms/python-xapp] rawhide: Move BuildRequires to main package section Michal Schorm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox