diff --git a/yascreen.changes b/yascreen.changes index ddcc819..0c4c317 100644 --- a/yascreen.changes +++ b/yascreen.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 21 17:03:35 UTC 2024 - Dirk Müller + +- fix build for non-SUSE distros + ------------------------------------------------------------------- Sun Nov 12 09:45:25 UTC 2023 - Dirk Müller diff --git a/yascreen.spec b/yascreen.spec index 1df7f25..6259d35 100644 --- a/yascreen.spec +++ b/yascreen.spec @@ -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