Skip to content

Commit

Permalink
nvme-cli: update to 2.6 and use system libnvme
Browse files Browse the repository at this point in the history
- Force configuration files to /etc (otherwise they'll be in /usr/etc).
- Explicitly enable json-c (previously auto).

Signed-off-by: Icenowy Zheng <[email protected]>
  • Loading branch information
Icenowy committed Nov 25, 2023
1 parent 7ff28ba commit 4e7136c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 3 additions & 2 deletions app-admin/nvme-cli/autobuild/defines
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
PKGNAME=nvme-cli
PKGSEC=admin
PKGDEP="systemd"
PKGDEP="systemd libnvme json-c"
PKGDES="NVMe management command line interface"

# No point in re-generating documentations if the source tree provides it.
MESON_AFTER="-Dhtmldir=/usr/share/doc/$PKGNAME/html \
MESON_AFTER="-Dsysconfdir=/etc -Djson-c=enabled \
-Dhtmldir=/usr/share/doc/$PKGNAME/html \
-Ddocs=all \
-Ddocs-build=false"
7 changes: 3 additions & 4 deletions app-admin/nvme-cli/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
VER=2.2.1
REL=1
SRCS="https://github.com/linux-nvme/nvme-cli/archive/v$VER.tar.gz"
CHKSUMS="sha256::68720bc25c68adb93dafe1186de4fabbe40f8390ff1416256b52fe74f78259ae"
VER=2.6
SRCS="git::commit=tags/v${VER}::https://github.com/linux-nvme/nvme-cli.git"
CHKSUMS="SKIP"
CHKUPDATE="anitya::id=9074"

0 comments on commit 4e7136c

Please sign in to comment.