!21 [sync] PR-15: fix libgpg-error-devel install-info warning
From: @openeuler-sync-bot Reviewed-by: @yanan-rock Signed-off-by: @yanan-rock
This commit is contained in:
commit
0e49126e59
@ -1,6 +1,6 @@
|
|||||||
Name: libgpg-error
|
Name: libgpg-error
|
||||||
Version: 1.38
|
Version: 1.38
|
||||||
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
|
||||||
@ -51,16 +51,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
|
||||||
@ -85,6 +75,12 @@ exit 0
|
|||||||
%{_mandir}/*
|
%{_mandir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 30 2021 zhanzhimin <zhanzhimin@huawei.com> - 1.38-2
|
||||||
|
- Type:bugfix
|
||||||
|
- Id:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix libgpg-error-devel install-info warning
|
||||||
|
|
||||||
* Sat Aug 29 2020 xiaqirong <xiaqirong1@huawei.com> - 1.38-1
|
* Sat Aug 29 2020 xiaqirong <xiaqirong1@huawei.com> - 1.38-1
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user