Ticket #79: debian-disable-rpm.patch
| File debian-disable-rpm.patch, 2.7 kB (added by nijel, 3 years ago) |
|---|
-
a/configure.ac
old new 700 700 701 701 AM_CONDITIONAL(PYTHON,[test "$WITH_PYTHON_SUBPACKAGE" = 1]) 702 702 703 AC_ARG_WITH(debian, [ --with-debian build rpm for usage on Debian],[AC_DEFINE(ON_DEBIAN, 1, [Define as 1 if you do not want to use rpm for installing packages])]) 704 703 705 AC_PATH_PROG(DOXYGEN, doxygen, no) 704 706 dnl 705 707 dnl Only build internal API + source hacking docs on request … … 986 988 esac 987 989 RPMCANONVENDOR="$build_vendor" 988 990 case "${build_vendor}" in 989 unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr|yellowdog|caos|suse )991 unknown|pc|ibm|redhat|pld|mandrake|conectiva|lvr|yellowdog|caos|suse|debian) 990 992 test -f /etc/redhat-release && RPMCANONVENDOR=redhat 991 993 test -f /etc/SuSE-release && RPMCANONVENDOR=suse 992 994 test -f /etc/pld-release && RPMCANONVENDOR=pld -
a/lib/rpmps.h
old new 28 28 RPMPROB_FILTER_REPLACEOLDFILES= (1 << 5), /*!< from --replacefiles */ 29 29 RPMPROB_FILTER_OLDPACKAGE = (1 << 6), /*!< from --oldpackage */ 30 30 RPMPROB_FILTER_DISKSPACE = (1 << 7), /*!< from --ignoresize */ 31 RPMPROB_FILTER_DISKNODES = (1 << 8) /*!< from --ignoresize */ 31 RPMPROB_FILTER_DISKNODES = (1 << 8), /*!< from --ignoresize */ 32 RPMPROB_FILTER_DEBIAN = (1 << 9) /*!< from --force-debian */ 32 33 } rpmprobFilterFlags; 33 34 34 35 /**

