diff --git a/stratisd.spec b/stratisd.spec index b75a4eb..70c1733 100644 --- a/stratisd.spec +++ b/stratisd.spec @@ -1,5 +1,5 @@ Name: stratisd -Version: 3.2.0 +Version: 3.2.3 Release: 1mamba Summary: Easy to use local storage management for Linux Group: System/Management @@ -15,6 +15,7 @@ BuildRequires: libblkid-devel BuildRequires: libcryptsetup-devel BuildRequires: libdbus-devel BuildRequires: libgcc +BuildRequires: libsystemd-devel BuildRequires: libudev-devel ## AUTOBUILDREQ-END %systemd_requires @@ -29,27 +30,30 @@ Easy to use local storage management for Linux. %prep %setup -q -#-D -T -#:<< _EOF # Append '--release' to `cargo build` (line 24): sed -i 's/cargo build --target/cargo build --release --target/' Makefile -%ifarch x86_64 aarch64 -sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" systemd/stratisd.service -%endif +#%ifarch x86_64 aarch64 +#sed -i "s|/usr/libexec/stratisd|%{_libexecdir}/stratisd|" systemd/stratisd.service +#%endif %build -#:<< _EOF -%make build \ -%ifarch %{ix86} - TARGET=i686-unknown-linux-gnu -%endif +%make build build-min + +#%ifarch %{ix86} +# TARGET=i686-unknown-linux-gnu +#%endif a2x -f manpage docs/stratisd.txt %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall \ + PROFILEDIR=debug \ + LIBEXECDIR=%{_libexecdir} + +:<< ___OLD install -Dpm0644 -t %{buildroot}%{_datadir}/dbus-1/system.d stratisd.conf %ifarch %{ix86} 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 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}%{_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 +___OLD %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -87,17 +92,31 @@ install -Dpm0644 -t %{buildroot}%{_unitdir} systemd/stratisd.service %files %defattr(-,root,root) -%{_bindir}/stratis-predict-usage -%{_datadir}/dbus-1/system.d/stratisd.conf -%{_libexecdir}/stratisd +%{_bindir}/stratis-* +%{_libexecdir}/stratisd* +%{_systemd_util_dir}/stratis-fstab-setup +%{_systemdgeneratordir}/stratis-*-generator +%{_unitdir}/stratis-fstab-setup@.service +%{_unitdir}/stratisd-min-postinitrd.service %{_unitdir}/stratisd.service +%{_datadir}/dbus-1/system.d/stratisd.conf %{_udevrulesdir}/61-stratisd.rules %{_prefix}/lib/udev/stratis-str-cmp %{_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* %doc LICENSE %changelog +* Thu Sep 15 2022 Automatic Build System 3.2.3-1mamba +- automatic version update by autodist + +* Tue Aug 02 2022 Automatic Build System 3.2.1-1mamba +- automatic version update by autodist + * Wed Jul 20 2022 Automatic Build System 3.2.0-1mamba - automatic version update by autodist