From e646695d33cb46e5101eda8f8979809d79fd755e9f11a77940290666ffa1a40d Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Wed, 30 May 2018 21:56:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/network:pidgin/pidgin?expand=0&rev=31 --- pidgin.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pidgin.spec b/pidgin.spec index 7a788d4..6a94ada 100644 --- a/pidgin.spec +++ b/pidgin.spec @@ -148,7 +148,7 @@ Summary: GLib-based Instant Messenger Library -- Upstream default configu Group: System/Libraries Requires: libpurple = %{version} Supplements: packageand(libpurple:branding-upstream) -Conflicts: libpurple-branding +Conflicts: otherproviders(libpurple-branding) Provides: libpurple-branding = %{version} BuildArch: noarch #BRAND: Provides /etc/purple/prefs.xml, the default configuration for @@ -288,6 +288,14 @@ find %{buildroot} -type f -name "*.la" -delete -print %suse_update_desktop_file -N %{_name} -G "Instant Messenger" %{name} %find_lang %{name} %{?no_lang_C} +%post -n libpurple -p /sbin/ldconfig + +%postun -n libpurple -p /sbin/ldconfig + +%post -n finch -p /sbin/ldconfig + +%postun -n finch -p /sbin/ldconfig + %if 0%{?suse_version} < 1500 %post %desktop_database_post @@ -298,14 +306,9 @@ find %{buildroot} -type f -name "*.la" -delete -print %icon_theme_cache_postun %endif -%post -n libpurple -p /sbin/ldconfig -%postun -n libpurple -p /sbin/ldconfig -%post -n finch -p /sbin/ldconfig -%postun -n finch -p /sbin/ldconfig - %files %if 0%{?suse_version} >= 1500 -%license COPYING +%doc COPYING %else %license COPYING %endif