Minor man page update dealing with bzip2/gzip differences
This commit is contained in:
parent
b767d7c0d2
commit
ace1f96609
@ -3,7 +3,7 @@
|
|||||||
Summary: A file compression utility
|
Summary: A file compression utility
|
||||||
Name: bzip2
|
Name: bzip2
|
||||||
Version: 1.0.8
|
Version: 1.0.8
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://www.bzip.org/
|
URL: http://www.bzip.org/
|
||||||
#Source0: http://www.bzip.org/%{version}/%{name}-%{version}.tar.gz
|
#Source0: http://www.bzip.org/%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -13,6 +13,7 @@ Source1: bzip2.pc
|
|||||||
Patch0: bzip2-saneso.patch
|
Patch0: bzip2-saneso.patch
|
||||||
Patch1: bzip2-cflags.patch
|
Patch1: bzip2-cflags.patch
|
||||||
Patch2: bzip2-ldflags.patch
|
Patch2: bzip2-ldflags.patch
|
||||||
|
Patch3: man_gzipdiff.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -56,6 +57,7 @@ Static libraries for applications using the bzip2 compression format.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p2
|
||||||
|
|
||||||
cp -a %{SOURCE1} .
|
cp -a %{SOURCE1} .
|
||||||
sed -i "s|^libdir=|libdir=%{_libdir}|" bzip2.pc
|
sed -i "s|^libdir=|libdir=%{_libdir}|" bzip2.pc
|
||||||
@ -134,6 +136,10 @@ ln -s bzgrep.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzfgrep.1
|
|||||||
%{_libdir}/pkgconfig/bzip2.pc
|
%{_libdir}/pkgconfig/bzip2.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 29 2021 Jakub Martisko <jamartis@redhat.com> - 1.0.8-6
|
||||||
|
- Minor man pgae update (gzip/bzip2 differnces)
|
||||||
|
resolves: #1897104
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-5
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
20
man_gzipdiff.patch
Normal file
20
man_gzipdiff.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
--- ./bzip2-1.0.8/bzip2.1 2019-07-13 19:50:05.000000000 +0200
|
||||||
|
+++ ./bzip2-1.0.8/bzip2.1.new 2021-01-29 11:51:04.091430407 +0100
|
||||||
|
@@ -170,6 +170,17 @@
|
||||||
|
to try to recover data from
|
||||||
|
damaged files.
|
||||||
|
|
||||||
|
+Unlike
|
||||||
|
+.I GNU gzip,
|
||||||
|
+.I bzip2
|
||||||
|
+will not create a cascade of
|
||||||
|
+.I .bz2
|
||||||
|
+suffixes even when using the
|
||||||
|
+.I --force
|
||||||
|
+option:
|
||||||
|
+
|
||||||
|
+ filename.bz2 dose not become filename.bz2.bz2
|
||||||
|
+
|
||||||
|
Return values: 0 for a normal exit, 1 for environmental problems (file
|
||||||
|
not found, invalid flags, I/O errors, &c), 2 to indicate a corrupt
|
||||||
|
compressed file, 3 for an internal consistency error (eg, bug) which
|
Loading…
Reference in New Issue
Block a user