public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-dtoc] rawhide: Update to 0.1.0 rhbz#2560161
@ 2026-10-31  2:20 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-10-31  2:20 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-dtoc
Branch : rawhide
Commit : 3d44cd4558fcdcc0ef0895929e9017b8720033da
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date   : 2026-10-23T20:38:44-03:00
Stats  : +7/-5 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-dtoc/c/3d44cd4558fcdcc0ef0895929e9017b8720033da?branch=rawhide

Log:
Update to 0.1.0 rhbz#2560161

---
diff --git a/python-dtoc.spec b/python-dtoc.spec
index 7534d00..d916502 100644
--- a/python-dtoc.spec
+++ b/python-dtoc.spec
@@ -1,5 +1,5 @@
 Name:           python-dtoc
-Version:        0.0.7
+Version:        0.1.0
 Release:        %autorelease
 Summary:        Devicetree-to-C generator
 
@@ -10,6 +10,7 @@ Source:         %{pypi_source dtoc}
 BuildArch:      noarch
 BuildRequires:  python3-devel
 BuildRequires:  python3-libfdt
+BuildRequires:  python3-u-boot-pylib
 BuildRequires:  sed
 
 %global _description %{expand:
@@ -23,17 +24,18 @@ 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}
 
-# Fix dependency name
-sed -i 's:"pylibfdt", ::' pyproject.toml
+# Remove dependencies handled by BuildRequires/Requires
+sed -i -e '/"pylibfdt/d' -e '/"u-boot-pylib/d' pyproject.toml
 
 # Remove unnecessary shebangs
-sed -i src/dtoc/*.py \
+sed -i dtoc/*.py \
   -e "\|#!/usr/bin/env python3|d" \
   -e "\|#!/usr/bin/python|d"
 

diff --git a/sources b/sources
index d9fa744..194207c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (dtoc-0.0.7.tar.gz) = 075deb283ef0d4828fb29081e8df1c7c65ffd1c3bddb2b56ac80af8dd86eb5ecc93ecf7a770579e857b4010ba7c70e5abec02d6371f600873d65e93eadb9e760
+SHA512 (dtoc-0.1.0.tar.gz) = 5536de453bb79c935944640d0b63b9ca41d3f6cb62af1e01fd068553e25408c318fc35d146b05f6cb2cd7608e983f7bdf38c49ac01af1e99248d1bec8486a2ef

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

only message in thread, other threads:[~2026-10-31  2:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31  2:20 [rpms/python-dtoc] rawhide: Update to 0.1.0 rhbz#2560161 Filipe Rosset

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