public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bmap-tools] epel10.3: Update to 3.9.0; Fixes: RHBZ#2349825, RHBZ#2228582
@ 2026-11-04 18:44 Davide Cavalca
0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-11-04 18:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bmap-tools
Branch : epel10.3
Commit : 0e6a4b9fff673946cb8bed8f9b257a796d9820fd
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2025-06-07T08:23:32-07:00
Stats : +8/-17 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/bmap-tools/c/0e6a4b9fff673946cb8bed8f9b257a796d9820fd?branch=epel10.3
Log:
Update to 3.9.0; Fixes: RHBZ#2349825, RHBZ#2228582
---
diff --git a/.gitignore b/.gitignore
index 08aecf4..cd6916e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/bmap-tools-*.tar.gz
/bmaptool-3.7.tar.gz
+/bmaptool-3.9.0.tar.gz
diff --git a/bmap-tools.spec b/bmap-tools.spec
index 7577116..5678b9a 100644
--- a/bmap-tools.spec
+++ b/bmap-tools.spec
@@ -13,7 +13,7 @@ be used for general image flashing purposes, for example, flashing Fedora Linux
OS distribution images to USB sticks.}
Name: bmap-tools
-Version: 3.7
+Version: 3.9.0
Release: %autorelease
Summary: Generate and flash images using the "block map" (bmap) format
@@ -25,7 +25,10 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pytest
+BuildRequires: python3-six
BuildRequires: gnupg2
+
+Requires: python3-%{module_name} = %{version}-%{release}
Requires: bzip2
Requires: pbzip2
Requires: gzip
@@ -47,28 +50,16 @@ This package provides a Python library to manipulate bmap images.
%prep
%autosetup -n %{srcname}-%{version} -p1
-# Remove unnecessary shebang
-sed -i -e '/^#!/,1d' bmaptools/CLI.py
-sed -i -e '/^#!/,1d' bmaptools/__main__.py
-
-# https://github.com/yoctoproject/bmaptool/pull/1#issuecomment-1986205242
-export GNUPGHOME=$PWD/tests/test-data/gnupg
-echo 'expire
-50y
-key 1
-expire
-50y
-save' | gpg --command-fd=0 --batch --edit-key 927FF9746434704C5774BE648D49DFB1163BDFB4
%generate_buildrequires
-%pyproject_buildrequires -r
+%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
-%pyproject_save_files %{module_name}
+%pyproject_save_files -l %{srcname}
install -Dpm0644 -t %{buildroot}/%{_mandir}/man1 docs/man1/bmaptool.1
@@ -76,7 +67,6 @@ install -Dpm0644 -t %{buildroot}/%{_mandir}/man1 docs/man1/bmaptool.1
%pytest -v
%files
-%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/bmaptool
%{_mandir}/man1/bmaptool.1*
diff --git a/sources b/sources
index 8c937dd..a67078b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bmaptool-3.7.tar.gz) = 9d020f674cd28630bbf3fe3b78cda35cba33b23b4513156623f7de705e1195f2dec5c84f0252a86a8d3297bb2d69f25ac37154cb18894f85329324009b11493e
+SHA512 (bmaptool-3.9.0.tar.gz) = 5992e26ec54de5b0ec7992c5fe30acafbd8c5817fdaf992816804c6c0a033cb4357e30a581af85835d9e3fe640d06a77a68602b52499def8761de5c2038df017
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-04 18:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 18:44 [rpms/bmap-tools] epel10.3: Update to 3.9.0; Fixes: RHBZ#2349825, RHBZ#2228582 Davide Cavalca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox