- Add relevant %post{,un} sections

- Add another rpmlint filter
- Add uk man dirs

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=507
This commit is contained in:
Charles Arnold 2022-05-26 02:57:06 +00:00 committed by Git OBS Bridge
parent 4857e9df9e
commit 7f44058175
2 changed files with 20 additions and 3 deletions

View File

@ -7,6 +7,13 @@ Mon Apr 18 15:35:53 MDT 2022 - carnold@suse.com
* Drop requirement for newer ocaml required by Bytes.get_uint8. * Drop requirement for newer ocaml required by Bytes.get_uint8.
It is replaced with a local implementation. It is replaced with a local implementation.
-------------------------------------------------------------------
Wed Apr 13 22:37:33 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
- Add relevant %post{,un} sections
- Add another rpmlint filter
- Add uk man dirs
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 13 20:48:37 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net> Wed Apr 13 20:48:37 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -88,6 +88,8 @@ schemes, qcow, qcow2, vmdk.
%prep %prep
%autosetup -p1 %autosetup -p1
sed -i 's|RPMVSF_MASK_NOSIGNATURES|_RPMVSF_NOSIGNATURES|' daemon/rpm-c.c
%build %build
%define _lto_cflags %{nil} %define _lto_cflags %{nil}
@ -549,6 +551,13 @@ Requires: %{name} = %{version}-%{release}
%{name}-man-pages-uk contains Ukrainian (uk) man pages %{name}-man-pages-uk contains Ukrainian (uk) man pages
for %{name}. for %{name}.
%post -n %{name} -p /sbin/ldconfig
%postun -n %{name} -p /sbin/ldconfig
%post -n libguestfs0 -p /sbin/ldconfig
%postun -n libguestfs0 -p /sbin/ldconfig
%post -n %{name}-gobject -p /sbin/ldconfig
%postun -n %{name}-gobject -p /sbin/ldconfig
%files -f %{name}.lang %files -f %{name}.lang
%license README COPYING %license README COPYING
%{_bindir}/guestfish %{_bindir}/guestfish
@ -704,11 +713,12 @@ for %{name}.
%lang(ja) %{_mandir}/ja/man5/*.5* %lang(ja) %{_mandir}/ja/man5/*.5*
%files man-pages-uk %files man-pages-uk
%if 0%{?suse_version} <= 1500
%dir %{_mandir}/uk
%dir %{_mandir}/uk/man{1,3,5}
%endif
%lang(uk) %{_mandir}/uk/man1/*.1* %lang(uk) %{_mandir}/uk/man1/*.1*
%lang(uk) %{_mandir}/uk/man3/*.3* %lang(uk) %{_mandir}/uk/man3/*.3*
%lang(uk) %{_mandir}/uk/man5/*.5* %lang(uk) %{_mandir}/uk/man5/*.5*
%post -n libguestfs0 -p /sbin/ldconfig
%postun -n libguestfs0 -p /sbin/ldconfig
%changelog %changelog