SHA256
1
0
forked from pool/0ad

Accepting request 945656 from home:simonpuchert:branches:games

- Get rid of Python 2 dependency.
- Disable tests. These require Python 2 to work, but also aren't
  executed or packaged anyway.
- Remove duplicate listing of %{_libdir}/%{name}.

OBS-URL: https://build.opensuse.org/request/show/945656
OBS-URL: https://build.opensuse.org/package/show/games/0ad?expand=0&rev=113
This commit is contained in:
Ferdinand Thiessen 2022-01-13 19:24:12 +00:00 committed by Git OBS Bridge
parent 8b8674daba
commit cb4ba984c5
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jan 11 19:34:38 UTC 2022 - Simon Puchert <simonpuchert@alice.de>
- Get rid of Python 2 dependency.
- Disable tests. These require Python 2 to work, but also aren't
executed or packaged anyway.
- Remove duplicate listing of %{_libdir}/%{name}.
-------------------------------------------------------------------
Fri Jan 7 18:34:02 UTC 2022 - Simon Puchert <simonpuchert@alice.de>

View File

@ -53,7 +53,6 @@ BuildRequires: libjpeg-devel
BuildRequires: libminiupnpc-devel
BuildRequires: libpng-devel
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: update-desktop-files
BuildRequires: wxWidgets-3_0-nostl-devel
BuildRequires: pkgconfig(IL)
@ -109,6 +108,7 @@ build/workspaces/update-workspaces.sh \
--bindir=%{_bindir} \
--datadir=%{_datadir}/%{name} \
--libdir=%{_libdir}/%{name} \
--without-tests \
%if %{with nvtt}
%if %{with system_nvtt}
--with-system-nvtt \
@ -157,7 +157,6 @@ install -Dm 0644 build/resources/0ad.png %{buildroot}%{_datadir}/pixmaps/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%dir %{_libdir}/%{name}
%dir %{_datadir}/%{name}
%changelog