fix libgpg-error-devel install-info warning
(cherry picked from commit 811882ec5d71e9e38e543015c884dd6fc9c60309)
This commit is contained in:
parent
4ac04c6c4f
commit
cc9a9e1ca9
@ -1,6 +1,6 @@
|
||||
Name: libgpg-error
|
||||
Version: 1.41
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Library for common error values and messages in GnuPG components.
|
||||
License: LGPLv2+
|
||||
URL: https://www.gnupg.org/ftp/gcrypt/libgpg-error
|
||||
@ -49,16 +49,6 @@ make check
|
||||
|
||||
%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
|
||||
%defattr(-,root,root)
|
||||
%license COPYING COPYING.LIB
|
||||
@ -83,6 +73,12 @@ exit 0
|
||||
%{_mandir}/*
|
||||
|
||||
%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
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user