public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-dtoc] rawhide: drop manual deps handled by python macros
Date: Fri, 13 Nov 2026 16:37:21 GMT [thread overview]
Message-ID: <179458784145.1.9274151442168438169.rpms-python-dtoc-0edf1898385e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-dtoc
Branch : rawhide
Commit : 0edf1898385eb4dd10b6c91d2310d4a5549d94a5
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-13T13:37:03-03:00
Stats : +5/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-dtoc/c/0edf1898385eb4dd10b6c91d2310d4a5549d94a5?branch=rawhide
Log:
drop manual deps handled by python macros
---
diff --git a/python-dtoc.spec b/python-dtoc.spec
index 336107a..84034fc 100644
--- a/python-dtoc.spec
+++ b/python-dtoc.spec
@@ -9,8 +9,6 @@ Source: %{pypi_source dtoc}
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3-libfdt
-BuildRequires: python3-u-boot-pylib
BuildRequires: sed
%global _description %{expand:
@@ -23,16 +21,17 @@ modification of the devicetree files.}
%package -n python3-dtoc
Summary: %{summary}
-Requires: python3-libfdt
-Requires: python3-u-boot-pylib
%description -n python3-dtoc %_description
%prep
%autosetup -p1 -n dtoc-%{version}
-# Remove dependencies handled by BuildRequires/Requires
-sed -i -e '/"pylibfdt/d' -e '/"u-boot-pylib/d' pyproject.toml
+# Rename PEP 508 dep name to match the Fedora-provided virtual name
+sed -i 's/"pylibfdt >= 1.7"/"libfdt >= 1.7"/' pyproject.toml
+
+# Drop test assets not needed at runtime
+rm -rf dtoc/test
# Remove unnecessary shebangs
sed -i dtoc/*.py \
reply other threads:[~2026-11-13 16:37 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=179458784145.1.9274151442168438169.rpms-python-dtoc-0edf1898385e@fedoraproject.org \
--to=rosset.filipe@gmail.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