Accepting request 971034:

Rev openSUSE:Factory/125 Md5 fca89d0ed01d7e7d9be368d2000c8c82 2022-04-23 17:44:54 dimstar_suse 971034
This commit is contained in:
OBS User dimstar_suse 2022-04-23 17:44:54 +00:00 committed by Git OBS Bridge
commit 9c2cf84309
2 changed files with 32 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 19 20:51:15 UTC 2022 - Dirk Müller <dmueller@suse.com>
- avoid empty preuninstall script
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 28 15:40:35 UTC 2022 - Jan Kara <jack@suse.cz> Fri Jan 28 15:40:35 UTC 2022 - Jan Kara <jack@suse.cz>

View File

@ -42,7 +42,7 @@ BuildRequires: makeinfo
%define install_info sbin/install-info %define install_info sbin/install-info
%define install_info_delete sbin/install-info --delete %define install_info_delete sbin/install-info --delete
Requires(post): %install_info_prereq Requires(post): %install_info_prereq
Requires(preun): %install_info_prereq Requires(preun):%install_info_prereq
%endif %endif
%endif %endif
# bug437293 # bug437293
@ -53,17 +53,17 @@ Obsoletes: e2fsprogs-64bit
%if %{build_mini} %if %{build_mini}
Conflicts: e2fsprogs Conflicts: e2fsprogs
Conflicts: e2fsprogs-devel Conflicts: e2fsprogs-devel
Conflicts: libext2fs2
Conflicts: libext2fs-devel
Conflicts: libcom_err2
Conflicts: libcom_err-devel Conflicts: libcom_err-devel
Conflicts: libcom_err2
Conflicts: libext2fs-devel
Conflicts: libext2fs2
%else %else
Conflicts: e2fsprogs-mini Conflicts: e2fsprogs-mini
Conflicts: e2fsprogs-mini-devel Conflicts: e2fsprogs-mini-devel
Conflicts: libext2fs2-mini
Conflicts: libext2fs-mini-devel
Conflicts: libcom_err2-mini
Conflicts: libcom_err-mini-devel Conflicts: libcom_err-mini-devel
Conflicts: libcom_err2-mini
Conflicts: libext2fs-mini-devel
Conflicts: libext2fs2-mini
%endif %endif
# #
Version: 1.46.5 Version: 1.46.5
@ -120,6 +120,7 @@ Dummy development package for backwards compatibility.
%if %{build_mini} %if %{build_mini}
%package -n e2fsprogs-scrub-mini %package -n e2fsprogs-scrub-mini
%else %else
%package -n e2fsprogs-scrub %package -n e2fsprogs-scrub
%endif %endif
Summary: Ext2fs scrubbing scripts and service files Summary: Ext2fs scrubbing scripts and service files
@ -141,6 +142,7 @@ with ext2, ext3, and ext4 filesystems.
%if %{build_mini} %if %{build_mini}
%package -n libext2fs2-mini %package -n libext2fs2-mini
%else %else
%package -n libext2fs2 %package -n libext2fs2
%endif %endif
Summary: Ext2fs library Summary: Ext2fs library
@ -150,6 +152,7 @@ Group: System/Filesystems
%if %{build_mini} %if %{build_mini}
%description -n libext2fs2-mini %description -n libext2fs2-mini
%else %else
%description -n libext2fs2 %description -n libext2fs2
%endif %endif
The basic Ext2fs shared library. The basic Ext2fs shared library.
@ -157,6 +160,7 @@ The basic Ext2fs shared library.
%if %{build_mini} %if %{build_mini}
%package -n libext2fs-mini-devel %package -n libext2fs-mini-devel
%else %else
%package -n libext2fs-devel %package -n libext2fs-devel
%endif %endif
Summary: Development files for libext2fs Summary: Development files for libext2fs
@ -168,6 +172,7 @@ Requires: libext2fs2 = %version
%if %{build_mini} %if %{build_mini}
%description -n libext2fs-mini-devel %description -n libext2fs-mini-devel
%else %else
%description -n libext2fs-devel %description -n libext2fs-devel
%endif %endif
Development files for libext2fs. Development files for libext2fs.
@ -188,6 +193,7 @@ Development files for libext2fs. Static libraries.
%if %{build_mini} %if %{build_mini}
%package -n libcom_err2-mini %package -n libcom_err2-mini
%else %else
%package -n libcom_err2 %package -n libcom_err2
%endif %endif
Summary: E2fsprogs error reporting library Summary: E2fsprogs error reporting library
@ -205,6 +211,7 @@ Obsoletes: libcom_err <= 1.40
%if %{build_mini} %if %{build_mini}
%description -n libcom_err2-mini %description -n libcom_err2-mini
%else %else
%description -n libcom_err2 %description -n libcom_err2
%endif %endif
com_err is an error message display library. com_err is an error message display library.
@ -212,6 +219,7 @@ com_err is an error message display library.
%if %{build_mini} %if %{build_mini}
%package -n libcom_err-mini-devel %package -n libcom_err-mini-devel
%else %else
%package -n libcom_err-devel %package -n libcom_err-devel
%endif %endif
Summary: Development files for libcom_err Summary: Development files for libcom_err
@ -228,6 +236,7 @@ Requires: libcom_err2 = %version
%if %{build_mini} %if %{build_mini}
%description -n libcom_err-mini-devel %description -n libcom_err-mini-devel
%else %else
%description -n libcom_err-devel %description -n libcom_err-devel
%endif %endif
Development files for the com_err error message display library. Development files for the com_err error message display library.
@ -321,6 +330,7 @@ done
%if %{build_mini} %if %{build_mini}
%pre -n e2fsprogs-scrub-mini %pre -n e2fsprogs-scrub-mini
%else %else
%pre -n e2fsprogs-scrub %pre -n e2fsprogs-scrub
%endif %endif
%service_add_pre e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service %service_add_pre e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
@ -339,6 +349,7 @@ done
%if %{build_mini} %if %{build_mini}
%post -n e2fsprogs-scrub-mini %post -n e2fsprogs-scrub-mini
%else %else
%post -n e2fsprogs-scrub %post -n e2fsprogs-scrub
%endif %endif
%service_add_post e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service %service_add_post e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
@ -348,10 +359,11 @@ done
%if %{build_mini} %if %{build_mini}
%preun -n e2fsprogs-scrub-mini %preun -n e2fsprogs-scrub-mini
%else %else
%preun
%if 0%{?suse_version} <= 1530 %if 0%{?suse_version} <= 1530
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/libext2fs.info.gz
%endif %endif
%preun -n e2fsprogs-scrub %preun -n e2fsprogs-scrub
%endif %endif
%service_del_preun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service %service_del_preun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
@ -367,6 +379,7 @@ done
%if %{build_mini} %if %{build_mini}
%postun -n e2fsprogs-scrub-mini %postun -n e2fsprogs-scrub-mini
%else %else
%postun -n e2fsprogs-scrub %postun -n e2fsprogs-scrub
%endif %endif
%service_del_postun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service %service_del_postun e2scrub@.service e2scrub_all.service e2scrub_all.timer e2scrub_fail@.service e2scrub_reap.service
@ -445,7 +458,7 @@ done
%{_sbindir}/resize2fs %{_sbindir}/resize2fs
%{_sbindir}/tune2fs %{_sbindir}/tune2fs
%{_sbindir}/e2image %{_sbindir}/e2image
%{_sbindir}/logsave %{_sbindir}/logsave
%{_bindir}/chattr %{_bindir}/chattr
%{_bindir}/lsattr %{_bindir}/lsattr
%{_sbindir}/mklost+found %{_sbindir}/mklost+found
@ -470,6 +483,7 @@ done
%if %{build_mini} %if %{build_mini}
%files -n e2fsprogs-scrub-mini %files -n e2fsprogs-scrub-mini
%else %else
%files -n e2fsprogs-scrub %files -n e2fsprogs-scrub
%endif %endif
%defattr(-,root,root) %defattr(-,root,root)
@ -489,6 +503,7 @@ done
%if %{build_mini} %if %{build_mini}
%files -n libext2fs2-mini %files -n libext2fs2-mini
%else %else
%files -n libext2fs2 %files -n libext2fs2
%endif %endif
%defattr(-, root, root) %defattr(-, root, root)
@ -502,6 +517,7 @@ done
%if %{build_mini} %if %{build_mini}
%files -n libext2fs-mini-devel %files -n libext2fs-mini-devel
%else %else
%files -n libext2fs-devel %files -n libext2fs-devel
%endif %endif
%defattr(-, root, root) %defattr(-, root, root)
@ -515,6 +531,7 @@ done
%if %{build_mini} %if %{build_mini}
%files -n libcom_err2-mini %files -n libcom_err2-mini
%else %else
%files -n libcom_err2 %files -n libcom_err2
%endif %endif
%defattr(-, root, root) %defattr(-, root, root)
@ -528,6 +545,7 @@ done
%if %{build_mini} %if %{build_mini}
%files -n libcom_err-mini-devel %files -n libcom_err-mini-devel
%else %else
%files -n libcom_err-devel %files -n libcom_err-devel
%endif %endif
%defattr(-, root, root) %defattr(-, root, root)