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
|
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,8 +73,14 @@ 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
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
- DESC:update libgpg-error to 1.41
|
- DESC:update libgpg-error to 1.41
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user