Update to 2.2.0

This commit is contained in:
mulhern 2020-10-19 19:14:56 -04:00
parent da0b190920
commit c321264e9d
3 changed files with 19 additions and 8 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/stratisd-2.0.0.tar.gz
/stratisd-2.0.1.tar.gz
/stratisd-2.1.0.tar.gz
/stratisd-2.2.0.tar.gz

View File

@ -1 +1 @@
SHA512 (stratisd-2.1.0.tar.gz) = 59730374aa42d829090e4cb28bef5281a3c0e30fc5250bea472c716d9a7172d5aea3b25588b519d7a657f2dd6f092eb3f4951e12c41328b47ad032564478b5ff
SHA512 (stratisd-2.2.0.tar.gz) = 420bdc773f22219b62a10d1995e281967e077a32e1b815d9f9875035667da959e238bd4be200d57f03737975b59ac68804cecf89ad9a9d5bda107547611fbe43

View File

@ -1,14 +1,15 @@
# Generated by rust2rpm
%bcond_without check
%global __cargo_skip_build 0
%global udevdir %(pkg-config --variable=udevdir udev)
# Not interested in packaging lib
# stratisd is supposed to be daemon used through dbus
%global __cargo_is_lib() false
Name: stratisd
Version: 2.1.0
Release: 3%{?dist}
Version: 2.2.0
Release: 1%{?dist}
Summary: Daemon that manages a pool of block devices to create flexible filesystems
# ASL 2.0
@ -52,18 +53,21 @@ a2x -f manpage docs/stratisd.txt
%install
%cargo_install
# Daemon should be really private
mkdir -p %{buildroot}%{_libexecdir}
mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_libexecdir}/stratisd
%cargo_install -n
# Init version should be in sbin
mkdir -p %{buildroot}%{_sbindir}
mv %{buildroot}%{_bindir}/stratisd %{buildroot}%{_sbindir}/stratisd-init
mkdir -p %{buildroot}%{udevdir}
mv %{buildroot}%{_bindir}/stratis_uuids_to_names %{buildroot}%{udevdir}/stratis_uuids_to_names
mkdir -p %{buildroot}/developer_tools
install -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratisd.8
install -Dpm0644 -t %{buildroot}%{_udevrulesdir} udev/11-stratisd.rules
install -Dpm0644 -t %{buildroot}%{_unitdir} stratisd.service
install -Dpm0644 -t %{buildroot}%{_bindir} developer_tools/stratis_migrate_symlinks.sh
%if %{with check}
%check
@ -83,13 +87,19 @@ install -Dpm0644 -t %{buildroot}%{_unitdir} stratisd.service
%license LICENSE
%doc README.md
%{_libexecdir}/stratisd
%{_sbindir}/stratisd-init
%{udevdir}/stratis_uuids_to_names
%{_bindir}/stratis_dbusquery_version
%{_bindir}/stratis_migrate_symlinks.sh
%dir %{_datadir}/dbus-1
%{_datadir}/dbus-1/system.d/stratisd.conf
%{_mandir}/man8/stratisd.8*
%{_unitdir}/stratisd.service
%config %{_udevrulesdir}/11-stratisd.rules
%changelog
* Mon Oct 19 2020 mulhern <amulhern@redhat.com> - 2.2.0-1
- Update to 2.2.0
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild