Add manpage

update to 0.5.0-2.

Signed-off-by: Andy Grover <agrover@redhat.com>
This commit is contained in:
Andy Grover 2018-03-09 12:26:13 -08:00
parent ef226cc81e
commit 9f1b90fb5a

View File

@ -9,7 +9,7 @@
Name: stratisd
Version: 0.5.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Daemon that manages block devices to create filesystems
License: MPLv2.0
@ -20,6 +20,8 @@ Patch0: 32bit-fix.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: asciidoc
# [dependencies]
BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0)
BuildRequires: (crate(chrono) >= 0.4.0 with crate(chrono) < 0.5.0)
@ -61,6 +63,7 @@ sed -i -e "/^clippy/d" Cargo.toml
%build
%cargo_build
make stratisd.8
%install
%cargo_install
@ -69,6 +72,7 @@ sed -i -e "/^clippy/d" Cargo.toml
# Daemon should be really private
mkdir -p %{buildroot}%{_libexecdir}
mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_libexecdir}/stratisd
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man8/ docs/stratisd.8
%if %{with check}
%check
@ -81,8 +85,12 @@ mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_libexecdir}/stratisd
%{_libexecdir}/stratisd
%{_datadir}/dbus-1/system.d/stratisd.conf
%{_datadir}/dbus-1/system-services/org.storage.stratis1.service
%{_mandir}/man8/stratisd.8.gz
%changelog
* Tue Mar 13 2018 Andy Grover <agrover@redhat.com> - 0.5.0-2
- Add stratisd manpage
* Thu Mar 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
- Update to 0.5.0