Blame SPECS/libgpg-error.spec

06bbe5
Name: libgpg-error
06bbe5
Version: 1.42
06bbe5
Release: 4%{?dist}
06bbe5
Summary: Library for error values used by GnuPG components
06bbe5
URL: https://www.gnupg.org/related_software/libgpg-error/
06bbe5
License: LGPLv2+
06bbe5
06bbe5
Source0: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
06bbe5
Source1: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig
06bbe5
Patch1: libgpg-error-1.29-multilib.patch
06bbe5
Patch2: libgpg-error-1.42-coverity.patch
06bbe5
06bbe5
BuildRequires: gcc
06bbe5
BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool
06bbe5
BuildRequires: texinfo
06bbe5
BuildRequires: gettext-autopoint
06bbe5
BuildRequires: make
06bbe5
06bbe5
%description
06bbe5
This is a library that defines common error values for all GnuPG
06bbe5
components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
06bbe5
pinentry, SmartCard Daemon and possibly more in the future.
06bbe5
06bbe5
%package devel
06bbe5
Summary: Development files for the %{name} package
06bbe5
Requires: %{name}%{?_isa} = %{version}-%{release}
06bbe5
Requires: pkgconfig
06bbe5
06bbe5
%description devel
06bbe5
This is a library that defines common error values for all GnuPG
06bbe5
components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
06bbe5
pinentry, SmartCard Daemon and possibly more in the future. This package
06bbe5
contains files necessary to develop applications using libgpg-error.
06bbe5
06bbe5
%prep
06bbe5
%setup -q
06bbe5
%patch1 -p1 -b .multilib
06bbe5
%patch2 -p1 -b .coverity
06bbe5
06bbe5
autoreconf -f
06bbe5
06bbe5
# The config script already suppresses the -L if it's /usr/lib, so cheat and
06bbe5
# set it to a value which we know will be suppressed.
06bbe5
sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g;s|@GPG_ERROR_CONFIG_HOST@|none|g' src/gpg-error-config.in
06bbe5
sed -i -e '/--variable=host/d' src/gpg-error-config-test.sh.in
06bbe5
06bbe5
# Modify configure to drop rpath for /usr/lib64
06bbe5
sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/lib /usr/lib %{_libdir}|g' configure
06bbe5
06bbe5
%build
06bbe5
%configure --disable-static --disable-rpath --disable-languages
06bbe5
%make_build
06bbe5
06bbe5
%install
06bbe5
%make_install
06bbe5
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
06bbe5
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
06bbe5
06bbe5
%find_lang %{name}
06bbe5
06bbe5
%check
06bbe5
make check
06bbe5
06bbe5
%ldconfig_scriptlets
06bbe5
06bbe5
%files -f %{name}.lang
06bbe5
%license COPYING COPYING.LIB
06bbe5
%doc AUTHORS README NEWS
06bbe5
%{_bindir}/gpg-error
06bbe5
%{_libdir}/libgpg-error.so.0*
06bbe5
%{_datadir}/libgpg-error
06bbe5
06bbe5
%files devel
06bbe5
%{_bindir}/gpg-error-config
06bbe5
%{_bindir}/gpgrt-config
06bbe5
%{_bindir}/yat2m
06bbe5
%{_libdir}/libgpg-error.so
06bbe5
%{_libdir}/pkgconfig/gpg-error.pc
06bbe5
%{_includedir}/gpg-error.h
06bbe5
%{_includedir}/gpgrt.h
06bbe5
%{_datadir}/aclocal/gpg-error.m4
06bbe5
%{_datadir}/aclocal/gpgrt.m4
06bbe5
%{_infodir}/gpgrt.info*
06bbe5
%{_mandir}/man1/gpgrt-config.*
06bbe5
06bbe5
%changelog
06bbe5
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.42-4
06bbe5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
06bbe5
  Related: rhbz#1991688
06bbe5
06bbe5
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.42-3
06bbe5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
06bbe5
06bbe5
* Mon Apr 12 2021 Jakub Jelen <jjelen@redhat.com> - 1.42-2
06bbe5
- Address coverity reported issues
06bbe5
06bbe5
* Mon Mar 22 2021 Jakub Jelen <jjelen@redhat.com> - 1.42-1
06bbe5
- New upstream release (#1941582)
06bbe5
06bbe5
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.41-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
06bbe5
06bbe5
* Mon Jan 04 2021 Jakub Jelen <jjelen@redhat.com> - 1.41-1
06bbe5
- New upstream release (#1909749)
06bbe5
06bbe5
* Tue Dec 01 2020 Jakub Jelen <jjelen@redhat.com> - 1.39-1
06bbe5
- New upstream release (#1800640)
06bbe5
06bbe5
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.37-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
06bbe5
06bbe5
* Fri Feb 28 2020 Tomáš Mráz <tmraz@redhat.com> 1.37-1
06bbe5
- new upstream release 1.37
06bbe5
06bbe5
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.36-3
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
06bbe5
06bbe5
* Wed Aug 14 2019 Tomáš Mráz <tmraz@redhat.com> 1.36-2
06bbe5
- fix FTBFS in rawhide due to new gawk
06bbe5
06bbe5
* Sat Aug  3 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.36-1
06bbe5
- new upstream release 1.36
06bbe5
06bbe5
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
06bbe5
06bbe5
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
06bbe5
06bbe5
* Tue Jan 08 2019 Tomáš Mráz <tmraz@redhat.com> 1.33-1
06bbe5
- new upstream release 1.33
06bbe5
- dropped obsolete install-info scriptlets
06bbe5
06bbe5
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
06bbe5
06bbe5
* Mon Jun 11 2018 Tomáš Mráz <tmraz@redhat.com> 1.31-1
06bbe5
- new upstream release 1.31
06bbe5
06bbe5
* Wed Apr 11 2018 Tomáš Mráz <tmraz@redhat.com> 1.29-1
06bbe5
- new upstream release 1.29
06bbe5
06bbe5
* Wed Feb 28 2018 Richard W.M. Jones <rjones@redhat.com> - 1.27-6
06bbe5
- Backport patch which adds riscv64 support.
06bbe5
06bbe5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-5
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
06bbe5
06bbe5
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.27-4
06bbe5
- Switch to %%ldconfig_scriptlets
06bbe5
06bbe5
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-3
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
06bbe5
06bbe5
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.27-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
06bbe5
06bbe5
* Wed Mar 15 2017 Tomáš Mráz <tmraz@redhat.com> 1.27-1
06bbe5
- new upstream release 1.27
06bbe5
06bbe5
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.25-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
06bbe5
06bbe5
* Tue Nov 15 2016 Tomáš Mráz <tmraz@redhat.com> 1.25-1
06bbe5
- new upstream release 1.25
06bbe5
06bbe5
* Thu Jul 14 2016 Tomáš Mráz <tmraz@redhat.com> 1.24-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Fri Mar 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 1.21-3
06bbe5
- drop explicit /sbin/ldconfig scriptlet deps (#1319144)
06bbe5
06bbe5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
06bbe5
06bbe5
* Tue Dec 22 2015 Tomáš Mráz <tmraz@redhat.com> 1.21-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Tue Sep  1 2015 Tomáš Mráz <tmraz@redhat.com> 1.20-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
06bbe5
06bbe5
* Mon Apr 13 2015 Tomáš Mráz <tmraz@redhat.com> 1.19-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.17-3
06bbe5
- Rebuilt for Fedora 23 Change
06bbe5
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
06bbe5
06bbe5
* Fri Jan 30 2015 Tomáš Mráz <tmraz@redhat.com> 1.17-2
06bbe5
- do not conflict on header file between architectures (#1180857)
06bbe5
06bbe5
* Thu Jan 29 2015 Tomáš Mráz <tmraz@redhat.com> 1.17-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Fri Sep 19 2014 Tomáš Mráz <tmraz@redhat.com> 1.16-1
06bbe5
- new upstream release
06bbe5
- move from /lib to /usr/lib
06bbe5
06bbe5
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-3
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
06bbe5
06bbe5
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> 1.13-2
06bbe5
- fix license handling
06bbe5
06bbe5
* Wed Jun 25 2014 Tomáš Mráz <tmraz@redhat.com> 1.13-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
06bbe5
06bbe5
* Fri Aug 23 2013 Tomáš Mráz <tmraz@redhat.com> 1.12-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
06bbe5
06bbe5
* Fri Apr  5 2013 Tomáš Mráz <tmraz@redhat.com> 1.11-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-4
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
06bbe5
06bbe5
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-3
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
06bbe5
06bbe5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
06bbe5
06bbe5
* Fri Jul 15 2011 Tomáš Mráz <tmraz@redhat.com> 1.10-1
06bbe5
- new upstream release
06bbe5
06bbe5
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
06bbe5
06bbe5
* Fri Jul 23 2010 Rex Dieter <rdieter@fedoraproject.org> 1.9-1
06bbe5
- libgpg-error-1.9
06bbe5
06bbe5
* Thu Feb 25 2010 Nalin Dahyabhai <nalin@redhat.com> - 1.7-3
06bbe5
- turn off common lisp bindings the right way
06bbe5
- drop finger output
06bbe5
- recode the changelog into UTF-8 if it isn't UTF-8 (rpmlint)
06bbe5
06bbe5
* Mon Jan 11 2010 Nalin Dahyabhai <nalin@redhat.com> - 1.7-2
06bbe5
- fix use of macro in changelog (rpmlint)
06bbe5
- build with --disable-rpath (rpmlint)
06bbe5
- build with %%{?_smp_mflags}
06bbe5
06bbe5
* Thu Oct 15 2009 Nalin Dahyabhai <nalin@redhat.com> - 1.7-1
06bbe5
- long-overdue update to 1.7
06bbe5
- add a disttag
06bbe5
06bbe5
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-4
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
06bbe5
06bbe5
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
06bbe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
06bbe5
06bbe5
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6-2
06bbe5
- Autorebuild for GCC 4.3
06bbe5
06bbe5
* Fri Dec  7 2007 Nalin Dahyabhai <nalin@redhat.com>
06bbe5
- remove the generic install docs (#226021)
06bbe5
06bbe5
* Fri Dec  7 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.6-1
06bbe5
- update to 1.6
06bbe5
- add suggested summary, buildrequires, and modify install call as suggested
06bbe5
  by package review (#226021)
06bbe5
06bbe5
* Mon Oct 15 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-6
06bbe5
- use ldconfig to make the soname symlink so that it gets packaged (#331241)
06bbe5
06bbe5
* Wed Aug 22 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-5
06bbe5
- add missing gawk buildrequirement
06bbe5
06bbe5
* Thu Aug 16 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-4
06bbe5
- clarify license
06bbe5
06bbe5
* Mon Jul 30 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-3
06bbe5
- disable static libraries (part of #249815)
06bbe5
06bbe5
* Fri Jul 27 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-2
06bbe5
- move libgpg-error shared library to /%%{_lib} (#249816)
06bbe5
06bbe5
* Thu Jul 19 2007 Nalin Dahyabhai <nalin@redhat.com> - 1.5-1
06bbe5
- update to 1.5
06bbe5
06bbe5
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.4-2
06bbe5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
06bbe5
06bbe5
* Mon Sep 18 2006 Bill Nottngham <notting@redhat.com> - 1.4-1
06bbe5
- update to 1.4
06bbe5
- don't ship lisp bindings
06bbe5
06bbe5
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.3-3.1
06bbe5
- rebuild
06bbe5
06bbe5
* Mon Jun  5 2006 Nalin Dahyabhai <nalin@redhat.com> 1.3-3
06bbe5
- give gpg-error-config libdir=@exec_prefix@/lib instead of @libdir@, so that
06bbe5
  it agrees on 32- and 64-bit arches (it suppresses the -L argument if @libdir@
06bbe5
  is /usr/lib, so this should be cleaner than adding a non-standard .pc file
06bbe5
  which upstream developers might inadvertently think they can depend to be on
06bbe5
  every system which provides this library)
06bbe5
06bbe5
* Mon May 15 2006 Karsten Hopp <karsten@redhat.de> 1.3-2
06bbe5
- switch to pkgconfig so that gpg-error-config can be the same on 
06bbe5
  32bit and 64bit archs
06bbe5
06bbe5
* Tue May  2 2006 Nalin Dahyabhai <nalin@redhat.com> - 1.3-1
06bbe5
- update to version 1.3
06bbe5
06bbe5
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1-1.2.1
06bbe5
- bump again for double-long bug on ppc(64)
06bbe5
06bbe5
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1-1.2
06bbe5
- rebuilt for new gcc4.1 snapshot and glibc changes
06bbe5
06bbe5
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
06bbe5
- rebuilt
06bbe5
06bbe5
* Wed Nov 30 2005 Karsten Hopp <karsten@redhat.de> 1.1-1
06bbe5
- update
06bbe5
06bbe5
* Wed Mar  2 2005 Bill Nottingham <notting@redhat.com> - 1.0-2
06bbe5
- we can rebuild it. we have the technology.
06bbe5
06bbe5
* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
06bbe5
- update to 1.0
06bbe5
06bbe5
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
06bbe5
- rebuilt
06bbe5
06bbe5
* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
06bbe5
- adapt upstream specfile