Blame SPECS/ndctl.spec

c4f8ce
Name:		ndctl
c4f8ce
Version:	71.1
26ccd9
Release:	8%{?dist}
c4f8ce
Summary:	Manage "libnvdimm" subsystem devices (Non-volatile Memory)
c4f8ce
License:	GPLv2
c4f8ce
Url:		https://github.com/pmem/ndctl
c4f8ce
Source0:	https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
c4f8ce
26ccd9
Patch0: 0003-ndctl-test-Fix-btt-expect-table-compile-warning.patch
26ccd9
Patch1: 0004-ndctl-test-Cleanup-unnecessary-out-label.patch
26ccd9
Patch2: 0005-ndctl-test-Fix-device-dax-mremap-test.patch
26ccd9
Patch3: 0006-ndctl-test-Exercise-soft_offline_page-corner-cases.patch
26ccd9
Patch4: 0007-msft-Add-xlat_firmware_status-for-JEDEC-Byte-Address.patch
26ccd9
Patch5: 0008-ndctl-namespace-Fix-disable-namespace-accounting-rel.patch
26ccd9
Patch6: 0009-zero_info_block-skip-seed-devices.patch
26ccd9
Patch7: 0010-ndctl-update-.gitignore.patch
26ccd9
Patch8: 0011-ndctl-test-add-checking-the-presence-of-jq-command-a.patch
26ccd9
Patch9: 0012-Expose-ndctl_bus_nfit_translate_spa-as-a-public-func.patch
26ccd9
Patch10: 0013-test-libndctl-Use-ndctl_region_set_ro-to-change-disk.patch
26ccd9
Patch11: 0014-daxctl-fail-reconfigure-device-based-on-kernel-onlin.patch
26ccd9
Patch12: 0015-libdaxctl-add-an-API-to-check-if-a-device-is-active.patch
26ccd9
Patch13: 0016-libndctl-check-for-active-system-ram-before-disablin.patch
26ccd9
Patch14: 0017-daxctl-emit-counts-of-total-and-online-memblocks.patch
26ccd9
Patch15: 0018-libndctl-Unify-adding-dimms-for-papr-and-nfit-famili.patch
26ccd9
Patch16: 0019-test-Don-t-skip-tests-if-nfit-modules-are-missing.patch
26ccd9
Patch17: 0020-papr-Add-support-to-parse-save_fail-flag-for-dimm.patch
26ccd9
Patch18: 0021-Use-page-size-as-alignment-value.patch
26ccd9
Patch19: 0022-libndctl-Remove-redundant-checks-and-assignments.patch
26ccd9
Patch20: 0023-ndctl-Update-nvdimm-mailing-list-address.patch
26ccd9
Patch21: 0024-libndctl-papr-Fix-probe-for-papr-scm-compatible-nvdi.patch
26ccd9
Patch22: 0025-ndctl-scrub-Stop-translating-return-values.patch
26ccd9
Patch23: 0026-ndctl-scrub-Reread-scrub-engine-status-at-start.patch
26ccd9
Patch24: 0027-ndctl-dimm-Fix-label-index-block-calculations.patch
26ccd9
Patch25: 0028-ndctl-namespace-Skip-seed-namespaces-when-processing.patch
26ccd9
Patch26: 0029-ndctl-namespace-Suppress-ENXIO-when-processing-all-n.patch
26ccd9
Patch27: 0030-namespace-action-Drop-zero-namespace-checks.patch
26ccd9
Patch28: 0031-ndctl-add-.clang-format.patch
26ccd9
Patch29: 0032-cxl-add-a-cxl-utility-and-libcxl-library.patch
26ccd9
Patch30: 0033-cxl-add-a-local-copy-of-the-cxl_mem-UAPI-header.patch
26ccd9
Patch31: 0034-util-add-the-struct_size-helper-from-the-kernel.patch
26ccd9
Patch32: 0035-libcxl-add-support-for-command-query-and-submission.patch
26ccd9
Patch33: 0036-libcxl-add-support-for-the-Identify-Device-command.patch
26ccd9
Patch34: 0037-libcxl-add-GET_HEALTH_INFO-mailbox-command-and-acces.patch
26ccd9
Patch35: 0038-libcxl-add-support-for-the-GET_LSA-command.patch
26ccd9
Patch36: 0039-libcxl-add-label_size-to-cxl_memdev-and-an-API-to-re.patch
26ccd9
Patch37: 0040-libcxl-add-representation-for-an-nvdimm-bridge-objec.patch
26ccd9
Patch38: 0041-libcxl-add-interfaces-for-label-operations.patch
26ccd9
Patch39: 0042-cxl-add-commands-to-read-write-and-zero-labels.patch
26ccd9
Patch40: 0043-Documentation-cxl-add-library-API-documentation.patch
26ccd9
Patch41: 0044-ndctl-Add-CXL-packages-to-the-RPM-spec.patch
26ccd9
Patch42: 0045-cxl-cli-add-bash-completion.patch
26ccd9
Patch43: 0046-cxl-add-health-information-to-cxl-list.patch
26ccd9
Patch44: 0047-ndctl-install-bash-completion-symlinks.patch
26ccd9
Patch45: 0048-scripts-Add-a-man-page-template-generator.patch
26ccd9
Patch46: 0049-daxctl-Add-Soft-Reservation-theory-of-operation.patch
26ccd9
Patch47: 0061-libcxl-fix-potential-NULL-dereference-in-cxl_memdev_.patch
26ccd9
Patch48: 0064-ndctl-release-v72.patch
26ccd9
Patch49: 0067-ndctl-add-repology-graphic-to-README.md.patch
26ccd9
Patch50: 0068-Documentation-ndctl-fix-self-reference-of-ndctl-disa.patch
26ccd9
Patch51: 0069-ndctl-docs-Clarify-update-firwmware-activation-overf.patch
26ccd9
Patch52: 0070-ndctl-test-Prepare-for-BLK-aperture-support-removal.patch
26ccd9
Patch53: 0071-ndctl-test-Move-reset-to-function-in-common.patch
26ccd9
Patch54: 0072-ndctl-test-Initialize-the-label-area-by-default.patch
26ccd9
Patch55: 0073-ndctl-test-Skip-BLK-flags-checks.patch
26ccd9
Patch56: 0074-ndctl-test-Move-sector-mode-to-a-different-region.patch
26ccd9
Patch57: 0075-ndctl-Deprecate-BLK-aperture-support.patch
26ccd9
Patch58: 0076-ndctl-test-Fix-support-for-missing-dax_pmem_compat-m.patch
26ccd9
Patch59: 0077-util-Distribute-filter-and-json-helpers-to-per-tool-.patch
26ccd9
Patch60: 0078-Documentation-Drop-attrs.adoc-include.patch
26ccd9
Patch61: 0079-build-Drop-unnecessary-tool-config.h-includes.patch
26ccd9
Patch62: 0080-test-Prepare-out-of-line-builds.patch
26ccd9
Patch63: 0081-ndctl-Drop-executable-bit-for-bash-completion-script.patch
26ccd9
Patch64: 0082-build-Add-meson-build-infrastructure.patch
26ccd9
Patch65: 0083-build-Add-meson-rpmbuild-support.patch
26ccd9
Patch66: 0084-ndctl-Jettison-autotools.patch
26ccd9
Patch67: 0085-ndctl-build-Default-asciidoctor-to-enabled.patch
26ccd9
Patch68: 0086-ndctl-update-README.md-for-meson-build.patch
26ccd9
Patch69: 0087-test-Add-suite-identifiers-to-tests.patch
26ccd9
Patch70: 0088-ndctl-Rename-util_filter-to-ndctl_filter.patch
26ccd9
Patch71: 0089-build-Add-tags.patch
26ccd9
Patch72: 0090-json-Add-support-for-json_object_new_uint64.patch
26ccd9
Patch73: 0091-cxl-json-Cleanup-object-leak-false-positive.patch
26ccd9
Patch74: 0092-cxl-list-Support-multiple-memdev-device-name-filter-.patch
26ccd9
Patch75: 0093-cxl-list-Support-comma-separated-lists.patch
26ccd9
Patch76: 0094-cxl-list-Introduce-cxl_filter_walk.patch
26ccd9
Patch77: 0095-cxl-list-Emit-device-serial-numbers.patch
26ccd9
Patch78: 0096-cxl-list-Add-filter-by-serial-support.patch
26ccd9
Patch79: 0097-cxl-lib-Rename-nvdimm-bridge-to-pmem.patch
26ccd9
Patch80: 0098-cxl-list-Cleanup-options-definitions.patch
26ccd9
Patch81: 0099-Documentation-Enhance-libcxl-memdev-API-documentatio.patch
26ccd9
Patch82: 0100-cxl-list-Add-bus-objects.patch
26ccd9
Patch83: 0101-util-json-Warn-on-stderr-about-empty-list-results.patch
26ccd9
Patch84: 0102-util-sysfs-Uplevel-modalias-lookup-helper-to-util.patch
26ccd9
Patch85: 0103-cxl-list-Add-port-enumeration.patch
26ccd9
Patch86: 0104-cxl-list-Add-debug-option.patch
26ccd9
Patch87: 0105-cxl-list-Add-endpoints.patch
26ccd9
Patch88: 0106-cxl-list-Add-host-entries-for-port-like-objects.patch
26ccd9
Patch89: 0107-cxl-list-Add-host-entries-for-memdevs.patch
26ccd9
Patch90: 0108-cxl-list-Move-enabled-memdevs-underneath-their-endpo.patch
26ccd9
Patch91: 0109-cxl-list-Filter-memdev-by-ancestry.patch
26ccd9
Patch92: 0110-cxl-memdev-Use-a-local-logger-for-debug.patch
26ccd9
Patch93: 0111-cxl-memdev-Cleanup-memdev-filter.patch
26ccd9
Patch94: 0112-cxl-memdev-Add-serial-support-for-memdev-related-com.patch
26ccd9
Patch95: 0113-cxl-list-Add-numa_node-to-memdev-listings.patch
26ccd9
Patch96: 0114-util-Implement-common-bind-unbind-helpers.patch
26ccd9
Patch97: 0115-cxl-memdev-Enable-disable-support.patch
26ccd9
Patch98: 0116-cxl-list-Add-decoder-support.patch
26ccd9
Patch99: 0117-cxl-list-Extend-decoder-objects-with-target-informat.patch
26ccd9
Patch100: 0118-cxl-list-Use-physical_node-for-root-port-attachment-.patch
26ccd9
Patch101: 0119-cxl-list-Reuse-the-target-option-for-ports.patch
26ccd9
Patch102: 0120-cxl-list-Support-filtering-memdevs-by-decoders.patch
26ccd9
Patch103: 0121-cxl-list-Support-filtering-memdevs-by-ports.patch
26ccd9
Patch104: 0122-cxl-port-Add-disable-enable-port-command.patch
26ccd9
Patch105: 0123-cxl-list-Filter-dports-and-targets-by-memdevs.patch
26ccd9
Patch106: 0124-ndctl-test-make-inject-smart.sh-more-tolerant-of-dec.patch
26ccd9
Patch107: 0125-libndctl-papr-Add-support-for-reporting-shutdown-cou.patch
26ccd9
Patch108: 0126-libndctl-intel-Indicate-supported-smart-inject-types.patch
26ccd9
Patch109: 0127-libndctl-papr-Add-limited-support-for-inject-smart.patch
26ccd9
Patch110: 0128-ndtest-ack-shutdown-count-Skip-the-test-on-ndtest.patch
26ccd9
Patch111: 0129-ndctl-libndctl-Update-nvdimm-flags-after-smart-injec.patch
26ccd9
Patch112: 0132-libcxl-add-GET_PARTITION_INFO-mailbox-command-and-ac.patch
26ccd9
Patch113: 0133-libcxl-add-accessors-for-capacity-fields-of-the-IDEN.patch
26ccd9
Patch114: 0134-libcxl-return-the-partition-alignment-field-in-bytes.patch
26ccd9
Patch115: 0135-cxl-add-memdev-partition-information-to-cxl-list.patch
26ccd9
Patch116: 0136-libcxl-add-interfaces-for-SET_PARTITION_INFO-mailbox.patch
26ccd9
Patch117: 0137-cxl-add-command-cxl-set-partition.patch
26ccd9
Patch118: 0138-Update-ndctl.spec-to-allow-flatpak-builds.patch
26ccd9
Patch119: 0139-daxctl-provide-safe-versions-of-iteration-API.patch
26ccd9
Patch120: 0140-util-size.h-fix-build-for-older-compilers.patch
26ccd9
Patch121: 0141-build-Automate-rpmbuild.sh.patch
26ccd9
Patch122: 0142-util-size.h-Fix-build-error-for-GCC-10.patch
26ccd9
Patch123: 0143-libcxl-Remove-extraneous-NULL-checks-when-validating.patch
26ccd9
Patch124: 0144-libdaxctl-free-resource-allocated-with-asprintf.patch
26ccd9
Patch125: 0145-cxl-list-tidy-the-error-path-in-add_cxl_decoder.patch
26ccd9
Patch126: 0146-cxl-list-always-free-the-path-var-in-add_cxl_decoder.patch
26ccd9
Patch127: 0147-scripts-docsurgeon-Fix-document-header-for-section-1.patch
26ccd9
Patch128: 0148-ndctl-release-v73.patch
26ccd9
Patch130: 0150-build-Fix-Wall-and-O2-warnings.patch
26ccd9
Patch131: 0151-build-Fix-test-timeouts.patch
26ccd9
Patch132: 0155-build-Move-utility-helpers-to-libutil.a.patch
26ccd9
Patch133: 0156-util-Use-SZ_-size-macros-in-display-size.patch
26ccd9
Patch134: 0157-util-Pretty-print-terabytes.patch
26ccd9
Patch135: 0158-cxl-port-Fix-disable-port-man-page.patch
26ccd9
Patch136: 0159-cxl-bus-Add-bus-disable-support.patch
26ccd9
Patch137: 0160-cxl-list-Auto-enable-single-mode-for-port-listings.patch
26ccd9
Patch138: 0161-cxl-memdev-Fix-bus_invalidate-crash.patch
26ccd9
Patch139: 0162-cxl-list-Add-support-for-filtering-by-host-identifie.patch
26ccd9
Patch140: 0163-cxl-port-Relax-port-identifier-validation.patch
26ccd9
Patch142: 0165-cxl-test-Add-topology-enumeration-and-hotplug-test.patch
26ccd9
Patch143: 0167-daxctl-Fix-kernel-option-typo-in-Soft-Reservation-th.patch
26ccd9
Patch144: 0168-meson-make-modprobedatadir-an-option.patch
26ccd9
Patch145: 0169-namespace-action-Drop-more-zero-namespace-checks.patch
26ccd9
Patch146: 0170-ndctl-dimm-Flush-invalidated-labels-after-overwrite.patch
26ccd9
Patch147: 0171-libcxl-fix-a-segfault-when-memdev-pmem-is-absent.patch
26ccd9
Patch148: 0172-ndctl-bus-Handle-missing-scrub-commands-more-gracefu.patch
26ccd9
Patch149: 0173-util-wrapper.c-Fix-gcc-warning-in-xrealloc.patch
26ccd9
Patch150: 0174-libcxl-Fix-memory-leakage-in-cxl_port_init.patch
26ccd9
Patch151: 0175-cxl-list-Reformat-option-list.patch
26ccd9
Patch152: 0176-cxl-list-Emit-endpoint-decoders-filtered-by-memdev.patch
26ccd9
Patch153: 0177-cxl-list-Hide-0s-in-disabled-decoder-listings.patch
26ccd9
Patch154: 0178-cxl-list-Add-DPA-span-to-endpoint-decoder-listings.patch
26ccd9
Patch155: 0179-ccan-list-Import-latest-list-helpers.patch
26ccd9
Patch156: 0180-cxl-lib-Maintain-decoders-in-id-order.patch
26ccd9
Patch157: 0181-cxl-memdev-Fix-json-for-multi-device-partitioning.patch
26ccd9
Patch158: 0182-cxl-list-Emit-mode-for-endpoint-decoder-objects.patch
26ccd9
Patch159: 0183-cxl-set-partition-Accept-ram-as-an-alias-for-volatil.patch
26ccd9
Patch160: 0184-cxl-memdev-Add-reserve-free-dpa-commands.patch
26ccd9
Patch161: 0185-cxl-test-Update-CXL-memory-parameters.patch
26ccd9
Patch162: 0186-cxl-test-Checkout-region-setup-teardown.patch
26ccd9
Patch163: 0187-cxl-test-add-a-test-to-read-write-zero-labels.patch
26ccd9
Patch164: 0188-cxl-list-Clarify-B-vs-P-p-root.patch
26ccd9
Patch165: 0189-libcxl-add-a-depth-attribute-to-cxl_port.patch
26ccd9
Patch166: 0190-cxl-port-Consolidate-the-debug-option-in-cxl-port-ma.patch
26ccd9
Patch167: 0191-cxl-memdev-refactor-decoder-mode-string-parsing.patch
26ccd9
Patch168: 0192-libcxl-Introduce-libcxl-region-and-mapping-objects.patch
26ccd9
Patch169: 0193-cxl-cli-add-region-listing-support.patch
26ccd9
Patch170: 0194-libcxl-add-low-level-APIs-for-region-creation.patch
26ccd9
Patch171: 0195-cxl-add-a-create-region-command.patch
26ccd9
Patch172: 0196-cxl-add-commands-to-enable-disable-destroy-region.patch
26ccd9
Patch173: 0197-cxl-list-make-memdevs-and-regions-the-default-listin.patch
26ccd9
Patch174: 0198-test-add-a-cxl-create-region-test.patch
26ccd9
Patch175: 0199-cxl-decoder-add-a-max_available_extent-attribute.patch
26ccd9
Patch176: 0200-cxl-Add-list-verbose-option-to-the-cxl-command.patch
26ccd9
Patch177: 0201-cxl-test-Validate-endpoint-interleave-geometry.patch
26ccd9
Patch178: 0202-cxl-list-Add-interleave-parameters-to-decoder-listin.patch
26ccd9
Patch179: 0203-cxl-list-Add-region-to-decoder-listings.patch
26ccd9
Patch180: 0204-cxl-list-Filter-decoders-by-region.patch
26ccd9
Patch181: 0205-cxl-list-Add-depth-to-port-listings.patch
26ccd9
Patch182: 0206-cxl-test-Validate-switch-port-settings-in-cxl-region.patch
26ccd9
Patch183: 0207-meson-fix-modprobedatadir-default-value.patch
26ccd9
Patch184: 0208-ndctl-move-developer-scripts-from-contrib-to-scripts.patch
26ccd9
Patch185: 0209-ndctl-remove-obsolete-m4-directory.patch
26ccd9
Patch186: 0210-ndctl-update-.gitignore.patch
26ccd9
Patch187: 0211-scripts-fix-contrib-do_abidiff-for-updated-fedpkg.patch
26ccd9
Patch188: 0212-scripts-update-release-helper-scripts-for-meson-and-.patch
26ccd9
Patch189: 0213-meson.build-be-specific-for-library-path.patch
26ccd9
Patch190: 0214-cxl-region-fix-a-dereferecnce-after-NULL-check.patch
26ccd9
Patch191: 0215-libcxl-fox-a-resource-leak-and-a-forward-NULL-check.patch
26ccd9
Patch192: 0216-cxl-filter-Fix-an-uninitialized-pointer-dereference.patch
26ccd9
Patch193: 0217-ndctl-release-v74.patch
0670da
c4f8ce
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
BuildRequires: make
c4f8ce
BuildRequires:	autoconf
c4f8ce
%if 0%{?rhel} < 9
c4f8ce
BuildRequires:	asciidoc
26ccd9
%define asciidoc -Dasciidoctor=disabled
c4f8ce
%else
c4f8ce
BuildRequires:	rubygem-asciidoctor
26ccd9
%define asciidoc -Dasciidoctor=enabled
c4f8ce
%endif
c4f8ce
BuildRequires:	xmlto
26ccd9
BuildRequires:	meson
26ccd9
BuildRequires:	ninja-build
c4f8ce
BuildRequires:	libtool
c4f8ce
BuildRequires:	pkgconfig
c4f8ce
BuildRequires:	pkgconfig(libkmod)
c4f8ce
BuildRequires:	pkgconfig(libudev)
c4f8ce
BuildRequires:	pkgconfig(uuid)
c4f8ce
BuildRequires:	pkgconfig(json-c)
c4f8ce
BuildRequires:	pkgconfig(bash-completion)
c4f8ce
BuildRequires:	pkgconfig(systemd)
c4f8ce
BuildRequires:	keyutils-libs-devel
c4f8ce
c4f8ce
%description
c4f8ce
Utility library for managing the "libnvdimm" subsystem.  The "libnvdimm"
c4f8ce
subsystem defines a kernel device model and control message interface for
c4f8ce
platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM
c4f8ce
Firmware Interface Table).
c4f8ce
c4f8ce
c4f8ce
%package -n ndctl-devel
c4f8ce
Summary:	Development files for libndctl
c4f8ce
License:	LGPLv2
c4f8ce
Requires:	ndctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
c4f8ce
%description -n ndctl-devel
c4f8ce
The %{name}-devel package contains libraries and header files for
c4f8ce
developing applications that use %{name}.
c4f8ce
c4f8ce
%package -n daxctl
c4f8ce
Summary:	Manage Device-DAX instances
c4f8ce
License:	GPLv2
c4f8ce
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
c4f8ce
%description -n daxctl
c4f8ce
The daxctl utility provides enumeration and provisioning commands for
c4f8ce
the Linux kernel Device-DAX facility. This facility enables DAX mappings
c4f8ce
of performance / feature differentiated memory without need of a
c4f8ce
filesystem.
c4f8ce
c4f8ce
%package -n daxctl-devel
c4f8ce
Summary:	Development files for libdaxctl
c4f8ce
License:	LGPLv2
c4f8ce
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
c4f8ce
%description -n daxctl-devel
c4f8ce
The %{name}-devel package contains libraries and header files for
c4f8ce
developing applications that use %{name}, a library for enumerating
c4f8ce
"Device DAX" devices.  Device DAX is a facility for establishing DAX
c4f8ce
mappings of performance / feature-differentiated memory.
c4f8ce
26ccd9
%package -n cxl-cli
26ccd9
Summary:	Manage CXL devices
26ccd9
License:	GPLv2
26ccd9
Requires:	cxl-libs%{?_isa} = %{version}-%{release}
26ccd9
26ccd9
%description -n cxl-cli
26ccd9
The cxl utility provides enumeration and provisioning commands for
26ccd9
the Linux kernel CXL devices.
26ccd9
26ccd9
%package -n cxl-devel
26ccd9
Summary:	Development files for libcxl
26ccd9
License:	LGPLv2
26ccd9
Requires:	cxl-libs%{?_isa} = %{version}-%{release}
26ccd9
26ccd9
%description -n cxl-devel
26ccd9
This package contains libraries and header files for developing applications
26ccd9
that use libcxl, a library for enumerating and communicating with CXL devices.
c4f8ce
c4f8ce
%package -n ndctl-libs
c4f8ce
Summary:	Management library for "libnvdimm" subsystem devices (Non-volatile Memory)
c4f8ce
License:	LGPLv2
c4f8ce
Requires:	daxctl-libs%{?_isa} = %{version}-%{release}
c4f8ce
c4f8ce
c4f8ce
%description -n ndctl-libs
c4f8ce
Libraries for %{name}.
c4f8ce
c4f8ce
%package -n daxctl-libs
c4f8ce
Summary:	Management library for "Device DAX" devices
c4f8ce
License:	LGPLv2
c4f8ce
c4f8ce
%description -n daxctl-libs
c4f8ce
Device DAX is a facility for establishing DAX mappings of performance /
c4f8ce
feature-differentiated memory. daxctl-libs provides an enumeration /
c4f8ce
control API for these devices.
c4f8ce
26ccd9
%package -n cxl-libs
26ccd9
Summary:	Management library for CXL devices
26ccd9
License:	LGPLv2
26ccd9
26ccd9
%description -n cxl-libs
26ccd9
libcxl is a library for enumerating and communicating with CXL devices.
26ccd9
c4f8ce
c4f8ce
%prep
0670da
%autosetup -p1 ndctl-%{version}
c4f8ce
c4f8ce
%build
26ccd9
%meson %{?asciidoc} -Dversion-tag=%{version}
26ccd9
%meson_build
c4f8ce
c4f8ce
%install
26ccd9
%meson_install
c4f8ce
c4f8ce
%ldconfig_scriptlets -n ndctl-libs
c4f8ce
c4f8ce
%ldconfig_scriptlets -n daxctl-libs
c4f8ce
c4f8ce
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion)
c4f8ce
c4f8ce
%files
c4f8ce
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
c4f8ce
%{_bindir}/ndctl
c4f8ce
%{_mandir}/man1/ndctl*
c4f8ce
%{bashcompdir}/
c4f8ce
%{_unitdir}/ndctl-monitor.service
c4f8ce
%{_sysconfdir}/ndctl/keys/keys.readme
c4f8ce
%{_sysconfdir}/modprobe.d/nvdimm-security.conf
c4f8ce
c4f8ce
%config(noreplace) %{_sysconfdir}/ndctl/monitor.conf
c4f8ce
c4f8ce
%files -n daxctl
c4f8ce
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
c4f8ce
%{_bindir}/daxctl
c4f8ce
%{_mandir}/man1/daxctl*
c4f8ce
%{_datadir}/daxctl/daxctl.conf
c4f8ce
26ccd9
%files -n cxl-cli
26ccd9
%license LICENSES/preferred/GPL-2.0 LICENSES/other/MIT LICENSES/other/CC0-1.0
26ccd9
%{_bindir}/cxl
26ccd9
%{_mandir}/man1/cxl*
26ccd9
%{bashcompdir}/cxl
26ccd9
c4f8ce
%files -n ndctl-libs
c4f8ce
%doc README.md
c4f8ce
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
c4f8ce
%{_libdir}/libndctl.so.*
c4f8ce
c4f8ce
%files -n daxctl-libs
c4f8ce
%doc README.md
c4f8ce
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
c4f8ce
%{_libdir}/libdaxctl.so.*
c4f8ce
26ccd9
%files -n cxl-libs
26ccd9
%doc README.md
26ccd9
%license LICENSES/preferred/LGPL-2.1 LICENSES/other/MIT LICENSES/other/CC0-1.0
26ccd9
%{_libdir}/libcxl.so.*
26ccd9
c4f8ce
%files -n ndctl-devel
c4f8ce
%license LICENSES/preferred/LGPL-2.1
c4f8ce
%{_includedir}/ndctl/
c4f8ce
%{_libdir}/libndctl.so
c4f8ce
%{_libdir}/pkgconfig/libndctl.pc
c4f8ce
c4f8ce
%files -n daxctl-devel
c4f8ce
%license LICENSES/preferred/LGPL-2.1
c4f8ce
%{_includedir}/daxctl/
c4f8ce
%{_libdir}/libdaxctl.so
c4f8ce
%{_libdir}/pkgconfig/libdaxctl.pc
c4f8ce
26ccd9
%files -n cxl-devel
26ccd9
%license LICENSES/preferred/LGPL-2.1
26ccd9
%{_includedir}/cxl/
26ccd9
%{_libdir}/libcxl.so
26ccd9
%{_libdir}/pkgconfig/libcxl.pc
26ccd9
%{_mandir}/man3/cxl*
26ccd9
%{_mandir}/man3/libcxl.3*
26ccd9
c4f8ce
c4f8ce
%changelog
26ccd9
* Thu Oct 13 2022 Jeff Moyer <jmoyer@redhat.com> - 71.1-8
26ccd9
- Backport changes up to v74, excluding the config file changes. (Jeff Moyer)
26ccd9
  This includes support for the CXL commands, and adds the following
26ccd9
  packages: cxl-cli, cxl-devel, cxl-libs
26ccd9
- Resolves: rhbz#2132167
26ccd9
0670da
* Tue Jun 14 2022 Bryan Gurney <bgurney@redhat.com> - 71.1-7
0670da
- Pull in fixes from upstream v72 and v73 (Jeff Moyer)
0670da
- Fix enable-namespace all reporting errors incorrectly
0670da
- Add support for inject-smart on papr scm
0670da
- Related: rhbz#2040075
0670da
- Related: rhbz#1873851
0670da
- Related: rhbz#1880578
0670da
- Related: rhbz#1922538
0670da
- Related: rhbz#2087707
0670da
c4f8ce
* Wed Dec 1 2021 Bryan Gurney <bgurney@redhat.com> - 71.1-6
c4f8ce
- Add gating test
c4f8ce
- Related: rhbz#2028152
c4f8ce
c4f8ce
* Mon Nov 29 2021 Bryan Gurney <bgurney@redhat.com> - 71.1-5
c4f8ce
- Rebuild with latest json-c version
c4f8ce
- Related: rhbz#2023317
c4f8ce
c4f8ce
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 71.1-4
c4f8ce
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c4f8ce
  Related: rhbz#1991688
c4f8ce
c4f8ce
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 71.1-3
c4f8ce
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c4f8ce
c4f8ce
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 71.1-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c4f8ce
c4f8ce
* Tue Dec 22 2020 Vishal Verma <vishal.l.verma@intel.com> - 71.1-1
c4f8ce
- release v71.1
c4f8ce
c4f8ce
* Sat Dec 19 2020 Vishal Verma <vishal.l.verma@intel.com> - 71-1
c4f8ce
- release v71
c4f8ce
c4f8ce
* Sat Oct 10 2020 Vishal Verma <vishal.l.verma@intel.com> - 70.1-1
c4f8ce
- release v70.1
c4f8ce
c4f8ce
* Tue Oct 06 2020 Vishal Verma <vishal@stellar.sh> - 70-1
c4f8ce
- release v70
c4f8ce
c4f8ce
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 69-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c4f8ce
c4f8ce
* Thu Jul 23 2020 Vishal Verma <vishal.l.verma@intel.com> - 69-1
c4f8ce
- release v69
c4f8ce
c4f8ce
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 68-2
c4f8ce
- Rebuild (json-c)
c4f8ce
c4f8ce
* Tue Mar 24 2020 Vishal Verma <vishal@stellar.sh> - 68-1
c4f8ce
- release v68
c4f8ce
c4f8ce
* Fri Jan 31 2020 Vishal Verma <vishal.l.verma@intel.com> - 67-3
c4f8ce
- Add fix for GCC10 builds
c4f8ce
c4f8ce
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 67-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c4f8ce
c4f8ce
* Mon Oct 28 2019 Vishal Verma <vishal.l.verma@intel.com> - 67-1
c4f8ce
- release v67
c4f8ce
c4f8ce
* Wed Aug 07 2019 Vishal Verma <vishal.l.verma@intel.com> - 66-1
c4f8ce
- release v66
c4f8ce
c4f8ce
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 65-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c4f8ce
c4f8ce
* Sat May 11 2019 Vishal Verma <vishal.l.verma@intel.com> - 65-1
c4f8ce
- release v65
c4f8ce
c4f8ce
* Wed Feb 06 2019 Vishal Verma <vishal.l.verma@intel.com> - 64.1-1
c4f8ce
- release v64.1
c4f8ce
c4f8ce
* Mon Feb 04 2019 Vishal Verma <vishal.l.verma@intel.com> - 64-1
c4f8ce
- release v64
c4f8ce
c4f8ce
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 63-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c4f8ce
c4f8ce
* Fri Oct 05 2018 Vishal Verma <vishal.l.verma@intel.com> - 63-1
c4f8ce
- release v63
c4f8ce
- remove ndctl-udev and related files
c4f8ce
c4f8ce
* Tue Aug 14 2018 Vishal Verma <vishal@stellar.sh> - 62-1
c4f8ce
- release v62
c4f8ce
- Add files for udev and ndctl-monitor
c4f8ce
c4f8ce
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 61.2-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c4f8ce
c4f8ce
* Wed Jul 11 2018 Vishal Verma <vishal.l.verma@intel.com> - 61.2-1
c4f8ce
- release v61.2
c4f8ce
c4f8ce
* Tue Jun 26 2018 Vishal Verma <vishal@stellar.sh> - 61.1-1
c4f8ce
- release v61.1
c4f8ce
c4f8ce
* Tue Jun 26 2018 Vishal Verma <vishal@stellar.sh> - 61-1
c4f8ce
- new version
c4f8ce
c4f8ce
* Thu May 17 2018 Dan Williams <dan.j.williams@intel.com> - 60.3-1
c4f8ce
- release v60.3
c4f8ce
c4f8ce
* Mon Apr 23 2018 Dan Williams <dan.j.williams@intel.com> - 60.1-1
c4f8ce
- release v60.1
c4f8ce
c4f8ce
* Thu Apr 19 2018 Dan Williams <dan.j.williams@intel.com> - 60-1
c4f8ce
- release v60
c4f8ce
c4f8ce
* Tue Mar 27 2018 Dan Williams <dan.j.williams@intel.com> - 59.3-1
c4f8ce
- release v59.3
c4f8ce
c4f8ce
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 59.2-2
c4f8ce
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
c4f8ce
c4f8ce
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59.2-1
c4f8ce
- release v59.2
c4f8ce
c4f8ce
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59.1-1
c4f8ce
- release v59.1
c4f8ce
c4f8ce
* Fri Feb 09 2018 Dan Williams <dan.j.williams@intel.com> - 59-1
c4f8ce
- release v59
c4f8ce
c4f8ce
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 58.4-3
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c4f8ce
c4f8ce
* Sun Dec 10 2017 Björn Esser <besser82@fedoraproject.org> - 58.4-2
c4f8ce
- Rebuilt for libjson-c.so.3
c4f8ce
c4f8ce
* Thu Nov 16 2017 Dan Williams <dan.j.williams@intel.com> - 58.4-1
c4f8ce
- release v58.4
c4f8ce
c4f8ce
* Thu Sep 21 2017 Dan Williams <dan.j.williams@intel.com> - 58.2-1
c4f8ce
- release v58.2
c4f8ce
c4f8ce
* Fri Sep 08 2017 Dan Williams <dan.j.williams@intel.com> - 58.1-2
c4f8ce
- gate libpmem dependency on x86_64
c4f8ce
c4f8ce
* Fri Sep 08 2017 Dan Williams <dan.j.williams@intel.com> - 58.1-1
c4f8ce
- add libpmem dependency
c4f8ce
- release v58.1
c4f8ce
c4f8ce
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 57.1-3
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c4f8ce
c4f8ce
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 57.1-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c4f8ce
c4f8ce
* Fri Jun 30 2017 Dan Williams <dan.j.williams@intel.com> - 57.1-1
c4f8ce
- Release v57.1
c4f8ce
c4f8ce
* Sat May 27 2017 Dan Williams <dan.j.williams@intel.com> - 57-1
c4f8ce
- Release v57
c4f8ce
c4f8ce
* Fri Feb 10 2017 Dan Williams <dan.j.williams@intel.com> - 56-1
c4f8ce
- Release v56
c4f8ce
c4f8ce
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 55-2
c4f8ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c4f8ce
c4f8ce
* Fri Oct 21 2016 Dan Williams <dan.j.williams@intel.com> - 55-1
c4f8ce
- release v55
c4f8ce
c4f8ce
* Fri Aug 05 2016 Dan Williams <dan.j.williams@intel.com> - 54-1
c4f8ce
- add explicit lib version dependencies
c4f8ce
c4f8ce
* Sat May 28 2016 Dan Williams <dan.j.williams@intel.com> - 53.1-1
c4f8ce
- Fix up tag format vs source url confusion
c4f8ce
c4f8ce
* Fri May 27 2016 Dan Williams <dan.j.williams@intel.com> - 53-1
c4f8ce
- add daxctl-libs + daxctl-devel packages
c4f8ce
- add bash completion
c4f8ce
c4f8ce
* Mon Apr 04 2016 Dan Williams <dan.j.williams@intel.com> - 52-1
c4f8ce
- Initial rpm submission to Fedora