Ana Guerrero 2023-10-05 18:03:08 +00:00 committed by Git OBS Bridge
commit 67cbacabea
2 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 4 16:34:10 UTC 2023 - Jan Kara <jack@suse.cz>
- Update specfile to make sure regenerate_initrd_post macro is defined
-------------------------------------------------------------------
Wed Feb 8 10:14:18 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -79,6 +79,11 @@ Obsoletes: e2fsprogs-64bit
%endif
#
# For regenerate_initrd_post macro
%if 0%{?suse_version} < 1550
BuildRequires: suse-module-tools
%else
BuildRequires: rpm-config-SUSE
%endif
Requires(post): /usr/bin/mkdir /usr/bin/touch
Requires: libcom_err2 >= %{version}
Requires: libext2fs2 >= %{version}
@ -282,7 +287,7 @@ done
%if 0%{?suse_version} <= 1530
%install_info --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
%endif
%{?regenerate_initrd_post}
%{regenerate_initrd_post}
%if %{with systemd}
%post -n e2fsprogs-scrub
@ -301,7 +306,7 @@ done
%postun
/sbin/ldconfig
%{?regenerate_initrd_post}
%{regenerate_initrd_post}
%if %{with systemd}
%postun -n e2fsprogs-scrub
@ -309,7 +314,7 @@ done
%endif
%posttrans
%{?regenerate_initrd_posttrans}
%{regenerate_initrd_posttrans}
%post -n libext2fs2 -p /sbin/ldconfig