Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package 0ad for openSUSE:Leap:16.0 checked in at 2025-07-02 23:13:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:16.0/0ad (Old) and /work/SRC/openSUSE:Leap:16.0/.0ad.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "0ad" Wed Jul 2 23:13:54 2025 rev:2 rq:1290051 version:0.27.0 Changes: -------- --- /work/SRC/openSUSE:Leap:16.0/0ad/0ad.changes 2025-07-02 13:41:21.975787970 +0200 +++ /work/SRC/openSUSE:Leap:16.0/.0ad.new.7067/0ad.changes 2025-07-02 23:13:54.837798671 +0200 @@ -1,0 +2,16 @@ +Thu May 8 21:02:10 UTC 2025 - Aaron Puchert <aaronpuch...@alice-dsl.net> + +- Only build on architectures supported by bundled premake, and add + check to ensure we revisit that list when more architectures + get supported (boo#1242266). + +------------------------------------------------------------------- +Sat Apr 26 12:06:05 UTC 2025 - Aaron Puchert <aaronpuch...@alice-dsl.net> + +- Remove several evidently unused dependencies: libjpeg-devel, + pkgconfig(IL), pkgconfig(gnutls), pkgconfig(libidn), and m4. + Some of them seem to be added by the build system, so we have to + remove them the hard way. +- Don't build on s390x: not relevant and doesn't build. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ 0ad.spec ++++++ --- /var/tmp/diff_new_pack.6Fp7an/_old 2025-07-02 23:13:55.521827417 +0200 +++ /var/tmp/diff_new_pack.6Fp7an/_new 2025-07-02 23:13:55.525827584 +0200 @@ -49,21 +49,17 @@ BuildRequires: libXcursor-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_system-devel -BuildRequires: libjpeg-devel BuildRequires: libminiupnpc-devel BuildRequires: libpng-devel BuildRequires: pkgconfig BuildRequires: python3-curses BuildRequires: update-desktop-files BuildRequires: wxWidgets-devel -BuildRequires: pkgconfig(IL) BuildRequires: pkgconfig(fmt) BuildRequires: pkgconfig(gloox) -BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libenet) -BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libsodium) >= 1.0.13 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(openal) @@ -72,7 +68,6 @@ BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(zlib) Requires: 0ad-data = %{version} -BuildRequires: m4 %if %{with nvtt} && %{with system_nvtt} BuildRequires: nvidia-texture-tools >= 2.1 %endif @@ -83,6 +78,7 @@ BuildRequires: cargo BuildRequires: rust %endif +ExclusiveArch: aarch64 %{arm} %{ix86} loongarch64 riscv64 x86_64 %description 0 A.D. (pronounced "zero ey-dee") is a real-time strategy (RTS) game @@ -111,6 +107,19 @@ libraries/source/cxxtest-4.4/build.sh JOBS="%{?_smp_mflags}" libraries/source/fcollada/build.sh JOBS="%{?_smp_mflags}" libraries/source/premake-core/build.sh + +# Compare list of supported architectures against known list. If this changes, revise ExclusiveArch. +grep "#define PLATFORM_ARCHITECTURE" libraries/source/premake-core/premake-core-*/src/host/premake.h >arch.list +diff arch.list - <<END +#define PLATFORM_ARCHITECTURE "x86_64" +#define PLATFORM_ARCHITECTURE "x86" +#define PLATFORM_ARCHITECTURE "ARM64" +#define PLATFORM_ARCHITECTURE "ARM" +#define PLATFORM_ARCHITECTURE "RISCV64" +#define PLATFORM_ARCHITECTURE "loongarch64" +#define PLATFORM_ARCHITECTURE "e2k" +END + build/workspaces/update-workspaces.sh \ %{?_smp_mflags} \ --bindir=%{_bindir} \ @@ -131,6 +140,10 @@ %endif pushd build/workspaces/gcc +# Not sure where those dependencies are coming from. We don't seem to need them. +grep " -lidn -lgnutls" pyrogenesis.make && \ + sed -i "s/ -lidn -lgnutls//g" pyrogenesis.make + %make_build verbose=1 popd