5 |
Summary: A C library for reading, creating, and modifying zip archives |
Summary: A C library for reading, creating, and modifying zip archives |
6 |
Name: libzip |
Name: libzip |
7 |
Version: 1.1.3 |
Version: 1.1.3 |
8 |
|
%define subrel 1 |
9 |
Release: %mkrel 1 |
Release: %mkrel 1 |
10 |
Group: System/Libraries |
Group: System/Libraries |
11 |
License: BSD |
License: BSD |
12 |
URL: http://www.nih.at/libzip/ |
URL: http://www.nih.at/libzip/ |
13 |
Source0: http://www.nih.at/libzip/%{name}-%{version}.tar.xz |
Source0: http://www.nih.at/libzip/%{name}-%{version}.tar.xz |
14 |
Patch0: libzip-0.11.1-fix_pkgconfig.patch |
Patch0: libzip-0.11.1-fix_pkgconfig.patch |
15 |
|
Patch2: libzip-1.1.3-CVE-2017-14107.patch |
16 |
BuildRequires: libtool |
BuildRequires: libtool |
17 |
BuildRequires: zlib-devel |
BuildRequires: zlib-devel |
18 |
|
|
53 |
|
|
54 |
%setup -q |
%setup -q |
55 |
%patch0 -p1 |
%patch0 -p1 |
56 |
|
%patch2 -p1 |
57 |
|
|
58 |
# fix test return state |
# fix test return state |
59 |
sed -i -e 's:19/2:19/0:' regress/open_nonarchive.test |
sed -i -e 's:19/2:19/0:' regress/open_nonarchive.test |