public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-binary-manager] rawhide: Update to 0.1.3
@ 2026-10-18 22:28 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-10-18 22:28 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-binary-manager
Branch : rawhide
Commit : f38e53bc3b86424f43032ed8e43bfca69ed1d310
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-10-18T19:09:59-03:00
Stats : +16/-7 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-binary-manager/c/f38e53bc3b86424f43032ed8e43bfca69ed1d310?branch=rawhide
Log:
Update to 0.1.3
Resolves: rhbz#2545645
---
diff --git a/python-binary-manager.spec b/python-binary-manager.spec
index 85ef59b..bfadb63 100644
--- a/python-binary-manager.spec
+++ b/python-binary-manager.spec
@@ -1,5 +1,5 @@
Name: python-binary-manager
-Version: 0.0.7
+Version: 0.1.3
Release: %autorelease
Summary: Binman firmware-packaging tool
@@ -13,7 +13,9 @@ BuildRequires: python3-libfdt
BuildRequires: python3-pkg-resources
BuildRequires: python3dist(jsonschema)
BuildRequires: python3dist(pycryptodomex)
+BuildRequires: python3dist(pyelftools)
BuildRequires: python3dist(pyyaml)
+BuildRequires: python3dist(u-boot-pylib)
BuildRequires: python3dist(yamllint)
BuildRequires: sed
@@ -31,7 +33,9 @@ Summary: %{summary}
Requires: python3-libfdt
Requires: python3dist(jsonschema)
Requires: python3dist(pycryptodomex)
+Requires: python3dist(pyelftools)
Requires: python3dist(pyyaml)
+Requires: python3dist(u-boot-pylib)
Requires: python3dist(yamllint)
%description -n python3-binary-manager %_description
@@ -39,11 +43,16 @@ Requires: python3dist(yamllint)
%prep
%autosetup -p1 -n binary_manager-%{version}
-# Fix dependency name
-sed -i 's:"pylibfdt", ::' pyproject.toml
+# Drop pylibfdt; it is provided by python3-libfdt
+sed -i '/pylibfdt/d' pyproject.toml
-# Remove unnecessary shebangs
-sed -i "\|#!/usr/bin/env python3|d" src/binman/*.py
+# u-boot-pylib 0.1.0 is not yet in rawhide; relax the lower bound so the
+# 0.0.7 package can satisfy it
+%pyproject_patch_dependency 'u-boot-pylib:drop_lower'
+
+# Remove unnecessary shebangs (the tool is run via the binman console script,
+# not these module files directly)
+find binman -name '*.py' -exec sed -i '1{/^#!/d}' {} +
%generate_buildrequires
%pyproject_buildrequires
@@ -56,7 +65,7 @@ sed -i "\|#!/usr/bin/env python3|d" src/binman/*.py
%pyproject_save_files binman
%check
-%pyproject_check_import -e binman.setup
+%pyproject_check_import -e binman.main
%files -n python3-binary-manager -f %{pyproject_files}
%doc README.rst
diff --git a/sources b/sources
index 9b37efe..637dd5d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (binary_manager-0.0.7.tar.gz) = ce0c4a062b02172a3b3e06e89e617bc14fecd0456b357b07c357d0c65a524cfad804ea2919174abc6d56ee5f20c5a4ffe187eac39a926d2917fb1625568da0e0
+SHA512 (binary_manager-0.1.3.tar.gz) = 6445b4d35adf39eec5bb90a10e66c53624cea00a4a6af5f02789bc6c0529a5b0a9d8cd2328b9a7a8cd1c41675d2b34105ea8cc854c0e25deccd70fe871950817
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-18 22:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-18 22:28 [rpms/python-binary-manager] rawhide: Update to 0.1.3 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox