Blame SPECS/nvme-cli.spec

0315b3
#%global commit0 bdbb4da0979fbdc079cf98410cdb31cf799e83b3
0315b3
#%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
0315b3
0315b3
Name:           nvme-cli
0315b3
Version:        0.7
0315b3
Release:        1%{?dist}
0315b3
Summary:        NVMe management command line interface
0315b3
0315b3
License:        GPLv2+
0315b3
URL:            https://github.com/linux-nvme/nvme-cli
0315b3
#Source0:        https://github.com/linux-nvme/%{name}/archive/%{commit0}.tar.gz
0315b3
Source0:        https://github.com/linux-nvme/%{name}/archive/v%{version}.tar.gz
0315b3
0315b3
BuildRequires:  systemd-devel
0315b3
0315b3
%description
0315b3
nvme-cli provides NVM-Express user space tooling for Linux.
0315b3
0315b3
%prep
0315b3
#%setup -qn %{name}-%{commit0}
0315b3
%setup
0315b3
0315b3
0315b3
%build
0315b3
make PREFIX=/usr CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" %{?_smp_mflags}
0315b3
0315b3
0315b3
%install
0315b3
%make_install PREFIX=/usr
0315b3
0315b3
0315b3
%files
0315b3
%license LICENSE
0315b3
%doc README.md
0315b3
%{_sbindir}/nvme
0315b3
%{_mandir}/man1/nvme*.gz
0315b3
0315b3
0315b3
%changelog
0315b3
* Tue May 31 2016 luto@kernel.org - 0.7-1
0315b3
- Update to 0.7
0315b3
0315b3
* Fri Mar 18 2016 luto@kernel.org - 0.5-1
0315b3
- Update to 0.5
0315b3
0315b3
* Sun Mar 06 2016 luto@kernel.org - 0.4-1
0315b3
- Update to 0.4
0315b3
0315b3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3.20160112gitbdbb4da
0315b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
0315b3
0315b3
* Wed Jan 20 2016 luto@kernel.org - 0.2-2.20160112gitbdbb4da
0315b3
- Update to new upstream commit, fixing #49.  "nvme list" now works.
0315b3
0315b3
* Wed Jan 13 2016 luto@kernel.org - 0.2-1.20160112gitde3e0f1
0315b3
- Initial import.