|
|
bcf6bc |
Name: ndctl
|
|
|
bcf6bc |
Version: 58.2
|
|
|
bcf6bc |
Release: 3%{?dist}
|
|
|
bcf6bc |
Summary: Manage "libnvdimm" subsystem devices (Non-volatile Memory)
|
|
|
bcf6bc |
License: GPLv2
|
|
|
bcf6bc |
Group: System Environment/Base
|
|
|
bcf6bc |
Url: https://github.com/pmem/ndctl
|
|
|
bcf6bc |
Source0: https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
bcf6bc |
Patch0: 9dc0d66-ndctl-fix-static-analysis-report-unchecked-sscanf.patch
|
|
|
bcf6bc |
Patch1: btt_check_arenas-fix-use-of-uninitialized-variable.patch
|
|
|
bcf6bc |
Patch2: 4a934b7-ndctl-list-fix-crash-when-listing-idle-device-dax-instances.patch
|
|
|
bcf6bc |
Patch3: e8700eb-btt_check_bitmap-initialize-rc.patch
|
|
|
bcf6bc |
Patch4: 5443d71-dax_io-fix-unknown-parameter-handling.patch
|
|
|
bcf6bc |
|
|
|
bcf6bc |
Requires: ndctl-libs%{?_isa} = %{version}-%{release}
|
|
|
bcf6bc |
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
|
|
bcf6bc |
BuildRequires: autoconf
|
|
|
bcf6bc |
BuildRequires: asciidoc
|
|
|
bcf6bc |
BuildRequires: xmlto
|
|
|
bcf6bc |
BuildRequires: automake
|
|
|
bcf6bc |
BuildRequires: libtool
|
|
|
bcf6bc |
BuildRequires: pkgconfig
|
|
|
bcf6bc |
BuildRequires: pkgconfig(libkmod)
|
|
|
bcf6bc |
BuildRequires: pkgconfig(libudev)
|
|
|
bcf6bc |
BuildRequires: pkgconfig(uuid)
|
|
|
bcf6bc |
BuildRequires: pkgconfig(json-c)
|
|
|
bcf6bc |
BuildRequires: pkgconfig(bash-completion)
|
|
|
bcf6bc |
%ifarch x86_64
|
|
|
bcf6bc |
BuildRequires: pkgconfig(libpmem)
|
|
|
bcf6bc |
%endif
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%description
|
|
|
bcf6bc |
Utility library for managing the "libnvdimm" subsystem. The "libnvdimm"
|
|
|
bcf6bc |
subsystem defines a kernel device model and control message interface for
|
|
|
bcf6bc |
platform NVDIMM resources like those defined by the ACPI 6+ NFIT (NVDIMM
|
|
|
bcf6bc |
Firmware Interface Table).
|
|
|
bcf6bc |
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%package -n ndctl-devel
|
|
|
bcf6bc |
Summary: Development files for libndctl
|
|
|
bcf6bc |
License: LGPLv2
|
|
|
bcf6bc |
Group: Development/Libraries
|
|
|
bcf6bc |
Requires: ndctl-libs%{?_isa} = %{version}-%{release}
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%description -n ndctl-devel
|
|
|
bcf6bc |
The %{name}-devel package contains libraries and header files for
|
|
|
bcf6bc |
developing applications that use %{name}.
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%package -n daxctl
|
|
|
bcf6bc |
Summary: Manage Device-DAX instances
|
|
|
bcf6bc |
License: GPLv2
|
|
|
bcf6bc |
Group: System Environment/Base
|
|
|
bcf6bc |
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%description -n daxctl
|
|
|
bcf6bc |
The daxctl utility provides enumeration and provisioning commands for
|
|
|
bcf6bc |
the Linux kernel Device-DAX facility. This facility enables DAX mappings
|
|
|
bcf6bc |
of performance / feature differentiated memory without need of a
|
|
|
bcf6bc |
filesystem.
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%package -n daxctl-devel
|
|
|
bcf6bc |
Summary: Development files for libdaxctl
|
|
|
bcf6bc |
License: LGPLv2
|
|
|
bcf6bc |
Group: Development/Libraries
|
|
|
bcf6bc |
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%description -n daxctl-devel
|
|
|
bcf6bc |
The %{name}-devel package contains libraries and header files for
|
|
|
bcf6bc |
developing applications that use %{name}, a library for enumerating
|
|
|
bcf6bc |
"Device DAX" devices. Device DAX is a facility for establishing DAX
|
|
|
bcf6bc |
mappings of performance / feature-differentiated memory.
|
|
|
bcf6bc |
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%package -n ndctl-libs
|
|
|
bcf6bc |
Summary: Management library for "libnvdimm" subsystem devices (Non-volatile Memory)
|
|
|
bcf6bc |
License: LGPLv2
|
|
|
bcf6bc |
Group: System Environment/Libraries
|
|
|
bcf6bc |
Requires: daxctl-libs%{?_isa} = %{version}-%{release}
|
|
|
bcf6bc |
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%description -n ndctl-libs
|
|
|
bcf6bc |
Libraries for %{name}.
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%package -n daxctl-libs
|
|
|
bcf6bc |
Summary: Management library for "Device DAX" devices
|
|
|
bcf6bc |
License: LGPLv2
|
|
|
bcf6bc |
Group: System Environment/Libraries
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%description -n daxctl-libs
|
|
|
bcf6bc |
Device DAX is a facility for establishing DAX mappings of performance /
|
|
|
bcf6bc |
feature-differentiated memory. daxctl-libs provides an enumeration /
|
|
|
bcf6bc |
control API for these devices.
|
|
|
bcf6bc |
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%prep
|
|
|
bcf6bc |
%setup -q ndctl-%{version}
|
|
|
bcf6bc |
%patch0 -p1
|
|
|
bcf6bc |
%patch1 -p1
|
|
|
bcf6bc |
%patch2 -p1
|
|
|
bcf6bc |
%patch3 -p1
|
|
|
bcf6bc |
%patch4 -p1
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%build
|
|
|
bcf6bc |
echo %{version} > version
|
|
|
bcf6bc |
./autogen.sh
|
|
|
bcf6bc |
%ifarch x86_64
|
|
|
bcf6bc |
%configure --disable-static --enable-local --disable-silent-rules --with-libpmem
|
|
|
bcf6bc |
%else
|
|
|
bcf6bc |
%configure --disable-static --enable-local --disable-silent-rules
|
|
|
bcf6bc |
%endif
|
|
|
bcf6bc |
make %{?_smp_mflags}
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%install
|
|
|
bcf6bc |
%make_install
|
|
|
bcf6bc |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%check
|
|
|
bcf6bc |
make check
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%post -n ndctl-libs -p /sbin/ldconfig
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%postun -n ndctl-libs -p /sbin/ldconfig
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%post -n daxctl-libs -p /sbin/ldconfig
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%postun -n daxctl-libs -p /sbin/ldconfig
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion)
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%files
|
|
|
bcf6bc |
%license util/COPYING licenses/BSD-MIT licenses/CC0
|
|
|
bcf6bc |
%{_bindir}/ndctl
|
|
|
bcf6bc |
%{_mandir}/man1/ndctl*
|
|
|
bcf6bc |
%{bashcompdir}/
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%files -n daxctl
|
|
|
bcf6bc |
%license util/COPYING licenses/BSD-MIT licenses/CC0
|
|
|
bcf6bc |
%{_bindir}/daxctl
|
|
|
bcf6bc |
%{_mandir}/man1/daxctl*
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%files -n ndctl-libs
|
|
|
bcf6bc |
%doc README.md
|
|
|
bcf6bc |
%license util/COPYING licenses/BSD-MIT licenses/CC0
|
|
|
bcf6bc |
%{_libdir}/libndctl.so.*
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%files -n daxctl-libs
|
|
|
bcf6bc |
%doc README.md
|
|
|
bcf6bc |
%license util/COPYING licenses/BSD-MIT licenses/CC0
|
|
|
bcf6bc |
%{_libdir}/libdaxctl.so.*
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%files -n ndctl-devel
|
|
|
bcf6bc |
%license util/COPYING
|
|
|
bcf6bc |
%{_includedir}/ndctl/
|
|
|
bcf6bc |
%{_libdir}/libndctl.so
|
|
|
bcf6bc |
%{_libdir}/pkgconfig/libndctl.pc
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%files -n daxctl-devel
|
|
|
bcf6bc |
%license util/COPYING
|
|
|
bcf6bc |
%{_includedir}/daxctl/
|
|
|
bcf6bc |
%{_libdir}/libdaxctl.so
|
|
|
bcf6bc |
%{_libdir}/pkgconfig/libdaxctl.pc
|
|
|
bcf6bc |
|
|
|
bcf6bc |
|
|
|
bcf6bc |
%changelog
|
|
|
bcf6bc |
* Fri Oct 20 2017 Jeff Moyer <jmoyer@redhat.com> - 58.2-3
|
|
|
bcf6bc |
- fix more static checker issues
|
|
|
bcf6bc |
- Related: bz#1457566 bz#1471807 bz#1456954
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Fri Oct 20 2017 Jeff Moyer <jmoyer@redhat.com> - 58.2-2
|
|
|
bcf6bc |
- add in missing patch files
|
|
|
bcf6bc |
- Related: bz#1457566 bz#1471807 bz#1456954
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Mon Oct 16 2017 Jeff Moyer <jmoyer@redhat.com> - 58.2-1
|
|
|
bcf6bc |
- rebase to v58.2
|
|
|
bcf6bc |
- remove patches that were backported from later versions
|
|
|
bcf6bc |
- we now support >4k faults, so remove rhel-only patches
|
|
|
bcf6bc |
- add libpmem dependency, and gate it on x86_64
|
|
|
bcf6bc |
- pull in static checker fix for uncheck sscanf result
|
|
|
bcf6bc |
- fix up use of uninitialized variable
|
|
|
bcf6bc |
- Related: bz#1457566 bz#1471807 bz#1456954
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Tue May 30 2017 Jeff Moyer <jmoyer@redhat.com> - 56-2
|
|
|
bcf6bc |
- bump release
|
|
|
bcf6bc |
- Related: bz#1440902 bz#1446689
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Wed May 24 2017 Jeff Moyer <jmoyer@redhat.com> - 56-2
|
|
|
bcf6bc |
- Update documentation to reflect 4k alignment
|
|
|
bcf6bc |
- Add support for the MSFT family of DSM functions
|
|
|
bcf6bc |
- Resolves: bz#1440902 bz#1446689
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Sun Mar 26 2017 Jeff Moyer <jmoyer@redhat.com> - 56-1
|
|
|
bcf6bc |
- Rebase to upstream version 56
|
|
|
bcf6bc |
- Default to 4k alignment for device dax
|
|
|
bcf6bc |
- Resolves: bz#1384873 bz#1384642 bz#1349233 bz#1357451
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Mon Aug 29 2016 Dave Anderson <anderson@redhat.com> - 54.1
|
|
|
bcf6bc |
- Update to 54.1 to address ixpdimm_sw requirements
|
|
|
bcf6bc |
- Resolves bz#1271425
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Wed Jul 6 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-4
|
|
|
bcf6bc |
- Fix up duplicate "-v" documentation in man page
|
|
|
bcf6bc |
- Fix bogus test in invalidate_namespace_options
|
|
|
bcf6bc |
- Resolves: bz#1350404 bz#1271425
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Mon Jun 20 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-3
|
|
|
bcf6bc |
- make ndctl Require ndctl-libs-{version}-{release}
|
|
|
bcf6bc |
- Resolves bz#1271425
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Wed Jun 1 2016 Jeff Moyer <jmoyer@redhat.com> - 53.1-2
|
|
|
bcf6bc |
- initial import for RHEL
|
|
|
bcf6bc |
- Resolves bz#1271425
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Fri May 27 2016 Dan Williams <dan.j.williams@intel.com> - 53-1
|
|
|
bcf6bc |
- add daxctl-libs + daxctl-devel packages
|
|
|
bcf6bc |
- add bash completion
|
|
|
bcf6bc |
|
|
|
bcf6bc |
* Mon Apr 04 2016 Dan Williams <dan.j.williams@intel.com> - 52-1
|
|
|
bcf6bc |
- Initial rpm submission to Fedora
|