public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bmap-tools] epel10: adjustments based on package review feedback
@ 2026-11-04 18:16 Dan Callaghan
0 siblings, 0 replies; only message in thread
From: Dan Callaghan @ 2026-11-04 18:16 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bmap-tools
Branch : epel10
Commit : 0892717ee2fc4cd8b22181ae9ff3e8ea966f6165
Author : Dan Callaghan <dan.callaghan@opengear.com>
Date : 2020-01-30T14:08:10+10:00
Stats : +14/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bmap-tools/c/0892717ee2fc4cd8b22181ae9ff3e8ea966f6165?branch=epel10
Log:
adjustments based on package review feedback
---
diff --git a/bmap-tools.spec b/bmap-tools.spec
index 65e557c..7fb1d75 100644
--- a/bmap-tools.spec
+++ b/bmap-tools.spec
@@ -2,14 +2,17 @@
Name: bmap-tools
Version: 3.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Tools to generate and flash sparse images using the "block map" (bmap) format
License: GPLv2+
URL: https://github.com/intel/bmap-tools
Source0: https://github.com/intel/bmap-tools/archive/v%{version}/%{name}-%{version}.tar.gz
# https://github.com/intel/bmap-tools/commit/db7087b883bf52cbff063ad17a41cc1cbb85104
+# Fixes https://github.com/intel/bmap-tools/issues/57 for Python 3.7+
Patch1: db7087b883bf52cbff063ad17a41cc1cbb85104d.patch
BuildArch: noarch
+# Base package contains the command line tool, which uses the Python library
+Requires: python3-%{module_name} = %{version}-%{release}
%description
Tools to generate "block map" (a.k.a. bmap) files and flash images. Bmaptool is
@@ -40,16 +43,11 @@ Requires: pigz
%description -n python3-%{module_name}
Python library for bmap-tools.
-%package -n bmaptool
-Summary: Tool to manipulate sparse images in the "block map" (bmap) format
-Requires: python3-%{module_name} = %{version}-%{release}
-
-%description -n bmaptool
-Command-line utility for bmap-tools.
-
%prep
%setup -q
%patch1 -p1
+# Remove unnecessary shebang
+sed -i -e '/^#!/,1d' bmaptools/CLI.py
%build
%py3_build
@@ -62,16 +60,20 @@ install -m644 docs/man1/bmaptool.1 %{buildroot}/%{_mandir}/man1
%check
nosetests-3
+%files
+%{_bindir}/bmaptool
+%{_mandir}/man1/bmaptool.1*
+
%files -n python3-%{module_name}
%doc docs/README docs/RELEASE_NOTES
%license COPYING
%{python3_sitelib}/%{module_name}
%{python3_sitelib}/bmap_tools*.egg-info
-%files -n bmaptool
-%{_bindir}/bmaptool
-%{_mandir}/man1/bmaptool.1*
-
%changelog
+* Mon Dec 30 2019 Dan Callaghan <dan.callaghan@opengear.com> - 3.5-2
+- dropped the separate 'bmaptool' subpackage, the base package now provides
+ /usr/bin/bmaptool
+
* Tue Jan 29 2019 Dan Callaghan <dan.callaghan@opengear.com> - 3.5-1
- initial version
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-04 18:16 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:16 [rpms/bmap-tools] epel10: adjustments based on package review feedback Dan Callaghan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox