Hello community, here is the log from the commit of package 0ad for openSUSE:Leap:15.2 checked in at 2020-05-01 20:24:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/0ad (Old) and /work/SRC/openSUSE:Leap:15.2/.0ad.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "0ad" Fri May 1 20:24:08 2020 rev:14 rq:796000 version:0.0.23b Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/0ad/0ad.changes 2020-01-15 14:44:00.229145361 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.0ad.new.2738/0ad.changes 2020-05-01 20:24:11.866891645 +0200 @@ -1,0 +2,36 @@ +Fri Dec 20 10:14:09 UTC 2019 - Dominique Leuenberger <[email protected]> + +- Disable LTO on i586. + +------------------------------------------------------------------- +Mon May 20 12:12:08 UTC 2019 - Guillaume GARDET <[email protected]> + +- Add _constraints to avoid build failures due to OOM + +------------------------------------------------------------------- +Tue Apr 9 20:22:42 UTC 2019 - Stefan BrĂ¼ns <[email protected]> + +- Spec file cleanup: + * Use https for Url and Source tags + * Remove defattr + * Remove __DATE__ mangling, handled by GCC + SOURCE_DATE_EPOCH + * Remove support for Leap 42.x, unresolvable anyway + +------------------------------------------------------------------- +Tue Dec 25 12:18:12 UTC 2018 - Michael Vetter <[email protected]> + +- Update to 0.0.23b: + See https://play0ad.com/re-release-of-0-a-d-alpha-23-ken-wood/ + +------------------------------------------------------------------- +Fri May 18 09:03:04 UTC 2018 - [email protected] + +- Update to 0.0.23: + See https://play0ad.com/new-release-0-a-d-alpha-23-ken-wood/ +- Remove fix_abs_of_unsigned_char_on_arm.patch: upstreamed +- Remove system-tinygettext.patch: + Upstream thinks this might lead to problems + See https://trac.wildfiregames.com/ticket/4192 +- Add BuildReq libsodium and remove tinygettext to use shipped one + +------------------------------------------------------------------- Old: ---- 0ad-0.0.22-alpha-unix-build.tar.xz fix_abs_of_unsigned_char_on_arm.patch system-tinygettext.patch New: ---- 0ad-0.0.23b-alpha-unix-build.tar.xz _constraints ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ 0ad.spec ++++++ --- /var/tmp/diff_new_pack.YvPUs4/_old 2020-05-01 20:24:12.710893475 +0200 +++ /var/tmp/diff_new_pack.YvPUs4/_new 2020-05-01 20:24:12.710893475 +0200 @@ -1,7 +1,7 @@ # # spec file for package 0ad # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,27 +24,20 @@ %endif Name: 0ad -Version: 0.0.22 +Version: 0.0.23b Release: 0 Summary: A real-time strategy game of ancient warfare -License: GPL-2.0+ and LGPL-3.0+ and CC-BY-SA-3.0 and MIT and ISC and MPL-2.0 and BSD-3-Clause +License: GPL-2.0-or-later AND LGPL-3.0-or-later AND CC-BY-SA-3.0 AND MIT AND ISC AND MPL-2.0 AND BSD-3-Clause Group: Amusements/Games/Strategy/Real Time -Url: http://play0ad.com/ -Source: http://sourceforge.net/projects/zero-ad/files/releases/%{name}-%{version}-alpha-unix-build.tar.xz -Source99: %{name}.changes -# PATCH-FEATURE-UPSTREAM system-tinygettext.patch -- http://trac.wildfiregames.com/ticket/4192 -Patch1: system-tinygettext.patch -# PATCH-FIX-UPSTREAM fix_abs_of_unsigned_char_on_arm.patch -Patch2: https://github.com/0ad/0ad/commit/0133d6070bf4c4b2c18c79bf72b53af23403a36d.patch#/fix_abs_of_unsigned_char_on_arm.patch +URL: https://play0ad.com/ +#Source: http://sourceforge.net/projects/zero-ad/files/releases/%{name}-%{version}-alpha-unix-build.tar.xz +# SF is repeatedly not up to date. Let's use their site +Source: https://releases.wildfiregames.com/%{name}-%{version}-alpha-unix-build.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libXcursor-devel -%if 0%{?suse_version} >= 1330 BuildRequires: libboost_filesystem-devel BuildRequires: libboost_system-devel -%else -BuildRequires: boost-devel -%endif BuildRequires: libjpeg-devel BuildRequires: libminiupnpc-devel BuildRequires: libpng-devel @@ -61,11 +54,11 @@ BuildRequires: pkgconfig(icu-i18n) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libenet) +BuildRequires: pkgconfig(libsodium) >= 1.0.13 BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(mozjs-38) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(sdl2) -BuildRequires: pkgconfig(tinygettext) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(zlib) Requires: 0ad-data = %{version} @@ -80,18 +73,11 @@ %prep %setup -q -n %{name}-%{version}-alpha -%patch1 -p1 -# Do not patch files not part of the distributed source -sed -i -e 's@[-+]\{3\}.*/binaries/@#\0@; s@diff .*/binaries/@#\0@' %{PATCH2} -%patch2 -p1 - -# Fix usage of __DATE__ and __TIME__ macros -modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{SOURCE99}")" -DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" -TIME="\"$(date -d "${modified}" "+%%T")\"" -find . "(" -name '*.[ch]' -o -name '*.cpp' ")" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" \{\} + %build +%ifarch %ix86 +%define _lto_cflags %{nil} +%endif export CFLAGS="%{optflags}" # bundled Collada uses CCFLAGS export CCFLAGS="%{optflags}" @@ -106,7 +92,6 @@ %else --without-nvtt \ %endif - --with-system-tinygettext \ --with-system-mozjs38 \ pushd build/workspaces/gcc @@ -131,7 +116,6 @@ mkdir -p %{buildroot}%{_datadir}/%{name} %files -%defattr(-,root,root) %doc README.txt %license LICENSE.txt license_gpl-2.0.txt license_lgpl-2.1.txt license_mit.txt %{_bindir}/0ad ++++++ 0ad-0.0.22-alpha-unix-build.tar.xz -> 0ad-0.0.23b-alpha-unix-build.tar.xz ++++++ /work/SRC/openSUSE:Leap:15.2/0ad/0ad-0.0.22-alpha-unix-build.tar.xz /work/SRC/openSUSE:Leap:15.2/.0ad.new.2738/0ad-0.0.23b-alpha-unix-build.tar.xz differ: char 26, line 1 ++++++ _constraints ++++++ <?xml version="1.0" encoding="UTF-8"?> <constraints> <hardware> <disk> <size unit="G">6</size> </disk> <memory> <size unit="M">3500</size> </memory> </hardware> </constraints>
