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