public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bmap-tools] epel10.3: update to 3.7
@ 2026-11-04 18:44 Ali Erdinc Koroglu
0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 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 : 1e08cc77a74aacbbcae449ab9c11aa0331de05d9
Author : Ali Erdinc Koroglu <aekoroglu@linux.intel.com>
Date : 2023-10-11T10:06:19+03:00
Stats : +38/-31 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/bmap-tools/c/1e08cc77a74aacbbcae449ab9c11aa0331de05d9?branch=epel10.3
Log:
update to 3.7
---
diff --git a/.gitignore b/.gitignore
index d52f0da..474faaf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/bmap-tools-3.5.tar.gz
-/bmap-tools-3.6.tar.gz
+/bmap-tools-*.tar.gz
diff --git a/bmap-tools.spec b/bmap-tools.spec
index 0889228..12b0bde 100644
--- a/bmap-tools.spec
+++ b/bmap-tools.spec
@@ -1,15 +1,28 @@
%global module_name bmaptools
Name: bmap-tools
-Version: 3.6
-Release: 9%{?dist}
+Version: 3.7
+Release: 1%{?dist}
Summary: Tools to generate and flash sparse images using the "block map" (bmap) format
-License: GPLv2+
+
+License: GPL-2.0-or-later
URL: https://github.com/intel/bmap-tools
-Source0: https://github.com/intel/bmap-tools/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz
+
BuildArch: noarch
-# Base package contains the command line tool, which uses the Python library
+
+BuildRequires: python3-devel
+BuildRequires: python3-pytest
Requires: python3-%{module_name} = %{version}-%{release}
+Requires: bzip2
+Requires: pbzip2
+Requires: gzip
+Requires: xz
+Requires: tar
+Requires: unzip
+Requires: lzop
+Requires: pigz
+Requires: zstd
%description
Bmaptool is a generic tool for creating the block map (bmap) for a file and
@@ -24,49 +37,44 @@ OS distribution images to USB sticks.
%package -n python3-%{module_name}
Summary: Python library for bmap-tools
-%{?python_provide:%python_provide python3-%{module_name}}
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-BuildRequires: python3-six
-Requires: python3-six
-Requires: python3-gpg
-Requires: bzip2
-Requires: pbzip2
-Requires: gzip
-Requires: xz
-Requires: tar
-Requires: unzip
-Requires: lzop
-Requires: pigz
-Requires: zstd
%description -n python3-%{module_name}
Python library to manipulate sparse images in the "block map" (bmap) format.
%prep
-%setup -q
+%autosetup
# Remove unnecessary shebang
sed -i -e '/^#!/,1d' bmaptools/CLI.py
+sed -i -e '/^#!/,1d' bmaptools/__main__.py
+
+%generate_buildrequires
+%pyproject_buildrequires -r
%build
-%py3_build
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files %{module_name}
+
install -d %{buildroot}/%{_mandir}/man1
install -m644 docs/man1/bmaptool.1 %{buildroot}/%{_mandir}/man1
+%check
+%pytest -v
+
%files
+%license LICENSE
+%doc README.md CHANGELOG.md
%{_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 python3-%{module_name} -f %{pyproject_files}
%changelog
+* Wed Oct 11 2023 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 3.7-1
+- Update to 3.7
+
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
diff --git a/sources b/sources
index 5de3775..b850b9e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bmap-tools-3.6.tar.gz) = a55fe88d8f136b39f2bb92690322ae65d66ae1ae0454050d74bd37a39d69dca6428ba05ff42d2faf8e83f8f8342d882caaf8bb45aa00c74bbd5e4b12289a406a
+SHA512 (bmap-tools-3.7.tar.gz) = fe7a479990924b2f747bf4084ea0414edb62ecf021410e101ad22bd5927400dafb2735b788d5e791882414558d357cd204ffd5ffff17e03163da54f9192a9881
^ 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.7 Ali Erdinc Koroglu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox