Accepting request 938977 from home:yfjiang:branches:GNOME:Factory

- Disable monodoc on ppc64, ppc64le and s390x, because the mdoc.exe
  is completely not shipped with monocore-doc on them (bsc#1192212).

OBS-URL: https://build.opensuse.org/request/show/938977
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=193
This commit is contained in:
Bjørn Lie 2021-12-10 18:50:48 +00:00 committed by Git OBS Bridge
parent d3ac09efaa
commit 198a2ed409
5 changed files with 37 additions and 0 deletions

View File

@ -67,6 +67,7 @@ Source12: https://raw.githubusercontent.com/lathiat/avahi/master/service-t
Source100: attributes
Source101: update_spec.pl
Source102: baselibs.conf
Source103: avahi-rpmlintrc
# PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
Patch0: avahi-gacdir.patch
# PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 Avahi#365 -- sbrabec@suse.cz
@ -591,6 +592,9 @@ export PYTHON=%{_bindir}/$python
--enable-qt5\
%else
--disable-qt5\
%endif
%ifarch ppc64 ppc64le s390x
--disable-monodoc\
%endif
--with-avahi-priv-access-group=avahi\
--with-autoipd-user=avahi-autoipd\
@ -714,12 +718,14 @@ rmdir %{buildroot}/%{_datadir}/avahi/interfaces
rmdir %{buildroot}/%{_datadir}/avahi
%else
%if %{build_mono}
%ifnarch ppc64 ppc64le s390x
%if 0%{?suse_version} >= 1330
strip-nondeterminism %{buildroot}/%{_prefix}/lib/monodoc/sources/*.zip
%endif
%endif
%endif
%endif
%endif
%if %{build_glib2}
%suse_update_desktop_file avahi-discover
%suse_update_desktop_file bvnc
@ -993,7 +999,9 @@ find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown avahi-autoipd:a
%defattr(-,root,root)
%{_libdir}/pkgconfig/avahi-sharp.pc
%{_libdir}/pkgconfig/avahi-ui-sharp.pc
%ifnarch ppc64 ppc64le s390x
%{_prefix}/lib/monodoc/sources/*.*
%endif
%{_prefix}/lib/mono/avahi-sharp
%{_prefix}/lib/mono/gac/avahi-sharp
%endif

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 8 02:57:51 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
- Disable monodoc on ppc64, ppc64le and s390x, because the mdoc.exe
is completely not shipped with monocore-doc on them (bsc#1192212).
-------------------------------------------------------------------
Mon Oct 25 13:20:49 UTC 2021 - Yifan Jiang <yfjiang@suse.com>

View File

@ -67,6 +67,7 @@ Source12: https://raw.githubusercontent.com/lathiat/avahi/master/service-t
Source100: attributes
Source101: update_spec.pl
Source102: baselibs.conf
Source103: avahi-rpmlintrc
# PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
Patch0: avahi-gacdir.patch
# PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 Avahi#365 -- sbrabec@suse.cz
@ -590,6 +591,9 @@ export PYTHON=%{_bindir}/$python
--enable-qt5\
%else
--disable-qt5\
%endif
%ifarch ppc64 ppc64le s390x
--disable-monodoc\
%endif
--with-avahi-priv-access-group=avahi\
--with-autoipd-user=avahi-autoipd\
@ -713,12 +717,14 @@ rmdir %{buildroot}/%{_datadir}/avahi/interfaces
rmdir %{buildroot}/%{_datadir}/avahi
%else
%if %{build_mono}
%ifnarch ppc64 ppc64le s390x
%if 0%{?suse_version} >= 1330
strip-nondeterminism %{buildroot}/%{_prefix}/lib/monodoc/sources/*.zip
%endif
%endif
%endif
%endif
%endif
%if %{build_glib2}
%suse_update_desktop_file avahi-discover
%suse_update_desktop_file bvnc
@ -992,7 +998,9 @@ find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown avahi-autoipd:a
%defattr(-,root,root)
%{_libdir}/pkgconfig/avahi-sharp.pc
%{_libdir}/pkgconfig/avahi-ui-sharp.pc
%ifnarch ppc64 ppc64le s390x
%{_prefix}/lib/monodoc/sources/*.*
%endif
%{_prefix}/lib/mono/avahi-sharp
%{_prefix}/lib/mono/gac/avahi-sharp
%endif

View File

@ -67,6 +67,7 @@ Source12: https://raw.githubusercontent.com/lathiat/avahi/master/service-t
Source100: attributes
Source101: update_spec.pl
Source102: baselibs.conf
Source103: avahi-rpmlintrc
# PATCH-FIX-OPENSUSE avahi-gacdir.patch -- Mono libs are in $prefix/lib on suse
Patch0: avahi-gacdir.patch
# PATCH-FIX-UPSTREAM avahi-desktop.patch bnc254654 Avahi#365 -- sbrabec@suse.cz
@ -591,6 +592,9 @@ export PYTHON=%{_bindir}/$python
--enable-qt5\
%else
--disable-qt5\
%endif
%ifarch ppc64 ppc64le s390x
--disable-monodoc\
%endif
--with-avahi-priv-access-group=avahi\
--with-autoipd-user=avahi-autoipd\
@ -714,12 +718,14 @@ rmdir %{buildroot}/%{_datadir}/avahi/interfaces
rmdir %{buildroot}/%{_datadir}/avahi
%else
%if %{build_mono}
%ifnarch ppc64 ppc64le s390x
%if 0%{?suse_version} >= 1330
strip-nondeterminism %{buildroot}/%{_prefix}/lib/monodoc/sources/*.zip
%endif
%endif
%endif
%endif
%endif
%if %{build_glib2}
%suse_update_desktop_file avahi-discover
%suse_update_desktop_file bvnc
@ -993,7 +999,9 @@ find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown avahi-autoipd:a
%defattr(-,root,root)
%{_libdir}/pkgconfig/avahi-sharp.pc
%{_libdir}/pkgconfig/avahi-ui-sharp.pc
%ifnarch ppc64 ppc64le s390x
%{_prefix}/lib/monodoc/sources/*.*
%endif
%{_prefix}/lib/mono/avahi-sharp
%{_prefix}/lib/mono/gac/avahi-sharp
%endif

View File

@ -587,6 +587,9 @@ export PYTHON=%{_bindir}/$python
--enable-qt5\
%else
--disable-qt5\
%endif
%ifarch ppc64 ppc64le s390x
--disable-monodoc\
%endif
--with-avahi-priv-access-group=avahi\
--with-autoipd-user=avahi-autoipd\
@ -710,12 +713,14 @@ rmdir %{buildroot}/%{_datadir}/avahi/interfaces
rmdir %{buildroot}/%{_datadir}/avahi
%else
%if %{build_mono}
%ifnarch ppc64 ppc64le s390x
%if 0%{?suse_version} >= 1330
strip-nondeterminism %{buildroot}/%{_prefix}/lib/monodoc/sources/*.zip
%endif
%endif
%endif
%endif
%endif
%if %{build_glib2}
%suse_update_desktop_file avahi-discover
%suse_update_desktop_file bvnc
@ -989,7 +994,9 @@ find %{_localstatedir}/lib/avahi-autoipd -user avahi -exec chown avahi-autoipd:a
%defattr(-,root,root)
%{_libdir}/pkgconfig/avahi-sharp.pc
%{_libdir}/pkgconfig/avahi-ui-sharp.pc
%ifnarch ppc64 ppc64le s390x
%{_prefix}/lib/monodoc/sources/*.*
%endif
%{_prefix}/lib/mono/avahi-sharp
%{_prefix}/lib/mono/gac/avahi-sharp
%endif