Accepting request 1115670 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1115670 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/e2fsprogs?expand=0&rev=129
This commit is contained in:
commit
67cbacabea
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user