Skip to main content
ALT Linux Bugzilla
– Attachment 21974 Details for
Bug 42121
[FR] явная ошибка при %ifarch в noarch-пакете
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
забавный пример
xorg-docs-1.7.2-alt1.1.diff (text/plain), 1.37 KB, created by
Michael Shigorin
on 2026-08-03 13:27:23 MSK
(
hide
)
Description:
забавный пример
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2026-08-03 13:27:23 MSK
Size:
1.37 KB
patch
obsolete
>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 <mike@altlinux.org> 1:1.7.2-alt2 >+- Fix build on newer arches >+ > * Wed Jun 15 2022 Fr. Br. George <george@altlinux.org> 1:1.7.2-alt1 > - Autobuild version bump to 1.7.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42121
: 21974