diff --git a/libzio-0.3.dif b/libzio-0.3.dif deleted file mode 100644 index 7e48c26..0000000 --- a/libzio-0.3.dif +++ /dev/null @@ -1,17 +0,0 @@ ---- lzw.h -+++ lzw.h 2006-12-15 10:43:48.000000000 +0100 -@@ -67,11 +67,12 @@ static inline int sigucmask(int how, con - static inline unsigned long int sig_ia64_mask(const sigset_t set) - { - unsigned long int mask = 0; -- int cnt = sizeof(unsigned long int); -+ int cnt = (8 * sizeof(unsigned long int)); -+ if (cnt > NSIG) cnt = NSIG; - while (--cnt >= 0) { - if (!sigismember(&set, cnt)) - continue; -- mask |= sigmask(cnt); -+ mask |= (1 << (cnt - 1)); /* sigmask macro is is not usable for BSD way */ - } - return mask; - } diff --git a/libzio-0.3.tar.bz2 b/libzio-0.3.tar.bz2 deleted file mode 100644 index 6759ff8..0000000 --- a/libzio-0.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ea056e3ce5c6d4fa079134d0ead39dcfdab493fe030938a72c422c6ebf267f12 -size 16367 diff --git a/libzio-0.4.tar.bz2 b/libzio-0.4.tar.bz2 new file mode 100644 index 0000000..5f4aa73 --- /dev/null +++ b/libzio-0.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4733deba4407f18ee05154f9463f33dd0f77d1cd4595d153149d00e2ad4fc33 +size 16788 diff --git a/libzio.changes b/libzio.changes index e2bb35f..6e1e337 100644 --- a/libzio.changes +++ b/libzio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 20 14:08:59 CET 2006 - werner@suse.de + +- Better weak symbol handling even for -ansi -pedantic + ------------------------------------------------------------------- Fri Dec 15 10:44:07 CET 2006 - werner@suse.de diff --git a/libzio.spec b/libzio.spec index fbd8bce..1084db5 100644 --- a/libzio.spec +++ b/libzio.spec @@ -1,5 +1,5 @@ # -# spec file for package libzio (Version 0.3) +# spec file for package libzio (Version 0.4) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -14,12 +14,12 @@ Name: libzio License: GNU General Public License (GPL) Group: System/Libraries Autoreqprov: on -Version: 0.3 -Release: 3 +Version: 0.4 +Release: 1 Summary: A Library for Accessing Compressed Text Files BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: libzio-%{version}.tar.bz2 -#Patch: libzio-%{version}.dif +#Patch: libzio-%{version}.dif %description Libzio provides a wrapper function for reading or writing gzip or bzip2 @@ -37,6 +37,11 @@ Authors: %build make +make testt +for comp in gzip bzip2; do + $comp -c < fzopen.3.in > fzopen.test + ./testt fzopen.test | cmp fzopen.3.in - +done %install make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir} @@ -53,11 +58,13 @@ make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir} %{_libdir}/libzio.a %{_libdir}/libzio.so %{_libdir}/libzio.so.0 -%{_libdir}/libzio.so.0.3 +%{_libdir}/libzio.so.0.4 %{_mandir}/man3/fzopen.3* /usr/include/zio.h %changelog -n libzio +* Wed Dec 20 2006 - werner@suse.de +- Better weak symbol handling even for -ansi -pedantic * Fri Dec 15 2006 - werner@suse.de - Can not use sigmask() macro in ia64 because its definition is for sigset_t array only but not for single ulong