Accepting request 875822 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/875822 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zziplib?expand=0&rev=39
This commit is contained in:
commit
74e5ca87ec
@ -1,22 +0,0 @@
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -302,7 +302,7 @@
|
||||
RESOLVES=" # "
|
||||
;; *)
|
||||
if test ".$can_build_shared" != ".no" ; then
|
||||
- ZZIPLIB_LDFLAGS="-export-dynamic"
|
||||
+ ZZIPLIB_LDFLAGS="-Wl,-export-dynamic"
|
||||
if test ".$lt_cv_prog_gnu_ld" == ".yes" ; then
|
||||
ZZIPLIB_LDFLAGS="${wl}--export-dynamic"
|
||||
# TODO: that is for backward compatibility only
|
||||
--- zzip/Makefile.am.orig
|
||||
+++ zzip/Makefile.am
|
||||
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = 1.5 foreign
|
||||
AUTOTOOL_VERSION=autoconf-2.52 automake-1.5 libtool-1.4.2
|
||||
DEFAULT_INCLUDES = # nothing - no default of -I. -I$(srcdir)
|
||||
DEFS = @DEFS@ -I$(top_builddir) -I$(top_srcdir) # also for automake 1.4
|
||||
-
|
||||
+AM_CFLAGS = -fno-strict-aliasing
|
||||
lib_LTLIBRARIES = libzzip.la libzzipmmapped.la libzzipfseeko.la
|
||||
zzipdir = ${includedir}/zzip
|
||||
zzip_HEADERS = $(libzzip_la_headers) \
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ee1e0fbbb78ec7cc46bde5b62857bc51f8d665dd265577cf93584344b8b9de2
|
||||
size 1150654
|
BIN
zziplib-0.13.72.tar.gz
(Stored with Git LFS)
Normal file
BIN
zziplib-0.13.72.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
Index: configure.ac
|
||||
===================================================================
|
||||
--- configure.ac.orig
|
||||
+++ configure.ac
|
||||
@@ -129,7 +129,7 @@ if test ".$ac_cv_sys_largefile_sensitive
|
||||
elif test ".$with_largefile" != ".no" ; then
|
||||
AC_MSG_RESULT(compiles library as 64bit off_t variant dnl
|
||||
- and renaming some function names)
|
||||
- LARGEFILE_CFLAGS="$LARGEFILE_CFLAGS -D_LARGEFILE_SOURCE"
|
||||
+ LARGEFILE_CFLAGS="$LARGEFILE_CFLAGS -D_ZZIP_LARGEFILE -D_LARGEFILE_SOURCE"
|
||||
AC_MSG_RESULT(..adding CFLAGS $LARGEFILE_CFLAGS)
|
||||
CFLAGS="$CFLAGS $LARGEFILE_CFLAGS"
|
||||
AC_MSG_RESULT(..adding 64 into RELEASE_INFO for the libraries)
|
@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 7 23:10:28 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.13.72:
|
||||
* The testbuilds were fixed to make cmake install and automake install the same
|
||||
* The cmake install did need patches for man3 installation on Unix
|
||||
* The cmake install did need patches for dll installation on Windows
|
||||
* The cmake install did need patches for dylib installation on MacOS
|
||||
* The cmake install did need patches for pkgconfig generation
|
||||
* Bump testbuilds to modern distro versions (ubuntu 20.04 centos 7.9 / 8.3)
|
||||
* Takeover docker_mirror.py for air-gap testings (for testbuilds.py)
|
||||
* handle UNZZIP-NOTFOUND in cmake and mark Ubuntu 'unzip' to be broken
|
||||
* merge patches for zzip_pread feature from Max Kellermann
|
||||
* merge patches for some bugs being found and reported via GitHub issues
|
||||
* run azure-pipelines with -DZZIP_TESTCVE=OFF to skip CVE *.zip downloads
|
||||
* use zziptests.py --downloadonly to get the CVE zip files for local storage
|
||||
* switch to cmake build system
|
||||
- remove zziplib-0.13.62-wronglinking.patch zziplib-largefile.patch:
|
||||
obsolete with switch to cmake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 28 06:21:51 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
|
25
zziplib.spec
25
zziplib.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package zziplib
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
%define lname libzzip-0-13
|
||||
Name: zziplib
|
||||
Version: 0.13.71
|
||||
Version: 0.13.72
|
||||
Release: 0
|
||||
Summary: ZIP Compression Library
|
||||
License: LGPL-2.1-or-later
|
||||
@ -27,14 +27,11 @@ URL: http://zziplib.sourceforge.net
|
||||
Source0: https://github.com/gdraheim/zziplib/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source2: baselibs.conf
|
||||
Patch0: zziplib-0.13.62.patch
|
||||
Patch1: zziplib-0.13.62-wronglinking.patch
|
||||
Patch2: zziplib-largefile.patch
|
||||
Patch8: bsc1154002-prevent-unnecessary-perror.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: cmake
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: zip
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
%description
|
||||
@ -64,22 +61,16 @@ ZZipLib.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch8 -p1
|
||||
# do not bother with html docs saving us python2 dependency
|
||||
sed -i -e 's:docs ::g' Makefile.am
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure \
|
||||
--with-largefile \
|
||||
--enable-frame-pointer \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
%cmake -DZZIP_TESTCVE=OFF
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%cmake_install
|
||||
rm -f docs/Make* docs/zziplib-manpages.ar
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
@ -99,5 +90,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%{_includedir}/*
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_datadir}/aclocal/*.m4
|
||||
%{_mandir}/man3/__zzip_*.3%{?ext_man}
|
||||
%{_mandir}/man3/zzip_*.3%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user