public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nvmetcli] rawhide: Update to 0.9
@ 2026-09-03 6:31 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-09-03 6:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/nvmetcli
Branch : rawhide
Commit : f932f2b9c49f407d70a434b2df346b05a8af3942
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-08-27T22:51:36-04:00
Stats : +21/-17 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/nvmetcli/c/f932f2b9c49f407d70a434b2df346b05a8af3942?branch=rawhide
Log:
Update to 0.9
Upstream switched to pyproject.toml and dropped the dependencies on six
and pykmod, using direct calls to modprobe instead.
- Resolves: rhbz#2378559
---
diff --git a/.gitignore b/.gitignore
index 921b4cb..2d6c790 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/nvmetcli-0.4.tar.gz
/nvmetcli-0.7.tar.gz
/nvmetcli-0.8.tar.gz
+/nvmetcli-0.9.tar.gz
diff --git a/nvmetcli.spec b/nvmetcli.spec
index ba347c1..7d3f58c 100644
--- a/nvmetcli.spec
+++ b/nvmetcli.spec
@@ -1,20 +1,18 @@
Name: nvmetcli
License: Apache-2.0
Summary: An adminstration shell for NVMe storage targets
-Version: 0.8
-Release: 9%{?dist}
-URL: ftp://ftp.infradead.org/pub/nvmetcli/
-Source: ftp://ftp.infradead.org/pub/nvmetcli/%{name}-%{version}.tar.gz
+Version: 0.9
+Release: 1%{?dist}
+URL: https://github.com/linux-nvme/nvmetcli
+Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
-BuildRequires: python3-devel python3-setuptools systemd-units asciidoc xmlto
-Requires: python3-configshell python3-kmod python3-six
+BuildRequires: python3-devel systemd-units asciidoc xmlto
+Requires: kmod
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
-%define _sbindir %{_exec_prefix}/sbin
-
%description
This package contains the command line interface to the NVMe over Fabrics
nvmet in the Linux kernel. It allows configuring the nvmet interactively
@@ -23,19 +21,22 @@ as well as saving / restoring the configuration to / from a json file.
%prep
%autosetup -p1
+%generate_buildrequires
+%pyproject_buildrequires
+
%build
-%{__python3} setup.py build
+%pyproject_wheel
cd Documentation
make
-gzip --stdout nvmetcli.8 > nvmetcli.8.gz
%install
-%{__python3} setup.py install --skip-build --root %{buildroot}
+%pyproject_install
+%pyproject_save_files -L nvmet
mkdir -p %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_sysconfdir}/nvmet
install -m 644 nvmet.service %{buildroot}%{_unitdir}/nvmet.service
mkdir -p %{buildroot}%{_mandir}/man8/
-install -m 644 Documentation/nvmetcli.8.gz %{buildroot}%{_mandir}/man8/
+install -m 644 Documentation/nvmetcli.8 %{buildroot}%{_mandir}/man8/
%post
%systemd_post nvmet.service
@@ -46,16 +47,18 @@ install -m 644 Documentation/nvmetcli.8.gz %{buildroot}%{_mandir}/man8/
%postun
%systemd_postun_with_restart nvmet.service
-%files
-%{python3_sitelib}/*
+%files -f %{pyproject_files}
%dir %{_sysconfdir}/nvmet
-%{_sbindir}/nvmetcli
+%{_bindir}/nvmetcli
%{_unitdir}/nvmet.service
%doc README
%license COPYING
-%{_mandir}/man8/nvmetcli.8.gz
+%{_mandir}/man8/nvmetcli.8*
%changelog
+* Fri Aug 28 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 0.9-1
+- Update to 0.9
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index c1a8be9..3fc9be5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nvmetcli-0.8.tar.gz) = 4d575c131899c0e944ddbb665bd8b9514f8630b89ffdb790d67952c59e981e8d1e5cb29a97ce04e5968d98397e49bd44a98a56414922729725ecb22c1ba87e50
+SHA512 (nvmetcli-0.9.tar.gz) = 3d161412016fc7e3eb6b625d367b24cf57b55acef20c06a44a57fd51025337cbe0ef629100c31cd71c94f1718a988468f3efc9015c6fdcc7f1a1aedf1e14d542
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-03 6:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03 6:31 [rpms/nvmetcli] rawhide: Update to 0.9 Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox