Group :: Ferramentas de Arquivo
RPM: bsdiff
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Summary: Binary diff/patch utility
Name: bsdiff
Version: 4.3
Release: alt1
Group: File tools
License: BSD
URL: http://www.daemonology.net/bsdiff/
Source: http://www.daemonology.net/bsdiff/%name-%version.tar.gz
BuildRequires: 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 -q
%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
…
Todas as alterações você pod ver aqui
Name: bsdiff
Version: 4.3
Release: alt1
Group: File tools
License: BSD
URL: http://www.daemonology.net/bsdiff/
Source: http://www.daemonology.net/bsdiff/%name-%version.tar.gz
BuildRequires: 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 -q
%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
…
Todas as alterações você pod ver aqui