version 0.4-1

Signed-off-by: Andy Grover <agrover@redhat.com>
This commit is contained in:
Andy Grover 2017-05-09 12:31:25 -07:00
parent 6a03962c7d
commit 7e8872810f
4 changed files with 8 additions and 15 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/nvmetcli-0.3.tar.gz /nvmetcli-0.3.tar.gz
/nvmetcli-0.4.tar.gz

View File

@ -1,10 +0,0 @@
iff --git a/setup.py b/setup.py
index 078020f..f62ce5b 100755
--- a/setup.py
+++ b/setup.py
@@ -27,4 +27,5 @@ setup(
maintainer_email = 'hch@lst.de',
test_suite='nose2.collector.collector',
packages = ['nvmet'],
+ scripts = ['nvmetcli'],
)

View File

@ -2,11 +2,10 @@ Name: nvmetcli
License: ASL 2.0 License: ASL 2.0
Group: Applications/System Group: Applications/System
Summary: An adminstration shell for NVMe storage targets Summary: An adminstration shell for NVMe storage targets
Version: 0.3 Version: 0.4
Release: 1%{?dist} Release: 1%{?dist}
URL: ftp://ftp.infradead.org/pub/nvmetcli/ URL: ftp://ftp.infradead.org/pub/nvmetcli/
Source: ftp://ftp.infradead.org/pub/nvmetcli/%{name}-%{version}.tar.gz Source: ftp://ftp.infradead.org/pub/nvmetcli/%{name}-%{version}.tar.gz
Patch0: fix-setup.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel python3-setuptools systemd-units asciidoc xmlto BuildRequires: python3-devel python3-setuptools systemd-units asciidoc xmlto
Requires: python3-configshell python3-kmod Requires: python3-configshell python3-kmod
@ -21,7 +20,6 @@ as well as saving / restoring the configuration to / from a json file.
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%{__python3} setup.py build %{__python3} setup.py build
@ -49,13 +47,17 @@ install -m 644 Documentation/nvmetcli.8.gz %{buildroot}%{_mandir}/man8/
%files %files
%{python3_sitelib}/* %{python3_sitelib}/*
%dir %{_sysconfdir}/nvmet %dir %{_sysconfdir}/nvmet
%{_bindir}/nvmetcli %{_sbindir}/nvmetcli
%{_unitdir}/nvmet.service %{_unitdir}/nvmet.service
%doc README %doc README
%license COPYING %license COPYING
%{_mandir}/man8/nvmetcli.8.gz %{_mandir}/man8/nvmetcli.8.gz
%changelog %changelog
* Tue May 9 2017 Andy Grover <agrover@redhat.com> - 0.4-1
- Update for new upstream release
- Remove fix-setup.patch
* Tue Feb 21 2017 Andy Grover <agrover@redhat.com> - 0.3-1 * Tue Feb 21 2017 Andy Grover <agrover@redhat.com> - 0.3-1
- Update for new upstream release - Update for new upstream release

View File

@ -1 +1 @@
SHA512 (nvmetcli-0.3.tar.gz) = 73361ed1c854ad7faa4885e2330d44cae18092c58bf553a86486b0c2b7e1c21d82f79d097c54ba2ece8452012c23d6dbed68a084e911fd133b072d0396883603 SHA512 (nvmetcli-0.4.tar.gz) = a6619052295200b3d8fb4b075426f1bdffc809cb11a38fe0e3d70c7f01d3dbdc0be4c7fd7c507d279584024647b2cea3ea4f67e41379804deb45f55009796f06