[unzip/f16] Resolves: #884679 - zip files with bzip2 compression
mluscon
mluscon at fedoraproject.org
Mon Dec 10 17:30:06 UTC 2012
commit 4afdc51e64bc09c6bfa6c99cf7ff5a1f76ff178a
Author: Michal Luscon <mluscon at redhat.com>
Date: Mon Dec 10 18:10:23 2012 +0100
Resolves: #884679 - zip files with bzip2 compression
unzip-6.0-bzip2-configure.patch | 3 ++-
unzip.spec | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/unzip-6.0-bzip2-configure.patch b/unzip-6.0-bzip2-configure.patch
index 9cf006b..b99bb4e 100644
--- a/unzip-6.0-bzip2-configure.patch
+++ b/unzip-6.0-bzip2-configure.patch
@@ -19,7 +19,7 @@ diff -up unzip60/unix/configure.bzip2-configure unzip60/unix/configure
+ $CC $CFLAGS -o conftest conftest.c -lbz2 > /dev/null 2>/dev/null
+ if test $? -eq 0; then
+ echo "-- OS supports bzip2 - linking in bzip2"
-+ D_USE_BZ2="-DBZIP2_SUPPORT"
++ D_USE_BZ2="-DUSE_BZIP2"
+ L_BZ2="${BZLF} -lbz2"
+ else
+ echo "-- Either bzlib.h or libbz2.a not found - no bzip2"
@@ -27,3 +27,4 @@ diff -up unzip60/unix/configure.bzip2-configure unzip60/unix/configure
fi
fi
+
\ No newline at end of file
diff --git a/unzip.spec b/unzip.spec
index 470cf42..49d3927 100644
--- a/unzip.spec
+++ b/unzip.spec
@@ -1,7 +1,7 @@
Summary: A utility for unpacking zip files
Name: unzip
Version: 6.0
-Release: 4%{?dist}
+Release: 5%{?dist}
License: BSD
Group: Applications/Archiving
Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
@@ -55,6 +55,9 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{
%{_mandir}/*/*
%changelog
+* Mon Dec 10 2012 Michal Luscon <mluscon at redhat.com> 6.0-7
+- Resolves: #884679 - zip files with bzip2 compression
+
- Fix minor manpage spelling mistake
Resolves: #675454
More information about the scm-commits
mailing list