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