|
|
b89b5a |
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
b89b5a |
|
|
|
b89b5a |
%if 0%{?fedora} > 12
|
|
|
b89b5a |
%global with_python3 1
|
|
|
b89b5a |
%endif
|
|
|
b89b5a |
|
|
|
b89b5a |
Summary: Create deltas between rpms
|
|
|
b89b5a |
Name: deltarpm
|
|
|
b89b5a |
Version: 3.6
|
|
|
b89b5a |
Release: 3%{?dist}
|
|
|
b89b5a |
License: BSD
|
|
|
b89b5a |
Group: System Environment/Base
|
|
|
b89b5a |
URL: http://gitorious.org/deltarpm/deltarpm
|
|
|
b89b5a |
Source: ftp://ftp.suse.com/pub/projects/deltarpm/%{name}-%{version}.tar.bz2
|
|
|
b89b5a |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
b89b5a |
|
|
|
b89b5a |
BuildRequires: bzip2-devel, xz-devel, rpm-devel, popt-devel
|
|
|
b89b5a |
BuildRequires: zlib-devel
|
|
|
b89b5a |
BuildRequires: python-devel
|
|
|
b89b5a |
|
|
|
b89b5a |
%if 0%{?with_python3}
|
|
|
b89b5a |
BuildRequires: python3-devel
|
|
|
b89b5a |
%endif
|
|
|
b89b5a |
|
|
|
b89b5a |
%description
|
|
|
b89b5a |
A deltarpm contains the difference between an old
|
|
|
b89b5a |
and a new version of a rpm, which makes it possible
|
|
|
b89b5a |
to recreate the new rpm from the deltarpm and the old
|
|
|
b89b5a |
one. You don't have to have a copy of the old rpm,
|
|
|
b89b5a |
deltarpms can also work with installed rpms.
|
|
|
b89b5a |
|
|
|
b89b5a |
%package -n drpmsync
|
|
|
b89b5a |
Summary: Sync a file tree with deltarpms
|
|
|
b89b5a |
Group: System Environment/Base
|
|
|
b89b5a |
Requires: deltarpm%{_isa} = %{version}-%{release}
|
|
|
b89b5a |
|
|
|
b89b5a |
%description -n drpmsync
|
|
|
b89b5a |
This package contains a tool to sync a file tree with
|
|
|
b89b5a |
deltarpms.
|
|
|
b89b5a |
|
|
|
b89b5a |
%package -n deltaiso
|
|
|
b89b5a |
Summary: Create deltas between isos containing rpms
|
|
|
b89b5a |
Group: System Environment/Base
|
|
|
b89b5a |
Requires: deltarpm%{_isa} = %{version}-%{release}
|
|
|
b89b5a |
|
|
|
b89b5a |
%description -n deltaiso
|
|
|
b89b5a |
This package contains tools for creating and using deltasisos,
|
|
|
b89b5a |
a difference between an old and a new iso containing rpms.
|
|
|
b89b5a |
|
|
|
b89b5a |
%package -n python-deltarpm
|
|
|
b89b5a |
Summary: Python bindings for deltarpm
|
|
|
b89b5a |
Group: System Environment/Base
|
|
|
b89b5a |
Requires: deltarpm%{_isa} = %{version}-%{release}
|
|
|
b89b5a |
|
|
|
b89b5a |
%description -n python-deltarpm
|
|
|
b89b5a |
This package contains python bindings for deltarpm.
|
|
|
b89b5a |
|
|
|
b89b5a |
%if 0%{?with_python3}
|
|
|
b89b5a |
%package -n python3-deltarpm
|
|
|
b89b5a |
Summary: Python bindings for deltarpm
|
|
|
b89b5a |
Group: System Environment/Base
|
|
|
b89b5a |
Requires: deltarpm%{_isa} = %{version}-%{release}
|
|
|
b89b5a |
|
|
|
b89b5a |
%description -n python3-deltarpm
|
|
|
b89b5a |
This package contains python bindings for deltarpm.
|
|
|
b89b5a |
%endif
|
|
|
b89b5a |
|
|
|
b89b5a |
|
|
|
b89b5a |
%prep
|
|
|
b89b5a |
%setup -q
|
|
|
b89b5a |
|
|
|
b89b5a |
%build
|
|
|
b89b5a |
%{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
b89b5a |
bindir=%{_bindir} libdir=%{_libdir} mandir=%{_mandir} prefix=%{_prefix} \
|
|
|
b89b5a |
zlibbundled='' zlibldflags='-lz' zlibcppflags=''
|
|
|
b89b5a |
%{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
b89b5a |
bindir=%{_bindir} libdir=%{_libdir} mandir=%{_mandir} prefix=%{_prefix} \
|
|
|
b89b5a |
zlibbundled='' zlibldflags='-lz' zlibcppflags='' \
|
|
|
b89b5a |
python
|
|
|
b89b5a |
|
|
|
b89b5a |
%install
|
|
|
b89b5a |
%{__rm} -rf %{buildroot}
|
|
|
b89b5a |
%makeinstall pylibprefix=%{buildroot}
|
|
|
b89b5a |
|
|
|
b89b5a |
%if 0%{?with_python3}
|
|
|
b89b5a |
# nothing to do
|
|
|
b89b5a |
%else
|
|
|
b89b5a |
rm -rf %{buildroot}%{_libdir}/python3*
|
|
|
b89b5a |
%endif
|
|
|
b89b5a |
|
|
|
b89b5a |
|
|
|
b89b5a |
%clean
|
|
|
b89b5a |
%{__rm} -rf %{buildroot}
|
|
|
b89b5a |
|
|
|
b89b5a |
%files
|
|
|
b89b5a |
%defattr(-, root, root, 0755)
|
|
|
b89b5a |
%doc LICENSE.BSD README
|
|
|
b89b5a |
%doc %{_mandir}/man8/applydeltarpm*
|
|
|
b89b5a |
%doc %{_mandir}/man8/makedeltarpm*
|
|
|
b89b5a |
%doc %{_mandir}/man8/combinedeltarpm*
|
|
|
b89b5a |
%{_bindir}/applydeltarpm
|
|
|
b89b5a |
%{_bindir}/combinedeltarpm
|
|
|
b89b5a |
%{_bindir}/makedeltarpm
|
|
|
b89b5a |
%{_bindir}/rpmdumpheader
|
|
|
b89b5a |
|
|
|
b89b5a |
%files -n deltaiso
|
|
|
b89b5a |
%defattr(-, root, root, 0755)
|
|
|
b89b5a |
%doc LICENSE.BSD README
|
|
|
b89b5a |
%doc %{_mandir}/man8/applydeltaiso*
|
|
|
b89b5a |
%doc %{_mandir}/man8/makedeltaiso*
|
|
|
b89b5a |
%doc %{_mandir}/man8/fragiso*
|
|
|
b89b5a |
%{_bindir}/applydeltaiso
|
|
|
b89b5a |
%{_bindir}/fragiso
|
|
|
b89b5a |
%{_bindir}/makedeltaiso
|
|
|
b89b5a |
|
|
|
b89b5a |
%files -n drpmsync
|
|
|
b89b5a |
%defattr(-, root, root, 0755)
|
|
|
b89b5a |
%doc LICENSE.BSD README
|
|
|
b89b5a |
%doc %{_mandir}/man8/drpmsync*
|
|
|
b89b5a |
%{_bindir}/drpmsync
|
|
|
b89b5a |
|
|
|
b89b5a |
%files -n python-deltarpm
|
|
|
b89b5a |
%defattr(-, root, root, 0755)
|
|
|
b89b5a |
%doc LICENSE.BSD
|
|
|
b89b5a |
%{python_sitearch}/*
|
|
|
b89b5a |
|
|
|
b89b5a |
%if 0%{?with_python3}
|
|
|
b89b5a |
|
|
|
b89b5a |
%files -n python3-deltarpm
|
|
|
b89b5a |
%defattr(-, root, root, 0755)
|
|
|
b89b5a |
%doc LICENSE.BSD
|
|
|
b89b5a |
%{python3_sitearch}/*
|
|
|
b89b5a |
|
|
|
b89b5a |
%endif
|
|
|
b89b5a |
|
|
|
b89b5a |
%changelog
|
|
|
b89b5a |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 3.6-3
|
|
|
b89b5a |
- Mass rebuild 2014-01-24
|
|
|
b89b5a |
|
|
|
b89b5a |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 3.6-2
|
|
|
b89b5a |
- Mass rebuild 2013-12-27
|
|
|
b89b5a |
|
|
|
b89b5a |
* Thu Jun 20 2013 Jonathan Dieter <jdieter@lesbg.com> - 3.6-1
|
|
|
b89b5a |
- Update to 3.6 which, among other things, fixes a bug when applying a deltarpm
|
|
|
b89b5a |
to create a gzip-compressed rpm using full compression
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon May 20 2013 Jonathan Dieter <jdieter@lesbg.com> - 3.6-0.13.20130520git
|
|
|
b89b5a |
- Clearer error message when applydeltaiso fails (#825428) (Thanks, John!)
|
|
|
b89b5a |
- Add details to applydeltaiso and makedeltaiso man pages (#569499)
|
|
|
b89b5a |
- Add fragiso man page to deltaiso package (#569776)
|
|
|
b89b5a |
- Fix section for applydeltaiso (#548970)
|
|
|
b89b5a |
- Add arch-specific requires (#677060)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-0.12.20110223git
|
|
|
b89b5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b89b5a |
|
|
|
b89b5a |
* Fri Aug 03 2012 David Malcolm <dmalcolm@redhat.com> - 3.6-0.11.20110223git
|
|
|
b89b5a |
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
b89b5a |
|
|
|
b89b5a |
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 3.6-0.10.20110223git
|
|
|
b89b5a |
- remove rhel logic from with_python3 conditional
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-0.9.20110223git
|
|
|
b89b5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Mar 20 2012 Jindrich Novy <jnovy@redhat.com> - 3.6-0.8.20110223git
|
|
|
b89b5a |
- rebuild against new rpm
|
|
|
b89b5a |
|
|
|
b89b5a |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-0.7.20110223git
|
|
|
b89b5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Feb 23 2011 - Jonathan Dieter <jdieter@lesbg.com> - 3.6-0.6.20110223git
|
|
|
b89b5a |
- Fix makedeltaiso so it (partially) works when compression formats change
|
|
|
b89b5a |
- Fix fix for makedeltaiso so it gets checksums right
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-0.5.20110121git
|
|
|
b89b5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
b89b5a |
|
|
|
b89b5a |
* Fri Jan 21 2011 - Jonathan Dieter <jdieter@lesbg.com> - 3.6-0.4.20110121git
|
|
|
b89b5a |
- Python 3 module now works again
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Jan 18 2011 - Jonathan Dieter <jdieter@lesbg.com> - 3.6-0.4.20110118git
|
|
|
b89b5a |
- Re-enable Python 3 support, but it still won't work even though it builds
|
|
|
b89b5a |
- Remove upstreamed patches
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Jan 18 2011 - Richard W.M. Jones <rjones@redhat.com> - 3.6-0.3.20101230git
|
|
|
b89b5a |
- Disable Python 3 support, since it is quite broken.
|
|
|
b89b5a |
|
|
|
b89b5a |
* Thu Dec 30 2010 Jonathan Dieter <jdieter@lesbg.com> - 3.6-0.1.20101230git
|
|
|
b89b5a |
- Update to current git
|
|
|
b89b5a |
- Temporary extra verbosity patch
|
|
|
b89b5a |
- Add groups to subpackages for EL5
|
|
|
b89b5a |
|
|
|
b89b5a |
* Thu Jul 8 2010 Jonathan Dieter <jdieter@lesbg.com> - 3.6-0.1.20100708git
|
|
|
b89b5a |
- Deltarpm can now limit memory usage when generating deltarpms
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Feb 10 2010 Thomas Spura <tomspur@fedoraproject.org> - 3.5-0.7.20100121git
|
|
|
b89b5a |
- build python3-deltarpm
|
|
|
b89b5a |
|
|
|
b89b5a |
* Thu Jan 21 2010 Jonathan Dieter <jdieter@lesbg.com> - 3.5-0.6.20100121git
|
|
|
b89b5a |
- Make rpmio link explicit
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Dec 08 2009 Jesse Keating <jkeating@redhat.com> - 3.5-0.5.20090913git
|
|
|
b89b5a |
- Rebuild for new rpm
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Sep 30 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.5-0.4.20090913git
|
|
|
b89b5a |
- Update patch to properly detect when an rpm is built with an rsync-friendly
|
|
|
b89b5a |
zlib and bail out.
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Sep 30 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.5-0.3.20090913git
|
|
|
b89b5a |
- Make building with system zlib selectable at build time.
|
|
|
b89b5a |
- Fix cfile_detect_rsync() to detect rsync even if we don't have a zlib capable
|
|
|
b89b5a |
of making rsync-friendly compressed files.
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Sep 30 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.5-0.2.20090913git
|
|
|
b89b5a |
- Correct prerelease rlease numbering.
|
|
|
b89b5a |
- Build against the system zlib, not the bundled library. This remedies the
|
|
|
b89b5a |
fact that the included zlib is affected by CAN-2005-1849.
|
|
|
b89b5a |
|
|
|
b89b5a |
* Sun Sep 13 2009 Jonathan Dieter <jdieter@lesbg.com> - 3.5-0.git.20090913
|
|
|
b89b5a |
- Merge python error patch upstream
|
|
|
b89b5a |
|
|
|
b89b5a |
* Thu Sep 10 2009 Bill Nottingham <notting@redhat.com> - 3.5-0.git.20090831.1.4
|
|
|
b89b5a |
- fix python bindings to not require kernel >= 2.6.27
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Sep 9 2009 Bill Nottingham <notting@redhat.com> - 3.5-0.git.20090831.1.3
|
|
|
b89b5a |
- fix python bindings to:
|
|
|
b89b5a |
- call _exit(), not exit()
|
|
|
b89b5a |
- properly pythonize errors
|
|
|
b89b5a |
- not leak file descriptors
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon Aug 31 2009 Jonathan Dieter <jdieter@lesbg.com> - 3.5-0.git.20090831.1
|
|
|
b89b5a |
- Add python bindings sub-package
|
|
|
b89b5a |
- Fix build error
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon Aug 17 2009 Jonathan Dieter <jdieter@gmail.com> - 3.5-0.git.20090729.1
|
|
|
b89b5a |
- Explain where we get the source from
|
|
|
b89b5a |
- Split *deltaiso commands into deltaiso subpackage (#501953)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Jul 29 2009 Jonathan Dieter <jdieter@gmail.com> - 3.5-0.git.20090729
|
|
|
b89b5a |
- Fix bug in writing Fedora's xz-compressed rpms (surely that's the last one)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon Jul 27 2009 Jonathan Dieter <jdieter@gmail.com> - 3.5-0.git.20090727.1
|
|
|
b89b5a |
- Fix bug in reading Fedora's xz-compressed rpms
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon Jul 27 2009 Jonathan Dieter <jdieter@gmail.com> - 3.5-0.git.20090727
|
|
|
b89b5a |
- Update to current upstream git repository
|
|
|
b89b5a |
- Add upstream xz compression support
|
|
|
b89b5a |
- Drop all patches (they're now in upstream)
|
|
|
b89b5a |
- Fix spelling mistakes (#505713)
|
|
|
b89b5a |
- Fix url error (#506179)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-17
|
|
|
b89b5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Apr 22 2009 Jonathan Dieter <jdieter@gmail.com> - 3.4-16
|
|
|
b89b5a |
- Split drpmsync into a separate subpackage (#489231)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Thu Mar 26 2009 Jonathan Dieter <jdieter@gmail.com> - 3.4-15
|
|
|
b89b5a |
- Fix bug when checking sequence with new sha256 file digests
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Mar 24 2009 Jonathan Dieter <jdieter@gmail.com> - 3.4-14
|
|
|
b89b5a |
- Add support for rpms with sha256 file digests
|
|
|
b89b5a |
|
|
|
b89b5a |
* Fri Mar 06 2009 Jesse Keating <jkeating@redhat.com> - 3.4-13
|
|
|
b89b5a |
- Rebuild for new rpm libs
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4-12
|
|
|
b89b5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b89b5a |
|
|
|
b89b5a |
* Sun Jul 13 2008 Jonathan Dieter <jdieter@gmail.com> - 3.4-11
|
|
|
b89b5a |
- Rebuild for rpm 4.6
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.4-10
|
|
|
b89b5a |
- Autorebuild for GCC 4.3
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon Jan 7 2008 Jonathan Dieter <jdieter@gmail.com> - 3.4-9
|
|
|
b89b5a |
- Add patch that allows deltarpm to rebuild rpms from deltarpms that have
|
|
|
b89b5a |
had the rpm signature added after their creation. The code came from
|
|
|
b89b5a |
upstream.
|
|
|
b89b5a |
- Drop nodoc patch added in 3.4-4 as most packages in repository have been
|
|
|
b89b5a |
updated since April-May 2007 and this patch was supposed to be temporary.
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Aug 29 2007 Jonathan Dieter <jdieter@gmail.com> - 3.4-6
|
|
|
b89b5a |
- Bring in popt-devel in BuildRequires to fix build in x86_64
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 3.4-5
|
|
|
b89b5a |
- Rebuild for selinux ppc32 issue.
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed Jul 11 2007 Jonathan Dieter <jdieter@gmail.com> - 3.4-4
|
|
|
b89b5a |
- Fix prelink bug
|
|
|
b89b5a |
- Ignore verify bits on doc files as they were set incorrectly in older
|
|
|
b89b5a |
versions of rpm. Without this patch, deltarpm will not delta doc files
|
|
|
b89b5a |
in rpm created before April-May 2007
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Jun 5 2007 Jeremy Katz <katzj@redhat.com> - 3.4-3
|
|
|
b89b5a |
- include colored binaries from non-multilib-dirs so that deltas can work
|
|
|
b89b5a |
on multilib platforms
|
|
|
b89b5a |
|
|
|
b89b5a |
* Wed May 09 2007 Adam Jackson <ajax@redhat.com> 3.4-2
|
|
|
b89b5a |
- Add -a flag to work around multilib ignorance. (#238964)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Mar 06 2007 Adam Jackson <ajax@redhat.com> 3.4-1
|
|
|
b89b5a |
- Update to 3.4 (#231154)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon Feb 12 2007 Adam Jackson <ajax@redhat.com> 3.3-7
|
|
|
b89b5a |
- Add RPM_OPT_FLAGS to make line. (#227380)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon Feb 05 2007 Adam Jackson <ajax@redhat.com> 3.3-6
|
|
|
b89b5a |
- Fix rpm db corruption in rpmdumpheader. (#227326)
|
|
|
b89b5a |
|
|
|
b89b5a |
* Mon Sep 11 2006 Mihai Ibanescu <misa@redhat.com> - 3.3-5
|
|
|
b89b5a |
- Rebuilding for new toolset
|
|
|
b89b5a |
|
|
|
b89b5a |
* Thu Aug 17 2006 Mihai Ibanescu <misa@redhat.com> - 3.3-4
|
|
|
b89b5a |
- Removing BuildRequires: gcc
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Aug 15 2006 Mihai Ibanescu <misa@redhat.com> - 3.3-3
|
|
|
b89b5a |
- Fedora packaging guidelines build
|
|
|
b89b5a |
|
|
|
b89b5a |
* Tue Aug 8 2006 Mihai Ibanescu <misa@redhat.com> - 3.3-2
|
|
|
b89b5a |
- Added BuildRequires: rpm-devel, gcc
|
|
|
b89b5a |
|
|
|
b89b5a |
* Sat Dec 03 2005 Dries Verachtert <dries@ulyssis.org> - 3.3-1 - 3768/dries
|
|
|
b89b5a |
- Initial package.
|