summaryrefslogtreecommitdiffstats
path: root/whiteout.py
blob: 5888a063e812a9051c151055bc9c788d863d2acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#
# whiteout.py - dependency whiteout setup
#
# Copyright 2002  Red Hat, Inc.
#

import rpm
import rhpl.arch

# set DB_PRIVATE to make rpm happy...  do it in here since we include
# this with all of the useful rpm bits
rpm.addMacro("__dbi_cdb", "create private mpool mp_mmapsize=16Mb mp_size=1Mb")

whiteout="""
	pango-gtkbeta-devel>pango-gtkbeta\
	XFree86>Mesa			\
	compat-glibc>db2		\
	compat-glibc>db1		\
	pam>initscripts			\
	initscripts>sysklogd            \
	arts>kdelibs-sound              \
	libgnomeprint15>gnome-print	\
	nautilus>nautilus-mozilla	\
	tcl>postgresql-tcl              \
	libtermcap>bash			\
	modutils>vixie-cron		\
	ypbind>yp-tools			\
	ghostscript-fonts>ghostscript	\
        usermode>util-linux             \
        control-center>xscreensaver     \
        kdemultimedia-arts>kdemultimedia-libs \
        initscripts>util-linux          \
        XFree86-libs>XFree86-Mesa-libGL \
        mysql>perl-DBD-MySQL            \
        ghostscript>gimp-print          \
        bind>bind-utils                 \
        perl>mod_perl                   \
        perl>perl-Filter                \
        coreutils>pam                   \
        perl>mrtg                       \
        perl-Date-Calc>perl-Bit-Vector  \
        glibc-debug>glibc-devel \
	xinitrc>XFree86 \
	xemacs>apel-xemacs \
	gstreamer-tools>gstreamer \
	gimp>gimp-print-plugin \
        redhat-lsb>redhat-lsb \
        info>ncurses \
        aspell>aspell-en \
        dbus>dbus-glib \
        openjade>docbook-dtds \
        xemacs>xemacs-sumo \
        ncurses>gpm
"""

rpm.addMacro("_dependency_whiteout", whiteout)

# ts coloring, more hacks to workaround #92285
if (rhpl.arch.canonArch.startswith("ppc64") or
    rhpl.arch.canonArch in ("s390x", "sparc64", "x86_64", "ia64")):
    rpm.addMacro("_transaction_color", "3")