Hello community, here is the log from the commit of package 0ad for openSUSE:Factory checked in at 2019-04-14 12:23:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/0ad (Old) and /work/SRC/openSUSE:Factory/.0ad.new.27019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "0ad" Sun Apr 14 12:23:08 2019 rev:9 rq:693727 version:0.0.23b Changes: -------- --- /work/SRC/openSUSE:Factory/0ad/0ad.changes 2018-12-28 12:35:20.699962512 +0100 +++ /work/SRC/openSUSE:Factory/.0ad.new.27019/0ad.changes 2019-04-14 12:23:09.135813672 +0200 @@ -1,0 +2,9 @@ +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 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ 0ad.spec ++++++ --- /var/tmp/diff_new_pack.u0MsCH/_old 2019-04-14 12:23:10.067814789 +0200 +++ /var/tmp/diff_new_pack.u0MsCH/_new 2019-04-14 12:23:10.071814794 +0200 @@ -1,7 +1,7 @@ # # spec file for package 0ad # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,20 +29,15 @@ Summary: A real-time strategy game of ancient warfare 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/ +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: http://releases.wildfiregames.com/%{name}-%{version}-alpha-unix-build.tar.xz -Source99: %{name}.changes +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 @@ -79,12 +74,6 @@ %prep %setup -q -n %{name}-%{version}-alpha -# 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 export CFLAGS="%{optflags}" # bundled Collada uses CCFLAGS @@ -124,7 +113,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
