diff --git a/xorg-docs.spec b/xorg-docs.spec index 28538e7..56202be 100644 --- a/xorg-docs.spec +++ b/xorg-docs.spec @@ -8,7 +8,7 @@ Name: xorg-docs Version: 1.7.2 -Release: alt1 +Release: alt2 Serial: 1 Summary: Documentation on various X11 programming interfaces License: MIT/X11 @@ -20,7 +20,10 @@ Source: %name-%version.tar.bz2 Provides: %xf86-doc = 4.4 xorg-x11-doc = %xorgver Obsoletes: %xf86-doc xorg-x11-doc +# cf. ALT#42121 +%ifnarch %e2k BuildArch: noarch +%endif BuildRequires: docbook-utils docbook-utils-print xorg-sgml-doctools xorg-util-macros @@ -33,12 +36,18 @@ the font server API, etc. %prep %setup +cp -aLt . -- /usr/share/automake/config.{guess,sub} %build +#if [ "$(cc -v | head -1 | cut -c-5)" = "lcc:1" ]; then +%ifarch %e2k +%add_optflags -D__INTEL_COMPILER +%endif +#fi +echo "CFLAGS=$CFLAGS" +echo "optflags=%optflags" %autoreconf %configure \ - --build=%_arch-alt-linux \ - --host=%_arch-alt-linux \ --enable-man \ %{subst_enable pdf} \ %{subst_enable txt} \ @@ -48,13 +57,16 @@ the font server API, etc. %make %install -%make DESTDIR=%buildroot install +%makeinstall_std %files %doc %_docdir/%name %_man7dir/* %changelog +* Sat Nov 16 2024 Michael Shigorin 1:1.7.2-alt2 +- Fix build on newer arches + * Wed Jun 15 2022 Fr. Br. George 1:1.7.2-alt1 - Autobuild version bump to 1.7.2