public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bmap-tools] epel10.2: deprecated build dependency python3-nose removed
@ 2026-11-04 18:34 aekoroglu
  0 siblings, 0 replies; only message in thread
From: aekoroglu @ 2026-11-04 18:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/bmap-tools
Branch : epel10.2
Commit : 96a71ca511efc8a2e58ca427bd5b85dd14bf57a0
Author : aekoroglu <ali.erdinc.koroglu@intel.com>
Date   : 2022-03-15T17:12:52+02:00
Stats  : +15/-46 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/bmap-tools/c/96a71ca511efc8a2e58ca427bd5b85dd14bf57a0?branch=epel10.2

Log:
deprecated build dependency python3-nose removed

---
diff --git a/bmap-tools.spec b/bmap-tools.spec
index ecfb5ed..c0d7983 100644
--- a/bmap-tools.spec
+++ b/bmap-tools.spec
@@ -2,7 +2,7 @@
 
 Name:           bmap-tools
 Version:        3.6
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Tools to generate and flash sparse images using the "block map" (bmap) format
 License:        GPLv2+
 URL:            https://github.com/intel/bmap-tools
@@ -12,19 +12,21 @@ BuildArch:      noarch
 Requires:       python3-%{module_name} = %{version}-%{release}
 
 %description
-Tools to generate "block map" (a.k.a. bmap) files and flash images. Bmaptool is
-a generic tool for creating the block map (bmap) for a file, and copying files
-using the block map. The idea is that large file containing unused blocks, like
-raw system image files, can be copied or flashed a lot faster with bmaptool
-than with traditional tools like "dd" or "cp". See
-https://source.tizen.org/documentation/reference/bmaptool for more information.
+Bmaptool is a generic tool for creating the block map (bmap) for a file and 
+copying files using the block map. The idea is that large files, like raw 
+system image files, can be copied or flashed a lot faster and more reliably 
+with bmaptool than with traditional tools, like dd or cp.
+
+Bmaptool was originally created for the "Tizen IVI" project and it was used for
+flashing system images to USB sticks and other block devices. Bmaptool can also
+be used for general image flashing purposes, for example, flashing Fedora Linux
+OS distribution images to USB sticks.
 
 %package -n python3-%{module_name}
-Summary:        Python library to manipulate sparse images in the "block map" (bmap) format
+Summary:        Python library for bmap-tools
 %{?python_provide:%python_provide python3-%{module_name}}
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
-BuildRequires:  python3-nose
 BuildRequires:  python3-six
 Requires:       python3-six
 Requires:       python3-gpg
@@ -38,7 +40,7 @@ Requires:       lzop
 Requires:       pigz
 
 %description -n python3-%{module_name}
-Python library for bmap-tools.
+Python library to manipulate sparse images in the "block map" (bmap) format.
 
 %prep
 %setup -q
@@ -53,10 +55,6 @@ sed -i -e '/^#!/,1d' bmaptools/CLI.py
 install -d %{buildroot}/%{_mandir}/man1
 install -m644 docs/man1/bmaptool.1 %{buildroot}/%{_mandir}/man1
 
-%check
-# Tests are currently disabled because they take a very long time and don't pass reliably
-#nosetests-3
-
 %files
 %{_bindir}/bmaptool
 %{_mandir}/man1/bmaptool.1*
@@ -68,6 +66,9 @@ install -m644 docs/man1/bmaptool.1 %{buildroot}/%{_mandir}/man1
 %{python3_sitelib}/bmap_tools*.egg-info
 
 %changelog
+* Tue 15 Mar 2022 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 3.6-3
+- Deprecated build dependency python3-nose removed
+
 * Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
 

diff --git a/db7087b883bf52cbff063ad17a41cc1cbb85104d.patch b/db7087b883bf52cbff063ad17a41cc1cbb85104d.patch
deleted file mode 100644
index 0d8c98e..0000000
--- a/db7087b883bf52cbff063ad17a41cc1cbb85104d.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 2d3d0aeead0ac1b1f5e9fa5ef351aac8b14b5da9 Mon Sep 17 00:00:00 2001
-From: Simon McVittie <smcv@debian.org>
-Date: Mon, 10 Dec 2018 15:23:47 +0000
-Subject: [PATCH] Filemap: catch StopIteration from next(iterator)
-
-In Python >= 3.7, if code in a generator raises StopIteration, it is
-transformed into a RuntimeError instead of terminating the generator
-gracefully.
-
-Closes: https://github.com/intel/bmap-tools/issues/57
-Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915686
----
- bmaptools/Filemap.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/bmaptools/Filemap.py b/bmaptools/Filemap.py
-index 3e56798..e06e654 100644
---- a/bmaptools/Filemap.py
-+++ b/bmaptools/Filemap.py
-@@ -476,7 +476,11 @@ def get_mapped_ranges(self, start, count):
-         _log.debug("FilemapFiemap: get_mapped_ranges(%d,  %d(%d))"
-                    % (start, count, start + count - 1))
-         iterator = self._do_get_mapped_ranges(start, count)
--        first_prev, last_prev = next(iterator)
-+
-+        try:
-+            first_prev, last_prev = next(iterator)
-+        except StopIteration:
-+            return
- 
-         for first, last in iterator:
-             if last_prev == first - 1:

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

only message in thread, other threads:[~2026-11-04 18:34 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:34 [rpms/bmap-tools] epel10.2: deprecated build dependency python3-nose removed aekoroglu

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