diff --git a/.gitignore b/.gitignore index dcc62ca..7d51299 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /nvmetcli-0.3.tar.gz +/nvmetcli-0.4.tar.gz diff --git a/fix-setup.patch b/fix-setup.patch deleted file mode 100644 index e7d0d15..0000000 --- a/fix-setup.patch +++ /dev/null @@ -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'], - ) diff --git a/nvmetcli.spec b/nvmetcli.spec index 1f7be1a..892ea94 100644 --- a/nvmetcli.spec +++ b/nvmetcli.spec @@ -2,11 +2,10 @@ Name: nvmetcli License: ASL 2.0 Group: Applications/System Summary: An adminstration shell for NVMe storage targets -Version: 0.3 +Version: 0.4 Release: 1%{?dist} URL: ftp://ftp.infradead.org/pub/nvmetcli/ Source: ftp://ftp.infradead.org/pub/nvmetcli/%{name}-%{version}.tar.gz -Patch0: fix-setup.patch BuildArch: noarch BuildRequires: python3-devel python3-setuptools systemd-units asciidoc xmlto Requires: python3-configshell python3-kmod @@ -21,7 +20,6 @@ as well as saving / restoring the configuration to / from a json file. %prep %setup -q -%patch0 -p1 %build %{__python3} setup.py build @@ -49,13 +47,17 @@ install -m 644 Documentation/nvmetcli.8.gz %{buildroot}%{_mandir}/man8/ %files %{python3_sitelib}/* %dir %{_sysconfdir}/nvmet -%{_bindir}/nvmetcli +%{_sbindir}/nvmetcli %{_unitdir}/nvmet.service %doc README %license COPYING %{_mandir}/man8/nvmetcli.8.gz %changelog +* Tue May 9 2017 Andy Grover - 0.4-1 +- Update for new upstream release +- Remove fix-setup.patch + * Tue Feb 21 2017 Andy Grover - 0.3-1 - Update for new upstream release diff --git a/sources b/sources index 7465074..9ede9af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nvmetcli-0.3.tar.gz) = 73361ed1c854ad7faa4885e2330d44cae18092c58bf553a86486b0c2b7e1c21d82f79d097c54ba2ece8452012c23d6dbed68a084e911fd133b072d0396883603 +SHA512 (nvmetcli-0.4.tar.gz) = a6619052295200b3d8fb4b075426f1bdffc809cb11a38fe0e3d70c7f01d3dbdc0be4c7fd7c507d279584024647b2cea3ea4f67e41379804deb45f55009796f06