anitazha / rpms / ndctl

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