Compare commits

..

No commits in common. "2cea84f65d8a299535b931a78670ce7988f49985" and "4ac04c6c4f09414cc176bbb924ee32f6c48955bd" have entirely different histories.

5 changed files with 16 additions and 31 deletions

BIN
libgpg-error-1.41.tar.gz Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,15 @@
Name: libgpg-error
Version: 1.46
Version: 1.41
Release: 1
Summary: Library for common error values and messages in GnuPG components.
License: LGPLv2+
URL: https://www.gnupg.org/related_software/libgpg-error/
URL: https://www.gnupg.org/ftp/gcrypt/libgpg-error
Source0: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.gz
Source1: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.gz.sig
Patch0: libgpg-error-1.29-multilib.patch
BuildRequires: make
BuildRequires: gcc gawk, gettext, autoconf, automake, gettext-devel, libtool, texinfo, gettext-autopoint
BuildRequires: gcc gawk, gettext, autoconf, automake, gettext-devel, libtool, texinfo, gettext-autopoint hostname
%description
The libgpg-error package contains a library that originally defines common error values for all GnuPG components.
@ -36,7 +35,7 @@ sed -i -e '/--variable=host/d' src/gpg-error-config-test.sh.in
sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/lib /usr/lib %{_libdir}|g' configure
%build
%configure --disable-static --disable-rpath --disable-languages --enable-install-gpg-error-config
%configure --disable-static --disable-rpath --disable-languages
%make_build
%install
@ -50,6 +49,16 @@ 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
@ -74,32 +83,8 @@ make check
%{_mandir}/*
%changelog
* Thu Feb 02 2023 yanglu <yanglu72@h-partners.com> - 1.46-1
- Type:requirement
- Id:NA
- SUG:NA
- DESC:update libgpg-error version to 1.46
* Wed Oct 19 2022 yanglu <yanglu72@h-partners.com> - 1.43-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix URL
* Thu Dec 02 2021 xihaochen <xihaochen@huawei.com> - 1.43-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update libgpg-error to 1.43
* 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
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update libgpg-error to 1.41
@ -137,5 +122,5 @@ make check
* Wed Dec 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.31-4
- add Requires
* Mon Sep 30 2019 chenzhenyu <chenzhenyu13@huawei.com> - 1.31-3
* Thu Sep 14 2019 chenzhenyu <chenzhenyu13@huawei.com> - 1.31-3
- Package init