Commit 931564e5 authored by bescoto's avatar bescoto

Changes for librsync 0.9.6


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@384 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent e91165b0
New in v0.13.1 (2003/08/??)
---------------------------
Patch by Arkadiusz Patyk fixes building with Python 2.3c1.
Restore of archives made by 0.10.x and earlier fixed, although hard
link information is not restored unless it is current in the mirror.
(Bug reported by Jeff Lessem.)
......@@ -16,8 +14,13 @@ Patch by Jeffrey Marshall fixes socket/fifo recognition on Mac OS X
Patch by Jeffrey Marshall fixes --calculate-average mode, which seems
to have broken recently.
rdiff-backup should now work with python 2.3. Thanks to Arkadiusz
Miskiewicz for bug reports.
rdiff-backup should now work and build with python 2.3. Thanks to
Arkadiusz Miskiewicz and Arkadiusz Patyk for bug reports and a patch.
rdiff-backup now builds and requires librsync 0.9.6. This version
should be much better than the old one and everyone should probably
upgrade. Much thanks to Donovan Baarda for all the work that went
into this release.
New in v0.13.0 (2003/07/22)
......
#!/usr/bin/env python
import os, sys, re
import os, sys
rpmroot = "/home/ben/rpm"
rpmroot = os.path.join(os.environ['HOME'], 'rpm')
if len(sys.argv) == 2:
version = sys.argv[1]
Version = sys.argv[1]
specfile = "rdiff-backup.spec"
print "Using specfile %s" % specfile
else:
print "Syntax: %s version_number" % sys.argv[0]
sys.exit(1)
base = "rdiff-backup-%s" % (version,)
base = "rdiff-backup-%s" % (Version,)
tarfile = base + ".tar.gz"
rpmbase = base + "-0.fdr.1" # Fedora suffix, with release number 1
rpmbase = base + "-0.fdr.3" # Fedora suffix, with release number 1
i386_rpm = rpmbase + ".i386.rpm"
source_rpm = rpmbase + ".src.rpm"
......
......@@ -3,15 +3,15 @@
Version: $version
Summary: Convenient and transparent local/remote incremental mirror/backup
Name: rdiff-backup
Release: 0.fdr.1
Release: 0.fdr.3
Epoch: 0
URL: http://rdiff-backup.stanford.edu/
Source: http://rdiff-backup.stanford.edu/%{name}-%{version}.tar.gz
Source: http://rdiff-backup.stanford.edu/OLD/%{version}/%{name}-%{version}.tar.gz
License: GPL
Group: Applications/Archiving
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: librsync >= 0.9.5.1, %{PYTHON_NAME} >= 2.2
BuildPrereq: %{PYTHON_NAME}-devel >= 2.2, librsync-devel >= 0.9.5.1
Requires: librsync >= 0.9.6, %{PYTHON_NAME} >= 2.2
BuildPrereq: %{PYTHON_NAME}-devel >= 2.2, librsync-devel >= 0.9.6
%description
rdiff-backup is a script, written in Python, that backs up one
......@@ -45,6 +45,9 @@ differences from the previous backup will be transmitted.
%doc CHANGELOG COPYING FAQ.html README
%changelog
* Thu Aug 8 2003 Ben Escoto <bescoto@stanford.edu>
- Set librsync >= 0.9.6, because rsync.h renamed to librsync.h
* Sun Jul 20 2003 Ben Escoto <bescoto@stanford.edu>
- Minor changes to comply with Fedora standards.
......
......@@ -22,7 +22,7 @@
* ----------------------------------------------------------------------- */
#include <Python.h>
#include <rsync.h>
#include <librsync.h>
#define RS_JOB_BLOCKSIZE 65536
static PyObject *librsyncError;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment