From 42d72f8db9e79a1c37bc67a6da4d24bc52ad441f Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Thu, 29 Jan 2015 16:46:27 +0100 Subject: [PATCH] new upstream release --- .gitignore | 2 ++ libgpg-error.spec | 22 +++++++++++++++++++++- sources | 4 ++-- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2fa8257..7986276 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ libgpg-error-1.9.tar.bz2.sig /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 diff --git a/libgpg-error.spec b/libgpg-error.spec index c7f81fd..0effa48 100644 --- a/libgpg-error.spec +++ b/libgpg-error.spec @@ -1,6 +1,6 @@ Summary: Library for error values used by GnuPG components Name: libgpg-error -Version: 1.16 +Version: 1.17 Release: 1%{?dist} URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/ Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2 @@ -10,6 +10,7 @@ License: LGPLv2+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gawk, gettext, autoconf, automake, gettext-devel, libtool +BuildRequires: texinfo %if 0%{?fedora} > 13 BuildRequires: gettext-autopoint %endif @@ -25,6 +26,8 @@ pinentry, SmartCard Daemon and possibly more in the future. Summary: Development files for the %{name} package Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} +Requires(pre): /sbin/install-info +Requires(post): /sbin/install-info %description devel This is a library that defines common error values for all GnuPG @@ -49,6 +52,7 @@ make %{?_smp_mflags} rm -fr $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %find_lang %{name} @@ -62,6 +66,17 @@ rm -fr $RPM_BUILD_ROOT %postun -p /sbin/ldconfig +%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) %{!?_licensedir:%global license %%doc} @@ -76,8 +91,13 @@ rm -fr $RPM_BUILD_ROOT %{_libdir}/libgpg-error.so %{_includedir}/gpg-error.h %{_datadir}/aclocal/gpg-error.m4 +%{_infodir}/gpgrt.info* +%{_mandir}/man1/gpg-error-config.* %changelog +* Thu Jan 29 2015 Tomáš Mráz 1.17-1 +- new upstream release + * Fri Sep 19 2014 Tomáš Mráz 1.16-1 - new upstream release - move from /lib to /usr/lib diff --git a/sources b/sources index 38cbe64..e37af2f 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -ec7f82d92329a535a89b06142e625f8c libgpg-error-1.16.tar.bz2 -172bdc9055b1b08aa15a5cf51f4bcdd2 libgpg-error-1.16.tar.bz2.sig +b4f8d8b9ff14aed41f279aa844563539 libgpg-error-1.17.tar.bz2 +c73dc327cca7d993d268fd13680bce6b libgpg-error-1.17.tar.bz2.sig