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 2e7c67a..76f01fc 100644 --- a/unzip.spec +++ b/unzip.spec @@ -1,7 +1,7 @@ Summary: A utility for unpacking zip files Name: unzip Version: 6.0 -Release: 6%{?dist} +Release: 7%{?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 6.0-7 +- Resolves: #884679 - zip files with bzip2 compression + * Sun Jul 22 2012 Fedora Release Engineering - 6.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild