automatic version update by autodist [release 2.4.2-1mamba;Mon Sep 13 2021]
This commit is contained in:
parent
6a0ca0b85f
commit
dd56ec908a
@ -1,5 +1,5 @@
|
||||
Name: stratisd
|
||||
Version: 2.3.0
|
||||
Version: 2.4.2
|
||||
Release: 1mamba
|
||||
Summary: Easy to use local storage management for Linux
|
||||
Group: System/Management
|
||||
@ -11,7 +11,6 @@ Source: https://github.com/stratis-storage/stratisd.git/v%{version}/strat
|
||||
License: MPL 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libcryptsetup-devel
|
||||
BuildRequires: libdbus-devel
|
||||
BuildRequires: libgcc
|
||||
@ -20,7 +19,6 @@ BuildRequires: libudev-devel
|
||||
%systemd_requires
|
||||
BuildRequires: rustc
|
||||
Requires: thin-provisioning-tools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Easy to use local storage management for Linux.
|
||||
@ -35,8 +33,8 @@ Easy to use local storage management for Linux.
|
||||
# Append '--release' to `cargo build` (line 24):
|
||||
sed -i 's/cargo build --target/cargo build --release --target/' Makefile
|
||||
|
||||
%ifarch x86_64
|
||||
sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" stratisd.service
|
||||
%ifarch x86_64 aarch64
|
||||
sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" systemd/stratisd.service
|
||||
%endif
|
||||
|
||||
%build
|
||||
@ -46,7 +44,7 @@ sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" stratisd.service
|
||||
TARGET=i686-unknown-linux-gnu
|
||||
%endif
|
||||
|
||||
make stratisd.8
|
||||
#make stratisd.8
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -63,10 +61,10 @@ install -m 755 target/i686-unknown-linux-gnu/debug/stratisd %{buildroot}%{_libex
|
||||
install -m 755 target/debug/stratisd %{buildroot}%{_libexecdir}/stratisd
|
||||
%endif
|
||||
|
||||
install -m 644 stratisd.service %{buildroot}%{_unitdir}
|
||||
install -m 644 systemd/stratisd.service %{buildroot}%{_unitdir}
|
||||
install -D -m 644 org.storage.stratis2.service %{buildroot}%{_datadir}/dbus-1/services/org.storage.stratis2.service
|
||||
install -m 644 stratisd.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d
|
||||
install -m 644 docs/stratisd.8 %{buildroot}%{_mandir}/man8
|
||||
#install -m 644 docs/stratisd.8 %{buildroot}%{_mandir}/man8
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -89,10 +87,13 @@ install -m 644 docs/stratisd.8 %{buildroot}%{_mandir}/man8
|
||||
%{_libexecdir}/stratisd
|
||||
%{_unitdir}/stratisd.service
|
||||
%{_datadir}/dbus-1/services/org.storage.stratis2.service
|
||||
%{_mandir}/man8/stratisd.8*
|
||||
#%{_mandir}/man8/stratisd.8*
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Mon Sep 13 2021 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-1mamba
|
||||
- update to 2.3.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user