Hello community, here is the log from the commit of package pixz for openSUSE:Factory checked in at 2015-09-24 06:15:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pixz (Old) and /work/SRC/openSUSE:Factory/.pixz.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pixz" Changes: -------- --- /work/SRC/openSUSE:Factory/pixz/pixz.changes 2014-10-29 21:11:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pixz.new/pixz.changes 2015-09-24 06:16:01.000000000 +0200 @@ -1,0 +2,26 @@ +Mon Sep 21 11:01:23 UTC 2015 - astieger@suse.com + +- pixz 1.0.5: + * add htole64 and le64toh on glibc < 2.9 + replacing local patch pixz-endianess-functions.patch + +------------------------------------------------------------------- +Sat Sep 19 20:26:01 UTC 2015 - astieger@suse.com + +- pixz 1.0.4: + * move manpage generation to bootstrap +- pixz 1.0.3: + * complete autotools build + * large-file support for 32-bit systems + * creates output file with permissions of input file (if possible, + i.e. not reading from stdin) + * better error messages on incorrect input path + * list main differences between pixz and xz in README + * fix issue with extreme (-e) command line option parsing + * adds keep input (-k) command line option +- packaging changes: + * drop pixz-underlinking.patch, no longer required with autotools + * remove pixz-use-static.patch, now using configure + * tweaks to build on CentOS and RHEL + +------------------------------------------------------------------- Old: ---- pixz-1.0.2.tgz pixz-endianess-functions.patch pixz-underlinking.patch pixz-use-static.patch New: ---- pixz-1.0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pixz.spec ++++++ --- /var/tmp/diff_new_pack.qS2w7m/_old 2015-09-24 06:16:02.000000000 +0200 +++ /var/tmp/diff_new_pack.qS2w7m/_new 2015-09-24 06:16:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package pixz # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,66 +16,76 @@ # -%if ( 0%{?centos_version} && 0%{?centos_version} <= 600 ) || 0%{?rhel_version} -%define use_static_libs 1 -%define patch_missing_endianess_functions 1 +%if ( 0%{?centos_version} && 0%{?centos_version} < 700 ) || ( 0%{?rhel_version} && 0%{?rhel_version} <= 700 ) +%define use_static_libarchive 1 %else -%define use_static_libs 0 -%define patch_missing_endianess_functions 0 +%define use_static_libarchive 0 +%endif + +%if ( 0%{?centos_version} && 0%{?centos_version} < 700 ) || ( 0%{?rhel_version} && 0%{?rhel_version} < 700 ) +%define use_static_lzma 1 +%else +%define use_static_lzma 0 %endif Name: pixz -Version: 1.0.2 +Version: 1.0.5 Release: 0 Summary: Parallel, indexing version of XZ License: BSD-2-Clause Group: Productivity/Archiving/Compression Url: https://github.com/vasi/pixz -Source: http://sourceforge.net/projects/pixz/files/pixz-%{version}.tgz -Patch1: pixz-underlinking.patch -Patch2: pixz-use-static.patch -Patch3: pixz-endianess-functions.patch -%if 0%{?use_static_libs} +Source: https://github.com/vasi/pixz/releases/download/v%{version}/%{name}-%{version}.tar.gz +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{use_static_libarchive} BuildRequires: libarchive-static-devel >= 2.8 +%else +%if 0%{?suse_version} <= 1110 +BuildRequires: libarchive-devel >= 2.8 +%else +BuildRequires: pkgconfig(libarchive) >= 2.8 +%endif +%endif +%if %{use_static_lzma} BuildRequires: xz-static-devel >= 4.999.9-beta-212 %else -BuildRequires: libarchive-devel -BuildRequires: xz-devel +%if 0%{?suse_version} <= 1110 +BuildRequires: xz-devel >= 4.999.9-beta-212 +%else +BuildRequires: pkgconfig(liblzma) >= 4.999.9-beta-212 +%endif %endif - -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -The existing XZ Utils ( http://tukaani.org/xz/ ) provide great compression in the .xz file format, -but they have two significant problems: +The existing XZ Utils provide great compression in the .xz file format, but +they produce just one big block of compressed data. Pixz instead produces a +collection of smaller blocks which makes random access to the original data +possible. This is especially useful for large tarballs. -* They are single-threaded, while most users nowadays have multi-core computers. -* The .xz files they produce are just one big block of compressed data, - rather than a collection of smaller blocks. This makes random access to the original data impossible. +Pixz supports automatic indexing and parallel compression and decompression +using all available CPU cores. %prep %setup -q -%patch1 -p1 -%if 0%{?use_static_libs} -%patch2 -p1 + +%build +%if %{use_static_libarchive} +export LIBARCHIVE_LIBS="-Wl,-Bstatic -larchive -Wl,-Bdynamic" %endif -%if 0%{?patch_missing_endianess_functions} -%patch3 -p1 +%if %{use_static_lzma} +export LZMA_LIBS="-Wl,-Bstatic -llzma -Wl,-Bdynamic" %endif +%configure -%build -make %{?_smp_mflags} CFLAGS="%{optflags}" +make %{?_smp_mflags} %install -mkdir -p %{buildroot}/%{_bindir} -mkdir -p %{buildroot}/%{_mandir}/man1/ - -install -m 0755 pixz %{buildroot}/%{_bindir}/pixz -install -m 0644 pixz.1 %{buildroot}/%{_mandir}/man1/pixz.1 +make DESTDIR=%{buildroot} install %{?_smp_mflags} %files %defattr(-,root,root) -%doc TODO README LICENSE +%doc NEWS TODO README.md LICENSE %{_bindir}/pixz %{_mandir}/man1/pixz.1.gz