Skip to contentSkip to conversation

ndctl.spec.in: Add build dependencies for libtraceevent and libtracefs

PATCH In review Vishal Verma 3 participants 3 messages Feb 22, 2023 libnvdimm: non-volatile memory device

lore
Share & tools
lore

Vishal Verma

author maintainer
#0 lore raw

PATCH 1/1 ndctl.spec.in: Add build dependencies for libtraceevent and libtracefs

The cxl-monitor additions pull in new dependencies on libtraceevent and libtracefs. While the commits below added these to the meson build system, they neglected to also update the RPM spec file. Add them to the spec.

Fixes 8dedc6cf5e85 ("cxl: add a helper to parse trace events into a json object")
Fixes 7b237bc7a8ae ("cxl: add a helper to go through all current events and parse them")
Cc Dave Jiang <[email protected]>
---
 ndctl.spec.in | 2 ++
 1 file changed, 2 insertions(+)
ndctl.spec.in +2 -0
index 35c63e6..0543c48 100644
@@ -31,6 +31,8 @@ BuildRequires:	keyutils-libs-devel
 BuildRequires:	systemd-rpm-macros
 BuildRequires:	iniparser-devel
 BuildRequires:	meson
+BuildRequires:	libtraceevent-devel
+BuildRequires:	libtracefs-devel
 
 %description
 Utility library for managing the "libnvdimm" subsystem.  The "libnvdimm"

---
base-commit: 835b09602cdcae8d324eeaf5bb4f17ae959c5e6d
change-id: 20230222-fix-rpm-spec-2edf5a7fc25b

Best regards,

Signature · 1 line
Vishal Verma <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Vishal Verma

The cxl-monitor additions pull in new dependencies on libtraceevent and libtracefs. While the commits below added these to the meson build system, they neglected to also update the RPM spec file. Add them to the spec.

Fixes 8dedc6cf5e85 ("cxl: add a helper to parse trace events into a json object")
Fixes 7b237bc7a8ae ("cxl: add a helper to go through all current events and parse them")
Cc Dave Jiang <[email protected]>

Looks good to me,

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Vishal Verma
Quoted 9 lines · Vishal Verma

The cxl-monitor additions pull in new dependencies on libtraceevent and libtracefs. While the commits below added these to the meson build system, they neglected to also update the RPM spec file. Add them to the spec.

Fixes 8dedc6cf5e85 ("cxl: add a helper to parse trace events into a json object")
Fixes 7b237bc7a8ae ("cxl: add a helper to go through all current events and parse them")
Cc Dave Jiang <[email protected]>
Quoted 23 lines
---
  ndctl.spec.in | 2 ++
  1 file changed, 2 insertions(+)
ndctl.spec.in +2 -1
index 35c63e6..0543c48 100644
@@ -31,6 +31,8 @@ BuildRequires:	keyutils-libs-devel
  BuildRequires:	systemd-rpm-macros
  BuildRequires:	iniparser-devel
  BuildRequires:	meson
+BuildRequires:	libtraceevent-devel
+BuildRequires:	libtracefs-devel
 
  %description
  Utility library for managing the "libnvdimm" subsystem.  The "libnvdimm"
 
---

base-commit: 835b09602cdcae8d324eeaf5bb4f17ae959c5e6d
change-id: 20230222-fix-rpm-spec-2edf5a7fc25b

Best regards,