Accepting request 1126530 from home:yfjiang:branches:GNOME:Factory

- Rename package name from libportal-1 to libportal1, this is
  necessary to conform to the shared library policy:
  https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Package_naming

OBS-URL: https://build.opensuse.org/request/show/1126530
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libportal?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2023-11-17 15:47:03 +00:00 committed by Git OBS Bridge
parent 2a24d56713
commit 5ad6f3a395
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 15 06:43:09 UTC 2023 - Yifan Jiang <yfjiang@suse.com>
- Rename package name from libportal-1 to libportal1, this is
necessary to conform to the shared library policy:
https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Package_naming
-------------------------------------------------------------------
Sun Sep 10 08:53:43 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -46,10 +46,12 @@ BuildRequires: pkgconfig(vapigen)
%description
A GIO-style async APIs for most Flatpak portals.
%package -n %{name}-%{sover}
%package -n %{name}%{sover}
Summary: Shared library for %{name}
Obsoletes: libportal-1
Provides: libportal-1
%description -n %{name}-%{sover}
%description -n %{name}%{sover}
A GIO-style async APIs for most Flatpak portals.
This package contains the shared library of %{name}.
@ -97,7 +99,7 @@ This package contains the introspection files of %{name}.
%package devel
Summary: A GIO-style async APIs for most Flatpak portals -- Development files
Requires: %{name}-%{sover} = %{version}
Requires: %{name}%{sover} = %{version}
Requires: typelib-1_0-Xdp-1_0 = %{version}
%description devel
@ -141,12 +143,12 @@ header files for developing applications that use %{name}.
%install
%meson_install
%ldconfig_scriptlets -n %{name}-%{sover}
%ldconfig_scriptlets -n %{name}%{sover}
%ldconfig_scriptlets -n %{name}-gtk3-%{sover}
%ldconfig_scriptlets -n %{name}-gtk4-%{sover}
%ldconfig_scriptlets -n %{name}-qt5-%{sover}
%files -n %{name}-%{sover}
%files -n %{name}%{sover}
%license COPYING
%{_libdir}/libportal.so.%{sover}*