import stratisd-2.0.0-4.el8
This commit is contained in:
commit
bbeec94fb1
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SOURCES/stratisd-2.0.0-vendor.tar.xz
|
||||||
|
SOURCES/stratisd-2.0.0.tar.gz
|
2
.stratisd.metadata
Normal file
2
.stratisd.metadata
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
a66959b2c743290b61e485a779fedb7fbd7fa24b SOURCES/stratisd-2.0.0-vendor.tar.xz
|
||||||
|
f8cc6c8e1ddf1aa0665bb8801f6ef2c4117fba08 SOURCES/stratisd-2.0.0.tar.gz
|
118
SPECS/stratisd.spec
Normal file
118
SPECS/stratisd.spec
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
%bcond_without check
|
||||||
|
|
||||||
|
# Not interested in packaging lib
|
||||||
|
# stratisd is supposed to be daemon used through dbus
|
||||||
|
%global __cargo_is_lib() false
|
||||||
|
|
||||||
|
Name: stratisd
|
||||||
|
Version: 2.0.0
|
||||||
|
Release: 4%{?dist}
|
||||||
|
Summary: Daemon that manages block devices to create filesystems
|
||||||
|
|
||||||
|
License: MPLv2.0
|
||||||
|
URL: https://github.com/stratis-storage/stratisd
|
||||||
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Source1: %{name}-%{version}-vendor.tar.xz
|
||||||
|
|
||||||
|
ExclusiveArch: %{rust_arches}
|
||||||
|
|
||||||
|
BuildRequires: rust-toolset
|
||||||
|
BuildRequires: systemd-devel
|
||||||
|
BuildRequires: dbus-devel
|
||||||
|
BuildRequires: %{_bindir}/a2x
|
||||||
|
|
||||||
|
Requires: xfsprogs
|
||||||
|
Requires: device-mapper-persistent-data
|
||||||
|
Requires: systemd-libs
|
||||||
|
Requires: dbus-libs
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
# Source1 is vendored dependencies
|
||||||
|
%cargo_prep -V 1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cargo_build
|
||||||
|
a2x -f manpage docs/stratisd.txt
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cargo_install
|
||||||
|
%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf
|
||||||
|
# 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
|
||||||
|
%{__install} -Dpm0644 -t %{buildroot}%{_unitdir} stratisd.service
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
%check
|
||||||
|
%cargo_test -- --skip real_ --skip loop_ --skip travis_
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%post
|
||||||
|
%systemd_post stratisd.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%systemd_preun stratisd.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%systemd_postun_with_restart stratisd.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_libexecdir}/stratisd
|
||||||
|
%dir %{_datadir}/dbus-1
|
||||||
|
%{_datadir}/dbus-1/system.d/stratisd.conf
|
||||||
|
%{_mandir}/man8/stratisd.8*
|
||||||
|
%{_unitdir}/stratisd.service
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Nov 12 2019 Dennis Keefe <dkeefe@redhat.com> - 2.0.0-4
|
||||||
|
- Update to 2.0.0
|
||||||
|
- Resolves: rhbz#1760906
|
||||||
|
- Fix a bug where last update time for variable length metadata was not set
|
||||||
|
properly on startup:
|
||||||
|
- Resolves: rhbz#1720399
|
||||||
|
- Specify path of PID file as "/run/stratisd.pid" instead of
|
||||||
|
"/var/run/stratisd.pid".
|
||||||
|
- Resolves: rhbz#1754649
|
||||||
|
- For a particular log entry, reduce log level from INFO to DEBUG and make the
|
||||||
|
log message more detailed:
|
||||||
|
- Resolves: rhbz#1680052
|
||||||
|
|
||||||
|
* Mon Jun 3 2019 Dennis Keefe <dkeefe@redhat.com> - 1.0.4-2
|
||||||
|
- update to 1.0.4
|
||||||
|
|
||||||
|
* Wed Jan 9 2019 Andy Grover <agrover@redhat.com> - 1.0.3-1
|
||||||
|
- Update to 1.0.3
|
||||||
|
|
||||||
|
* Tue Dec 11 2018 Andy Grover <agrover@redhat.com> - 1.0.2-1
|
||||||
|
- Update to 1.0.2
|
||||||
|
|
||||||
|
* Tue Nov 6 2018 Andy Grover <agrover@redhat.com> - 1.0.1-1
|
||||||
|
- Update to 1.0.1
|
||||||
|
|
||||||
|
* Mon Oct 8 2018 Andy Grover <agrover@redhat.com> - 1.0.0-2
|
||||||
|
- Fix for non-Dbus activation
|
||||||
|
|
||||||
|
* Tue Oct 2 2018 Andy Grover <agrover@redhat.com> - 1.0.0-1
|
||||||
|
- Update to 1.0.0
|
||||||
|
|
||||||
|
* Wed Aug 08 2018 Josh Stone <jistone@redhat.com> - 0.5.5-2
|
||||||
|
- Rebuild with rust-toolset-1.26
|
||||||
|
|
||||||
|
* Thu Aug 2 2018 Andy Grover <agrover@redhat.com> - 0.5.5-1
|
||||||
|
- Update to 0.5.5
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Andy Grover <agrover@redhat.com> - 0.5.4-1
|
||||||
|
- Update to 0.5.4
|
||||||
|
|
||||||
|
* Thu May 24 2018 Andy Grover <agrover@redhat.com> - 0.5.2-1
|
||||||
|
- Initial packaging for RHEL 8
|
||||||
|
- Update to 0.5.2
|
Loading…
Reference in New Issue
Block a user