SHA256
1
0
forked from pool/yascreen

Accepting request 1140324 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1140324
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yascreen?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2024-01-22 19:34:05 +00:00 committed by Git OBS Bridge
commit 06b05b1794
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Jan 21 17:03:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix build for non-SUSE distros
-------------------------------------------------------------------
Sun Nov 12 09:45:25 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package yascreen
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,7 +26,7 @@ URL: https://github.com/bbonev/yascreen/
Source: %{url}releases/download/v%{version}/yascreen-%{version}.tar.xz
Source2: %{url}releases/download/v%{version}/yascreen-%{version}.tar.xz.asc
Source3: https://raw.githubusercontent.com/bbonev/yascreen/v%{version}/debian/upstream/signing-key.asc#/%{name}.keyring
%if %{?suse_version} < 1599
%if 0%{?suse_version} && %{?suse_version} < 1599
BuildRequires: gcc12
%endif
@ -63,7 +63,7 @@ compile applications or shared objects that use yascreen.
%build
export CFLAGS="%{optflags}"
%if %{?suse_version} < 1599
%if 0%{?suse_version} && %{?suse_version} < 1599
export CC=gcc-12
%endif
%make_build