SHA256
1
0
forked from pool/libportal

Accepting request 1127340 from 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 (forwarded request 1126530 from yfjiang)

OBS-URL: https://build.opensuse.org/request/show/1127340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libportal?expand=0&rev=6
This commit is contained in:
Ana Guerrero 2023-11-19 19:14:05 +00:00 committed by Git OBS Bridge
commit 4bd2f536ba
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}*