public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dan Callaghan <dan.callaghan@opengear.com>
To: git-commits@fedoraproject.org
Subject: [rpms/bmap-tools] epel10.2: adjustments based on package review feedback
Date: Wed, 04 Nov 2026 18:34:10 GMT [thread overview]
Message-ID: <179381725095.1.10289795359202018484.rpms-bmap-tools-0892717ee2fc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/bmap-tools
Branch : epel10.2
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.2
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
reply other threads:[~2026-11-04 18:34 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=179381725095.1.10289795359202018484.rpms-bmap-tools-0892717ee2fc@fedoraproject.org \
--to=dan.callaghan@opengear.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