Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37727771
en ru br
ALT Linux repos
S:4.3-alt2
5.0: 4.3-alt1
4.1: 4.3-alt1
4.0: 4.3-alt1

Other repositories

Group :: File tools
RPM: bsdiff

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Summary: Binary diff/patch utility
Name: bsdiff
Version: 4.3
Release: alt2
Group: File tools
License: BSD-2-Clause
Packager: Fr. Br. George <george at altlinux.org>
URL: https://www.daemonology.net/bsdiff/
Source: %name-%version.tar
BuildRequires: gcc bzlib-devel

%description
bsdiff and bspatch are tools for building and applying patches to
binary files. By using suffix sorting (specifically, Larsson and
Sadakane's qsufsort) and taking advantage of how executable files
change, bsdiff routinely produces binary patches 50-80%% smaller
than those produced by Xdelta, and 15%% smaller than those produced
by .RTPatch.

%prep
%setup

%build
%__cc %optflags bsdiff.c -lbz2 -o bsdiff
%__cc %optflags bspatch.c -lbz2 -o bspatch

%install
install -D -s bsdiff %buildroot%_bindir/bsdiff
install -D -s bspatch %buildroot%_bindir/bspatch

install -D bsdiff.1 %buildroot%_mandir/man1/bsdiff.1
install -D bspatch.1 %buildroot%_mandir/man1/bspatch.1

%files
%_bindir/bsdiff
%_bindir/bspatch
%_mandir/man1/bsdiff.1*
%_mandir/man1/bspatch.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin