automatic version update by autodist [release 3.2.3-1mamba;Thu Sep 15 2022]
This commit is contained in:
parent
a6363320be
commit
b83d4e3e72
@ -1,5 +1,5 @@
|
|||||||
Name: stratisd
|
Name: stratisd
|
||||||
Version: 3.2.0
|
Version: 3.2.3
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Easy to use local storage management for Linux
|
Summary: Easy to use local storage management for Linux
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
@ -15,6 +15,7 @@ BuildRequires: libblkid-devel
|
|||||||
BuildRequires: libcryptsetup-devel
|
BuildRequires: libcryptsetup-devel
|
||||||
BuildRequires: libdbus-devel
|
BuildRequires: libdbus-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libsystemd-devel
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
%systemd_requires
|
%systemd_requires
|
||||||
@ -29,27 +30,30 @@ Easy to use local storage management for Linux.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#-D -T
|
|
||||||
#:<< _EOF
|
|
||||||
|
|
||||||
# Append '--release' to `cargo build` (line 24):
|
# Append '--release' to `cargo build` (line 24):
|
||||||
sed -i 's/cargo build --target/cargo build --release --target/' Makefile
|
sed -i 's/cargo build --target/cargo build --release --target/' Makefile
|
||||||
|
|
||||||
%ifarch x86_64 aarch64
|
#%ifarch x86_64 aarch64
|
||||||
sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" systemd/stratisd.service
|
#sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" systemd/stratisd.service
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#:<< _EOF
|
%make build build-min
|
||||||
%make build \
|
|
||||||
%ifarch %{ix86}
|
#%ifarch %{ix86}
|
||||||
TARGET=i686-unknown-linux-gnu
|
# TARGET=i686-unknown-linux-gnu
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
a2x -f manpage docs/stratisd.txt
|
a2x -f manpage docs/stratisd.txt
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall \
|
||||||
|
PROFILEDIR=debug \
|
||||||
|
LIBEXECDIR=%{_libexecdir}
|
||||||
|
|
||||||
|
:<< ___OLD
|
||||||
install -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf
|
install -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
install -D -m0755 target/i686-unknown-linux-gnu/debug/stratisd %{buildroot}%{_libexecdir}/stratisd
|
install -D -m0755 target/i686-unknown-linux-gnu/debug/stratisd %{buildroot}%{_libexecdir}/stratisd
|
||||||
@ -63,12 +67,13 @@ mkdir %{buildroot}%{_bindir}
|
|||||||
ln -s %{_prefix}/lib/udev/stratis-str-cmp %{buildroot}%{_bindir}/stratis-predict-usage
|
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
|
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}%{_mandir}/man8 docs/stratisd.8
|
||||||
install -Dpm0644 -t %{buildroot}%{_udevrulesdir} udev/61-stratisd.rules
|
#install -Dpm0644 -t %{buildroot}%{_udevrulesdir} udev/61-stratisd.rules
|
||||||
install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratisd.service
|
#install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratisd.service
|
||||||
|
|
||||||
#install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratisd-min-postinitrd.service
|
#install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratisd-min-postinitrd.service
|
||||||
#install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratis-fstab-setup\@.service
|
#install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratis-fstab-setup\@.service
|
||||||
|
___OLD
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -87,17 +92,31 @@ install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratisd.service
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/stratis-predict-usage
|
%{_bindir}/stratis-*
|
||||||
%{_datadir}/dbus-1/system.d/stratisd.conf
|
%{_libexecdir}/stratisd*
|
||||||
%{_libexecdir}/stratisd
|
%{_systemd_util_dir}/stratis-fstab-setup
|
||||||
|
%{_systemdgeneratordir}/stratis-*-generator
|
||||||
|
%{_unitdir}/stratis-fstab-setup@.service
|
||||||
|
%{_unitdir}/stratisd-min-postinitrd.service
|
||||||
%{_unitdir}/stratisd.service
|
%{_unitdir}/stratisd.service
|
||||||
|
%{_datadir}/dbus-1/system.d/stratisd.conf
|
||||||
%{_udevrulesdir}/61-stratisd.rules
|
%{_udevrulesdir}/61-stratisd.rules
|
||||||
%{_prefix}/lib/udev/stratis-str-cmp
|
%{_prefix}/lib/udev/stratis-str-cmp
|
||||||
%{_prefix}/lib/udev/stratis-base32-decode
|
%{_prefix}/lib/udev/stratis-base32-decode
|
||||||
|
%dir %{_prefix}/lib/dracut/modules.d/90stratis
|
||||||
|
%{_prefix}/lib/dracut/modules.d/90stratis/*
|
||||||
|
%dir %{_prefix}/lib/dracut/modules.d/90stratis-clevis
|
||||||
|
%{_prefix}/lib/dracut/modules.d/90stratis-clevis/*
|
||||||
%{_mandir}/man8/stratisd.8*
|
%{_mandir}/man8/stratisd.8*
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 15 2022 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Aug 02 2022 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Wed Jul 20 2022 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
* Wed Jul 20 2022 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user