diff options
author | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-01-19 09:38:08 +0000 |
---|---|---|
committer | bescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109> | 2003-01-19 09:38:08 +0000 |
commit | c4673164ac4538ad1de889826dccb7f54dacf671 (patch) | |
tree | b4982cca7cb41f0697512712df032b3484b90053 /rdiff-backup/dist | |
parent | e7424de27902be604424183742a8198b0a2f9450 (diff) | |
download | rdiff-backup-c4673164ac4538ad1de889826dccb7f54dacf671.tar.gz |
Used Python.h to handle large files instead of setup.py defines
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-10@264 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/dist')
-rwxr-xr-x | rdiff-backup/dist/makerpm | 2 | ||||
-rwxr-xr-x | rdiff-backup/dist/setup.py | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/rdiff-backup/dist/makerpm b/rdiff-backup/dist/makerpm index 8f59f65..fc510c3 100755 --- a/rdiff-backup/dist/makerpm +++ b/rdiff-backup/dist/makerpm @@ -21,7 +21,7 @@ tarfile = "-".join(base.split("-")[:-1]) + ".tar.gz" # These assume the rpm root directory $HOME/rpm. The # nonstandard location allows for building by non-root user. assert not os.system("cp %s $HOME/rpm/SOURCES" % (tarfile,)) -assert not os.system("rpm -ba --sign -vv --target i386 " + specfile) +assert not os.system("rpmbuild -ba --sign -vv --target i386 " + specfile) assert not os.system("cp $HOME/rpm/RPMS/i386/%s ." % i386rpm) assert not os.system("cp $HOME/rpm/SRPMS/%s ." % source_rpm) diff --git a/rdiff-backup/dist/setup.py b/rdiff-backup/dist/setup.py index 6841b6d..cb571cd 100755 --- a/rdiff-backup/dist/setup.py +++ b/rdiff-backup/dist/setup.py @@ -16,10 +16,7 @@ setup(name="rdiff-backup", author_email="bescoto@stanford.edu", url="http://rdiff-backup.stanford.edu", packages = ['rdiff_backup'], - ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"], - define_macros=[("_LARGEFILE_SOURCE", 1), - ("_FILE_OFFSET_BITS", 64), - ("_LARGE_FILES", 1)]), + ext_modules = [Extension("rdiff_backup.C", ["cmodule.c"]), Extension("rdiff_backup._librsync", ["_librsyncmodule.c"], libraries=["rsync"])], |