Accepting request 1144490 from GNOME:STABLE:45

- Choose higher gcc version to build on SLE and Leap 15.
- Update the name of libpanel-1-1 to be compliant with:
  https://en.opensuse.org/openSUSE:Shared_library_packaging_policy

OBS-URL: https://build.opensuse.org/request/show/1144490
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpanel?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2024-02-06 11:54:15 +00:00 committed by Git OBS Bridge
parent 8b05404a37
commit 3407fd6243
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 5 08:44:07 UTC 2024 - Yifan Jiang <yfjiang@suse.com>
- Choose higher gcc version to build on SLE and Leap 15.
- Update the name of libpanel-1-1 to be compliant with:
https://en.opensuse.org/openSUSE:Shared_library_packaging_policy
-------------------------------------------------------------------
Sun Sep 17 01:24:14 UTC 2023 - Luciano Santos <luc14n0@opensuse.org>

View File

@ -16,7 +16,7 @@
#
%define libname %{name}1-1
%define libname %{name}-1-1
Name: libpanel
Version: 1.4.0
@ -26,6 +26,10 @@ License: LGPL-3.0-or-later
URL: https://gitlab.gnome.org/GNOME/libpanel
Source: https://download.gnome.org/sources/%{name}/1.4/%{name}-%{version}.tar.xz
%if 0%{?sle_version} && 0%{?sle_version} < 160000
BuildRequires: gcc13
BuildRequires: gcc13-c++
%endif
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0)
@ -41,6 +45,8 @@ GNOME using GTK and libadwaita.
%package -n %{libname}
Summary: Shared library files for %{name}
Provides: %{name} = %{version}
Provides: %{name}1-1
Obsoletes: %{name}1-1
%description -n %{libname}
The %{libname} package contains shared libraries %{name}.
@ -66,6 +72,9 @@ developing applications that use %{name}.
%autosetup -p1
%build
%if 0%{?sle_version} && 0%{?sle_version} < 160000
export CC=gcc-13
%endif
%meson \
-D docs=disabled \
%{nil}