automatic version update by autodist [release 3.0.2-1mamba;Fri Dec 31 2021]

This commit is contained in:
Automatic Build System 2024-01-05 18:09:40 +01:00
parent dd56ec908a
commit 2f09a63f03

View File

@ -1,5 +1,5 @@
Name: stratisd
Version: 2.4.2
Version: 3.0.2
Release: 1mamba
Summary: Easy to use local storage management for Linux
Group: System/Management
@ -11,6 +11,7 @@ Source: https://github.com/stratis-storage/stratisd.git/v%{version}/strat
License: MPL 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libblkid-devel
BuildRequires: libcryptsetup-devel
BuildRequires: libdbus-devel
BuildRequires: libgcc
@ -18,6 +19,7 @@ BuildRequires: libudev-devel
## AUTOBUILDREQ-END
%systemd_requires
BuildRequires: rustc
BuildRequires: asciidoc
Requires: thin-provisioning-tools
%description
@ -44,28 +46,30 @@ sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" systemd/stratisd.servi
TARGET=i686-unknown-linux-gnu
%endif
#make stratisd.8
a2x -f manpage docs/stratisd.txt
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m 755 %{buildroot}%{_sysconfdir}/dbus-1/system.d
install -d -m 755 %{buildroot}%{_libexecdir}
install -d -m 755 %{buildroot}%{_unitdir}
install -d -m 755 %{buildroot}%{_datadir}/dbus-1/system-services
install -d -m 755 %{buildroot}%{_docdir}
install -d -m 755 %{buildroot}%{_mandir}/man8
install -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf
%ifarch %{ix86}
install -m 755 target/i686-unknown-linux-gnu/debug/stratisd %{buildroot}%{_libexecdir}/stratisd
install -D -m0755 target/i686-unknown-linux-gnu/debug/stratisd %{buildroot}%{_libexecdir}/stratisd
install -D -m0755 target/i686-unknown-linux-gnu/debug/stratis-utils %{buildroot}%{_prefix}/lib/udev/stratis-str-cmp
%else
install -m 755 target/debug/stratisd %{buildroot}%{_libexecdir}/stratisd
install -D -m0755 target/debug/stratisd %{buildroot}%{_libexecdir}/stratisd
install -D -m0755 target/debug/stratis-utils %{buildroot}%{_prefix}/lib/udev/stratis-str-cmp
%endif
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
mkdir %{buildroot}%{_bindir}
ln -s %{_prefix}/lib/udev/stratis-str-cmp %{buildroot}%{_bindir}/stratis-predict-usage
ln -s stratis-str-cmp %{buildroot}%{_prefix}/lib/udev/stratis-base32-decode
install -Dpm0644 -t %{buildroot}%{_mandir}/man8 docs/stratisd.8
install -Dpm0644 -t %{buildroot}%{_udevrulesdir} udev/61-stratisd.rules
install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratisd.service
#install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratisd-min-postinitrd.service
#install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratis-fstab-setup\@.service
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -83,14 +87,20 @@ install -m 644 stratisd.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d
%files
%defattr(-,root,root)
%{_sysconfdir}/dbus-1/system.d/stratisd.conf
%{_bindir}/stratis-predict-usage
%{_datadir}/dbus-1/system.d/stratisd.conf
%{_libexecdir}/stratisd
%{_unitdir}/stratisd.service
%{_datadir}/dbus-1/services/org.storage.stratis2.service
#%{_mandir}/man8/stratisd.8*
%{_udevrulesdir}/61-stratisd.rules
%{_prefix}/lib/udev/stratis-str-cmp
%{_prefix}/lib/udev/stratis-base32-decode
%{_mandir}/man8/stratisd.8*
%doc LICENSE
%changelog
* Fri Dec 31 2021 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Mon Sep 13 2021 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic version update by autodist