diff --git a/libgpg-error-1.8.tar.bz2 b/libgpg-error-1.8.tar.bz2 deleted file mode 100644 index 92fdab4..0000000 --- a/libgpg-error-1.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bdfbf2677147239d2d26d4e37f44635d9fd97c133c9ef9fd9793a12a059508c5 -size 435341 diff --git a/libgpg-error-1.9.tar.bz2 b/libgpg-error-1.9.tar.bz2 new file mode 100644 index 0000000..7cc3ea9 --- /dev/null +++ b/libgpg-error-1.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54d9326bfbd46c705963c507953f65a40576d04b374e131008dc5b732ff1e3c3 +size 436310 diff --git a/libgpg-error.changes b/libgpg-error.changes index c1e16bf..51143d9 100644 --- a/libgpg-error.changes +++ b/libgpg-error.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Dec 3 11:53:24 UTC 2010 - puzel@novell.com + +- update to version 1.9 + * New function gpg_err_deinit. + * Interface changes relative to the 1.8 release: + GPG_ERR_MISSING_KEY NEW + GPG_ERR_TOO_MANY NEW + GPG_ERR_LIMIT_REACHED NEW + gpg_err_deinit NEW +- clean up specfile + ------------------------------------------------------------------- Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de diff --git a/libgpg-error.spec b/libgpg-error.spec index 735fdc6..92f85a3 100644 --- a/libgpg-error.spec +++ b/libgpg-error.spec @@ -1,5 +1,5 @@ # -# spec file for package libgpg-error (Version 1.8) +# spec file for package libgpg-error (Version 1.9) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,17 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: libgpg-error -Url: http://www.gnupg.org/ -Version: 1.8 +Version: 1.9 Release: 2 -Summary: Library That Defines Common Error Values for All GnuPG Components License: GPLv2+ ; LGPLv2.1+ +Summary: Library That Defines Common Error Values for All GnuPG Components +Url: http://www.gnupg.org/ Group: Development/Libraries/C and C++ -AutoReqProv: on Source: %name-%version.tar.bz2 Source2: baselibs.conf # rename package to "libgpg-error-nld" and set this to 1 for NLD @@ -38,15 +36,9 @@ This is a library that defines common error values for all GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, pinentry, SmartCard Daemon, and possibly more in the future. - - -Authors: --------- - Marcus Brinkmann - %package -n libgpg-error0 -Summary: Library That Defines Common Error Values for All GnuPG Components License: GPLv2+ ; LGPLv2.1+ +Summary: Library That Defines Common Error Values for All GnuPG Components Group: Development/Libraries/C and C++ # bug437293 %ifarch ppc64 @@ -61,12 +53,6 @@ This is a library that defines common error values for all GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, pinentry, SmartCard Daemon, and possibly more in the future. - - -Authors: --------- - Marcus Brinkmann - %package devel License: GPLv2+ ; LGPLv2.1+ ; MIT License (or similar) Summary: Development package for libgpg-error @@ -79,17 +65,12 @@ Obsoletes: libgpg-error-devel-64bit %if %nld_build Conflicts: libgpg-error-devel %endif -Requires: libgpg-error0 = %version glibc-devel +Requires: glibc-devel +Requires: libgpg-error0 = %version %description devel Files needed for software development using libgpg-error. - - -Authors: --------- - Marcus Brinkmann - %prep %setup -q -n libgpg-error-%version %if %nld_build @@ -98,22 +79,22 @@ Authors: %build autoreconf -fiv -%configure --disable-static --with-pic --libdir=/%{_lib} -%{__make} %{?_smp_mflags} +%configure --disable-static --with-pic --libdir=/%{_lib} +make %{?_smp_mflags} %install -make DESTDIR=$RPM_BUILD_ROOT install -rm $RPM_BUILD_ROOT/%{_lib}/libgpg-error.la -mkdir -p $RPM_BUILD_ROOT%{_libdir} -%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so -%{__rm} -v %{buildroot}/%{_lib}/%{name}.so +%make_install +rm %{buildroot}/%{_lib}/libgpg-error.la +mkdir -p %{buildroot}%{_libdir} +ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so +rm -v %{buildroot}/%{_lib}/%{name}.so # Drop the lisp stuff, it depends on ASDF and CFFI # which needs to be packaged first -rm -r %{buildroot}/usr/share/common-lisp +rm -r %{buildroot}%{_datadir}/common-lisp %find_lang %{name} %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %post -n libgpg-error0 -p /sbin/ldconfig @@ -121,14 +102,14 @@ rm -rf $RPM_BUILD_ROOT %files -n libgpg-error0 -f %{name}.lang %defattr(-,root,root) -/%_lib/libgpg-error*.so.* +/%{_lib}/libgpg-error*.so.* %files devel %defattr(-,root,root) %doc README NEWS ChangeLog COPYING.LIB COPYING AUTHORS ABOUT-NLS -%_datadir/aclocal/gpg-error.m4 -%_includedir/* -%_bindir/* -%_libdir/libgpg-error*.so +%{_datadir}/aclocal/gpg-error.m4 +%{_includedir}/* +%{_bindir}/* +%{_libdir}/libgpg-error*.so %changelog