fix nvme-cli.spec changelog error for openEuler-20.03-LTS-SP3 https://gitee.com/src-openeuler/nvme-cli/issues/I5OZCQ | **贡献者** | | ----------------------------------------------- | | **天翼云 ctyun 操作系统组 - 游益锋(youyifeng)** | Signed-off-by: ctyunsystem <ctyuncommiter05@chinatelecom.cn>
42 lines
858 B
RPMSpec
42 lines
858 B
RPMSpec
Name: nvme-cli
|
|
Version: 1.6
|
|
Release: 3
|
|
Summary: NVMe management command line interface
|
|
|
|
License: GPLv2+
|
|
URL: https://github.com/linux-nvme/nvme-cli
|
|
Source0: https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
|
|
|
|
BuildRequires: libuuid-devel gcc
|
|
Requires: nvme-cli-help
|
|
|
|
%description
|
|
nvme-cli provides NVM-Express user space tooling for Linux.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%make_build PREFIX=%{_prefix} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
|
|
|
|
%install
|
|
%make_install PREFIX=%{_prefix}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_sbindir}/nvme
|
|
%{_datadir}/bash_completion.d/nvme
|
|
|
|
%files help
|
|
%doc README.md
|
|
%{_mandir}/man1/nvme*.gz
|
|
|
|
%changelog
|
|
* Fri Nov 06 2020 mengxian@huawei.com - 1.6-3
|
|
- add help for Requires
|
|
|
|
* Tue Nov 19 2019 mengxian@huawei.com - 1.6-2
|
|
- Package init
|