update to 1.36, minor cleanups

This commit is contained in:
Peter Robinson 2019-08-03 12:55:32 +01:00
parent 8943f5b4ba
commit de64fda6ea
3 changed files with 16 additions and 45 deletions

34
.gitignore vendored
View File

@ -1,32 +1,2 @@
libgpg-error-1.9.tar.bz2 /libgpg-error-*.tar.bz2
libgpg-error-1.9.tar.bz2.sig /libgpg-error-*.tar.bz2.sig
/libgpg-error-1.10.tar.bz2
/libgpg-error-1.10.tar.bz2.sig
/libgpg-error-1.11.tar.bz2
/libgpg-error-1.11.tar.bz2.sig
/libgpg-error-1.12.tar.bz2
/libgpg-error-1.12.tar.bz2.sig
/libgpg-error-1.13.tar.bz2
/libgpg-error-1.13.tar.bz2.sig
/libgpg-error-1.16.tar.bz2
/libgpg-error-1.16.tar.bz2.sig
/libgpg-error-1.17.tar.bz2
/libgpg-error-1.17.tar.bz2.sig
/libgpg-error-1.19.tar.bz2
/libgpg-error-1.19.tar.bz2.sig
/libgpg-error-1.20.tar.bz2
/libgpg-error-1.20.tar.bz2.sig
/libgpg-error-1.21.tar.bz2
/libgpg-error-1.21.tar.bz2.sig
/libgpg-error-1.24.tar.bz2
/libgpg-error-1.24.tar.bz2.sig
/libgpg-error-1.25.tar.bz2
/libgpg-error-1.25.tar.bz2.sig
/libgpg-error-1.27.tar.bz2
/libgpg-error-1.27.tar.bz2.sig
/libgpg-error-1.29.tar.bz2
/libgpg-error-1.29.tar.bz2.sig
/libgpg-error-1.31.tar.bz2
/libgpg-error-1.31.tar.bz2.sig
/libgpg-error-1.33.tar.bz2
/libgpg-error-1.33.tar.bz2.sig

View File

@ -1,19 +1,18 @@
Summary: Library for error values used by GnuPG components
Name: libgpg-error Name: libgpg-error
Version: 1.33 Version: 1.36
Release: 3%{?dist} Release: 1%{?dist}
Summary: Library for error values used by GnuPG components
URL: https://www.gnupg.org/related_software/libgpg-error/ URL: https://www.gnupg.org/related_software/libgpg-error/
License: LGPLv2+
Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2 Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
Patch1: libgpg-error-1.29-multilib.patch Patch1: libgpg-error-1.29-multilib.patch
License: LGPLv2+
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool
BuildRequires: texinfo BuildRequires: texinfo
%if 0%{?fedora} > 13
BuildRequires: gettext-autopoint BuildRequires: gettext-autopoint
%endif
%description %description
This is a library that defines common error values for all GnuPG This is a library that defines common error values for all GnuPG
@ -34,6 +33,7 @@ contains files necessary to develop applications using libgpg-error.
%prep %prep
%setup -q %setup -q
%patch1 -p1 -b .multilib %patch1 -p1 -b .multilib
# The config script already suppresses the -L if it's /usr/lib, so cheat and # The config script already suppresses the -L if it's /usr/lib, so cheat and
# set it to a value which we know will be suppressed. # set it to a value which we know will be suppressed.
sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g;s|@GPG_ERROR_CONFIG_HOST@|none|g' src/gpg-error-config.in sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g;s|@GPG_ERROR_CONFIG_HOST@|none|g' src/gpg-error-config.in
@ -43,11 +43,10 @@ sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spe
%build %build
%configure --disable-static --disable-rpath --disable-languages %configure --disable-static --disable-rpath --disable-languages
make %{?_smp_mflags} %make_build
%install %install
rm -fr $RPM_BUILD_ROOT %make_install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT/%{_infodir}/dir rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
@ -59,9 +58,8 @@ make check
%ldconfig_scriptlets %ldconfig_scriptlets
%files -f %{name}.lang %files -f %{name}.lang
%{!?_licensedir:%global license %%doc}
%license COPYING COPYING.LIB %license COPYING COPYING.LIB
%doc AUTHORS README NEWS ChangeLog %doc AUTHORS README NEWS
%{_bindir}/gpg-error %{_bindir}/gpg-error
%{_libdir}/libgpg-error.so.0* %{_libdir}/libgpg-error.so.0*
%{_datadir}/libgpg-error %{_datadir}/libgpg-error
@ -80,6 +78,9 @@ make check
%{_mandir}/man1/gpgrt-config.* %{_mandir}/man1/gpgrt-config.*
%changelog %changelog
* Sat Aug 3 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.36-1
- new upstream release 1.36
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3 * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (libgpg-error-1.33.tar.bz2) = c0396a63ea54e321b207d84fb4eac247ba8a791058db00a8bbf1dd7698c6593b13c77de08fc0971cccd6c3c27925637d1f9fdc59c4cac1344ddfe4c25adc2e42 SHA512 (libgpg-error-1.36.tar.bz2) = 6e5f853f77dc04f0091d94b224cab8e669042450f271b78d0ea0219658d059c9cab1ab0eaa020a4227f451520b417fc340b85971a6f5e144fa69be57e15df346
SHA512 (libgpg-error-1.33.tar.bz2.sig) = 3c8540662d757b000456bbd691eab8a715c16275820b2efb86e69c43d19ffb420c6a0420f122346bd07636abbd84a080e6a470badaff71d4077ead749b87107d SHA512 (libgpg-error-1.36.tar.bz2.sig) = 12020816f16e8e5566fa4d3b3ba7476fec440be1a63b83ebc77392ab285fa76da0c8ebd334b67afef1784fbb0097a8e4432f937f6476169cfaa5e82b8ce1b78b