update to 1.5.1

drop dependency on zlib-devel and bzip2-devel no more referenced in libzip.pc
drop rpath patch merged upstream
This commit is contained in:
Remi Collet 2018-04-11 11:06:53 +02:00
parent c23afddd6e
commit 15d64852eb
4 changed files with 10 additions and 23 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ libzip-0.9.3.tar.bz2
/libzip-1.3.2.tar.xz
/libzip-1.4.0.tar.xz
/libzip-1.5.0.tar.xz
/libzip-1.5.1.tar.xz

View File

@ -1,13 +0,0 @@
diff -up ./CMakeLists.txt.rpm ./CMakeLists.txt
--- ./CMakeLists.txt.rpm 2017-12-30 07:46:53.988134130 +0100
+++ ./CMakeLists.txt 2017-12-30 07:47:03.787185954 +0100
@@ -139,9 +139,6 @@ endif(CMAKE_SYSTEM_NAME MATCHES WindowsP
ADD_DEFINITIONS("-DHAVE_CONFIG_H")
-# rpath handling: use rpath in installed binaries
-SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
-SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
# Testing
ENABLE_TESTING()

View File

@ -1,17 +1,14 @@
%global with_tests 0%{!?_without_tests:1}
Name: libzip
Version: 1.5.0
Release: 2%{?dist}
Version: 1.5.1
Release: 1%{?dist}
Summary: C library for reading, creating, and modifying zip archives
License: BSD
URL: https://libzip.org/
Source0: https://libzip.org/download/libzip-%{version}.tar.xz
# drop RPATH from installed binaries
Patch1: libzip-rpath.patch
BuildRequires: gcc
BuildRequires: zlib-devel
BuildRequires: bzip2-devel
@ -43,9 +40,6 @@ The API is documented by man pages.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
# referenced in libzip.pc
Requires: zlib-devel%{?_isa}
Requires: bzip2-devel%{?_isa}
%description devel
The %{name}-devel package contains libraries and header files for
@ -113,6 +107,12 @@ make check
%changelog
* Wed Apr 11 2018 Remi Collet <remi@remirepo.net> - 1.5.1-1
- update to 1.5.1
- drop dependency on zlib-devel and bzip2-devel no more
referenced in libzip.pc
- drop rpath patch merged upstream
* Thu Mar 15 2018 Remi Collet <remi@remirepo.net> - 1.5.0-2
- add dependency on zlib-devel and bzip2-devel #1556068

View File

@ -1,2 +1 @@
SHA512 (libzip-1.4.0.tar.xz) = 125e4de8b02781023f9bed450747b9c36942cbf41de7a863402786d1c7b848e19b425f4b0c26ab3857c6bbfd8571bcd9cb1434df355c59148db54f1b951f5c56
SHA512 (libzip-1.5.0.tar.xz) = 6854c0cc40cbff4fe2efc407b3a52019a234ff734fccfc5068117e29541232827f5100b74fdf68537e5ba7165b41b14312fe934aebe388372e1d6face2185ef1
SHA512 (libzip-1.5.1.tar.xz) = 92df9490a9910ebb1da49ecaec96f364fce39a779e1bc739f7796b27b3a864301f5e1ba0108947708dda1d90af7a9e751be54cbb8a0de2a04a48f9f3eb728e3d