From 5ad6f3a395f97663a3690441cd44c58fc477a8321f65764b3245445a68c3c87e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 17 Nov 2023 15:47:03 +0000 Subject: [PATCH] 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 --- libportal.changes | 7 +++++++ libportal.spec | 12 +++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/libportal.changes b/libportal.changes index 989c1d7..3411b52 100644 --- a/libportal.changes +++ b/libportal.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 15 06:43:09 UTC 2023 - Yifan Jiang + +- 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 diff --git a/libportal.spec b/libportal.spec index 454a1fe..7652d02 100644 --- a/libportal.spec +++ b/libportal.spec @@ -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}*