!17 [sync] PR-16: fix libgpg-error-devel install-info warning

From: @openeuler-sync-bot
Reviewed-by: @overweight
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2021-10-08 07:43:37 +00:00 committed by Gitee
commit 225ff2da5b

View File

@ -1,6 +1,6 @@
Name: libgpg-error Name: libgpg-error
Version: 1.41 Version: 1.41
Release: 1 Release: 2
Summary: Library for common error values and messages in GnuPG components. Summary: Library for common error values and messages in GnuPG components.
License: LGPLv2+ License: LGPLv2+
URL: https://www.gnupg.org/ftp/gcrypt/libgpg-error URL: https://www.gnupg.org/ftp/gcrypt/libgpg-error
@ -49,16 +49,6 @@ make check
%ldconfig_scriptlets %ldconfig_scriptlets
%post devel
[ -f %{_infodir}/gpgrt.info.gz ] && /sbin/install-info %{_infodir}/gpgrt.info.gz %{_infodir}/dir
exit 0
%preun devel
if [ $1 = 0 -a -f %{_infodir}/gpgrt.info.gz ]; then
/sbin/install-info --delete %{_infodir}/gpgrt.info.gz %{_infodir}/dir
fi
exit 0
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%license COPYING COPYING.LIB %license COPYING COPYING.LIB
@ -83,6 +73,12 @@ exit 0
%{_mandir}/* %{_mandir}/*
%changelog %changelog
* Thu Sep 30 2021 zhanzhimin <zhanzhimin@huawei.com> - 1.41-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix libgpg-error-devel install-info warning
* Sat Jan 30 2021 xihaochen <xihaochen@huawei.com> - 1.41-1 * Sat Jan 30 2021 xihaochen <xihaochen@huawei.com> - 1.41-1
- Type:requirements - Type:requirements
- Id:NA - Id:NA