!5 modify spec and rename patch

Merge pull request !5 from 严志华/master
This commit is contained in:
openeuler-ci-bot 2020-02-07 09:59:21 +08:00 committed by Gitee
commit 1b18ee119c
2 changed files with 20 additions and 4 deletions

View File

@ -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 <yanzhihua4@huawei.com> - 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 <buildteam@openeuler.org> - 12.10.0-24
- Type:enhancement
- Id:NA