diff --git a/no-Werror-deprecated.patch b/libappindicator-add-patch-to-modify-build-err.patch similarity index 100% rename from no-Werror-deprecated.patch rename to libappindicator-add-patch-to-modify-build-err.patch diff --git a/libappindicator.spec b/libappindicator.spec index 7c0a591..dc1aaf8 100644 --- a/libappindicator.spec +++ b/libappindicator.spec @@ -1,13 +1,13 @@ Name: libappindicator Version: 12.10.0 -Release: 24 +Release: 25 Summary: The library of application indicators License: LGPLv2 and LGPLv3 URL: https://launchpad.net/libappindicator Source0: https://launchpad.net/libappindicator/12.10/12.10.0/+download/libappindicator-12.10.0.tar.gz Patch0001: 0001_Fix_mono_dir.patch Patch0002: incompatible_pointer_build_fix.patch -Patch0003: no-Werror-deprecated.patch +Patch0003: libappindicator-add-patch-to-modify-build-err.patch BuildRequires: autoconf automake gtk-doc vala-tools dbus-glib-devel libdbusmenu-devel BuildRequires: libdbusmenu-gtk2-devel libdbusmenu-gtk3-devel gobject-introspection-devel BuildRequires: gtk2-devel gtk3-devel libindicator-devel libindicator-gtk3-devel @@ -81,8 +81,18 @@ pushd build-gtk3 make install DESTDIR=%{buildroot} popd find %{buildroot} -type f -name '*.la' -delete -%ldconfig_scriptlets -%ldconfig_scriptlets gtk3 + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%post gtk3 +/sbin/ldconfig + +%postun gtk3 +/sbin/ldconfig %files %doc AUTHORS README COPYING COPYING.LGPL.2.1 @@ -122,6 +132,12 @@ find %{buildroot} -type f -name '*.la' -delete %doc %{_datadir}/gtk-doc/html/libappindicator/ %changelog +* Fri Feb 07 2020 yanzhihua - 12.10.0-25 +- Type:enhancement +- Id:NA +- SUG:NA +- DESC:ldconfig_scriptlets does not exist so modify the use of ldconfig, and rename the patch + * Wed Jan 15 2020 openEuler Buildteam - 12.10.0-24 - Type:enhancement - Id:NA