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:
commit
06b05b1794
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user