Blame 0138-Update-ndctl.spec-to-allow-flatpak-builds.patch
|
Jeff Moyer |
2c91dc |
From cd41a4dc6af9b48045b0aa46669d560faeb134e2 Mon Sep 17 00:00:00 2001
|
|
Jeff Moyer |
2c91dc |
From: Jay W <git.jaydoubleu@gmail.com>
|
|
Jeff Moyer |
2c91dc |
Date: Tue, 15 Feb 2022 00:45:00 +0000
|
|
Jeff Moyer |
2c91dc |
Subject: [PATCH 138/217] Update ndctl.spec to allow flatpak builds
|
|
Jeff Moyer |
2c91dc |
|
|
Jeff Moyer |
2c91dc |
This will allow ndctl to be build as dependency for some flatpak builds
|
|
Jeff Moyer |
2c91dc |
on fedora systems.
|
|
Jeff Moyer |
2c91dc |
See also: https://docs.fedoraproject.org/en-US/flatpak/troubleshooting/#_uncompressed_manual_pages
|
|
Jeff Moyer |
2c91dc |
|
|
Jeff Moyer |
2c91dc |
Link: https://github.com/pmem/ndctl/pull/192
|
|
Jeff Moyer |
2c91dc |
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
|
|
Jeff Moyer |
2c91dc |
---
|
|
Jeff Moyer |
2c91dc |
ndctl.spec.in | 5 ++++-
|
|
Jeff Moyer |
2c91dc |
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
Jeff Moyer |
2c91dc |
|
|
Jeff Moyer |
2c91dc |
diff --git a/ndctl.spec.in b/ndctl.spec.in
|
|
Jeff Moyer |
2c91dc |
index 9ca831e..cfcafa2 100644
|
|
Jeff Moyer |
2c91dc |
--- a/ndctl.spec.in
|
|
Jeff Moyer |
2c91dc |
+++ b/ndctl.spec.in
|
|
Jeff Moyer |
2c91dc |
@@ -38,6 +38,9 @@ subsystem defines a kernel device model and control message interface for
|
|
Jeff Moyer |
2c91dc |
platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM
|
|
Jeff Moyer |
2c91dc |
Firmware Interface Table).
|
|
Jeff Moyer |
2c91dc |
|
|
Jeff Moyer |
2c91dc |
+%if 0%{?flatpak}
|
|
Jeff Moyer |
2c91dc |
+%global _udevrulesdir %{_prefix}/lib/udev/rules.d
|
|
Jeff Moyer |
2c91dc |
+%endif
|
|
Jeff Moyer |
2c91dc |
|
|
Jeff Moyer |
2c91dc |
%package -n DNAME
|
|
Jeff Moyer |
2c91dc |
Summary: Development files for libndctl
|
|
Jeff Moyer |
2c91dc |
@@ -231,7 +234,7 @@ fi
|
|
Jeff Moyer |
2c91dc |
%{_libdir}/libcxl.so
|
|
Jeff Moyer |
2c91dc |
%{_libdir}/pkgconfig/libcxl.pc
|
|
Jeff Moyer |
2c91dc |
%{_mandir}/man3/cxl*
|
|
Jeff Moyer |
2c91dc |
-%{_mandir}/man3/libcxl.3.gz
|
|
Jeff Moyer |
2c91dc |
+%{_mandir}/man3/libcxl.3*
|
|
Jeff Moyer |
2c91dc |
|
|
Jeff Moyer |
2c91dc |
|
|
Jeff Moyer |
2c91dc |
%changelog
|
|
Jeff Moyer |
2c91dc |
--
|
|
Jeff Moyer |
2c91dc |
2.27.0
|
|
Jeff Moyer |
2c91dc |
|