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-binary-manager] f45: Update to 0.1.3
Date: Thu, 22 Oct 2026 04:45:20 GMT	[thread overview]
Message-ID: <179264432027.1.6588044671044201360.rpms-python-binary-manager-f38e53bc3b86@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-binary-manager
            Branch : f45
            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=f45

            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

                 reply	other threads:[~2026-10-22  4:45 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=179264432027.1.6588044671044201360.rpms-python-binary-manager-f38e53bc3b86@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