Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3e8b9afc99 | |||
| 6c75417284 | |||
| 932306670d | |||
| 5dd3c4725e |
@@ -1 +1 @@
|
||||
libbzip3-0
|
||||
libbzip3-1
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7bf2369f1ea0e1f2616686348f3749607abadd957519ee09b6f11da02b1039a
|
||||
size 407569
|
||||
3
bzip3-1.5.2.tar.gz
Normal file
3
bzip3-1.5.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d10092a3842378e6d0b16992ee49f711304d88eb4efac80440338184d4b6276
|
||||
size 414230
|
||||
@@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 3 14:23:51 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- update to 1.5.2:
|
||||
* batch mode: fall back to stdin input with no auxiliary arguments.
|
||||
* bz3_compress (API): better bound estimation
|
||||
* yarg: oom handling; stop relying on (GNU) asprintf, use the baked in variant.
|
||||
* pkg-config: Add License variable
|
||||
* bz3_decompress (API): fix a memory leak
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 2 16:43:11 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 1.5.1:
|
||||
* Add `--rm` option that removes the original files after
|
||||
successful operation
|
||||
* `bz3grep`: display the correct program name on invalid
|
||||
invocation
|
||||
* Tighter LZP/RLE bounds in the decoder for slightly improved
|
||||
compression with no observable format change
|
||||
* Add the `bz3_min_memory_needed` API.
|
||||
* ABI breaking changes: `bz3_decode_block` and `bz3_encode_block`.
|
||||
* Fix: the file `$dir.bz3` being created when invoked as
|
||||
`bzip3 -e $dir` where `$dir` is a directory.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 08:48:39 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
|
||||
18
bzip3.spec
18
bzip3.spec
@@ -1,7 +1,8 @@
|
||||
#
|
||||
# spec file for package bzip3
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +17,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define libname libbzip3-0
|
||||
%define libname libbzip3-1
|
||||
Name: bzip3
|
||||
Version: 1.4.0
|
||||
Version: 1.5.2
|
||||
Release: 0
|
||||
Summary: Compressor with Burrows–Wheeler transform and PPM context modeling
|
||||
License: BSD-2-Clause AND LGPL-3.0-or-later
|
||||
@@ -58,7 +59,7 @@ Requires: %{libname} = %{version}
|
||||
Development headers and library files for BZip3.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@@ -72,9 +73,13 @@ Development headers and library files for BZip3.
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%ldconfig_scriptlets -n %{libname}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc NEWS README.md
|
||||
%{_bindir}/bunzip3
|
||||
%{_bindir}/bz3cat
|
||||
@@ -86,10 +91,11 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%files -n %{libname}
|
||||
%license LICENSE
|
||||
%{_libdir}/libbzip3.so.0
|
||||
%{_libdir}/libbzip3.so.0.0.0
|
||||
%{_libdir}/libbzip3.so.1
|
||||
%{_libdir}/libbzip3.so.1.0.0
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%{_includedir}/libbz3.h
|
||||
%{_libdir}/libbzip3.so
|
||||
%{_libdir}/pkgconfig/bzip3.pc
|
||||
|
||||
37
no-env.patch
37
no-env.patch
@@ -1,51 +1,44 @@
|
||||
Index: bzip3-1.4.0/bz3cat
|
||||
Index: bzip3-1.5.1/bz3cat
|
||||
===================================================================
|
||||
--- bzip3-1.4.0.orig/bz3cat
|
||||
+++ bzip3-1.4.0/bz3cat
|
||||
--- bzip3-1.5.1.orig/bz3cat
|
||||
+++ bzip3-1.5.1/bz3cat
|
||||
@@ -1,3 +1,3 @@
|
||||
-#!/usr/bin/env sh
|
||||
+#!/bin/sh
|
||||
|
||||
exec bzip3 -Bcd "$@"
|
||||
Index: bzip3-1.4.0/bz3grep
|
||||
Index: bzip3-1.5.1/bz3grep
|
||||
===================================================================
|
||||
--- bzip3-1.4.0.orig/bz3grep
|
||||
+++ bzip3-1.4.0/bz3grep
|
||||
--- bzip3-1.5.1.orig/bz3grep
|
||||
+++ bzip3-1.5.1/bz3grep
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env sh
|
||||
+#!/bin/sh
|
||||
#
|
||||
# Copyright (c) 2003 Thomas Klausner.
|
||||
#
|
||||
@@ -133,4 +133,4 @@ else
|
||||
set +f
|
||||
fi
|
||||
|
||||
-exit "${EXIT_CODE}"
|
||||
\ No newline at end of file
|
||||
+exit "${EXIT_CODE}"
|
||||
Index: bzip3-1.4.0/bz3less
|
||||
Index: bzip3-1.5.1/bz3less
|
||||
===================================================================
|
||||
--- bzip3-1.4.0.orig/bz3less
|
||||
+++ bzip3-1.4.0/bz3less
|
||||
--- bzip3-1.5.1.orig/bz3less
|
||||
+++ bzip3-1.5.1/bz3less
|
||||
@@ -1,2 +1,2 @@
|
||||
-#!/usr/bin/env sh
|
||||
+#!/bin/sh
|
||||
bz3cat "$@" | less
|
||||
Index: bzip3-1.4.0/bz3more
|
||||
Index: bzip3-1.5.1/bz3more
|
||||
===================================================================
|
||||
--- bzip3-1.4.0.orig/bz3more
|
||||
+++ bzip3-1.4.0/bz3more
|
||||
--- bzip3-1.5.1.orig/bz3more
|
||||
+++ bzip3-1.5.1/bz3more
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env sh
|
||||
+#!/bin/sh
|
||||
|
||||
for FILE
|
||||
do
|
||||
Index: bzip3-1.4.0/bz3most
|
||||
Index: bzip3-1.5.1/bz3most
|
||||
===================================================================
|
||||
--- bzip3-1.4.0.orig/bz3most
|
||||
+++ bzip3-1.4.0/bz3most
|
||||
--- bzip3-1.5.1.orig/bz3most
|
||||
+++ bzip3-1.5.1/bz3most
|
||||
@@ -1,2 +1,2 @@
|
||||
-#!/usr/bin/env sh
|
||||
+#!/bin/sh
|
||||
|
||||
Reference in New Issue
Block a user