1 Summary: Create deltas between rpms
7 URL: http://www.novell.com/products/linuxpackages/professional/deltarpm.html
9 Source0: ftp://ftp.suse.com/pub/projects/deltarpm/%{name}-%{version}.tar.bz2
10 # Source0-md5: cac779a18a1bc256fb6497526a83ac82
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 BuildRequires: bzip2-devel
15 BuildRequires: rpm-devel
17 Patch0: %{name}-3.4-multilib-workaround.patch
18 Patch1: %{name}-3.4-multilib-include-colored.patch
19 Patch2: %{name}-3.4-prelink-bugfix.patch
20 Patch3: %{name}-3.4-no-skip-doc.patch
21 Patch4: %{name}-3.4-pld.patch
24 A deltarpm contains the difference between an old and a new version of
25 a rpm, which makes it possible to recreate the new rpm from the
26 deltarpm and the old one. You don't have to have a copy of the old
27 rpm, deltarpms can also work with installed rpms.
38 %{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
39 bindir=%{_bindir} mandir=%{_mandir} prefix=%{_prefix}
42 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc LICENSE.BSD README
53 %attr(755,root,root) %{_bindir}/applydeltaiso
54 %attr(755,root,root) %{_bindir}/applydeltarpm
55 %attr(755,root,root) %{_bindir}/combinedeltarpm
56 %attr(755,root,root) %{_bindir}/drpmsync
57 %attr(755,root,root) %{_bindir}/fragiso
58 %attr(755,root,root) %{_bindir}/makedeltaiso
59 %attr(755,root,root) %{_bindir}/makedeltarpm
60 %attr(755,root,root) %{_bindir}/rpmdumpheader