Project Configuration of CentOS:8:Stream

340
 
1
Repotype: rpm-md
2
3
# Modules enabled by default
4
ExpandFlags: module:common
5
6
Preinstall: acl attr bash coreutils diffutils
7
Preinstall: filesystem glibc grep libacl libattr
8
Preinstall: libgcc m4 ncurses pam file-libs libdb
9
Preinstall: popt readline rpm sed tar zlib ncurses-libs libcap
10
Preinstall: rpm-libs pcre info libselinux sqlite sqlite-libs lua-libs libzstd
11
Preinstall: elfutils-libelf findutils neon libxcrypt openssl-libs krb5-libs
12
Preinstall: e2fsprogs-libs expat bzip2-libs libstdc++ setup libsepol
13
#Preinstall: perl-interpreter policycoreutils nspr xz-libs
14
#Preinstall: perl-constant audit-libs libcap-ng
15
#Preinstall: perl-Exporter perl-Getopt-Long
16
#Preinstall: perl-Data-Dumper perl-Carp perl-Digest-MD5
17
Preinstall: policycoreutils nspr xz-libs
18
Preinstall: audit-libs libcap-ng
19
# chkconfig provides update-alternatives needed for ld
20
Preinstall: chkconfig
21
Preinstall: perl-interpreter perl-Digest-MD5
22
23
#Runscripts: setup
24
25
VMinstall: util-linux perl-libs device-mapper libblkid libuuid libmount pcre2 libsmartcols
26
27
# From Fedora 31 and later
28
FileProvides: /usr/bin/fipscheck  fipscheck
29
FileProvides: /usr/bin/db_stat    libdb-utils
30
FileProvides: /usr/bin/gpg2 gnupg2
31
FileProvides: /usr/bin/python python-unversioned-command
32
FileProvides: /usr/bin/python2 python2
33
FileProvides: /usr/bin/python3 python3
34
35
# CentOS 8 special:
36
FileProvides: /usr/bin/ruby       ruby
37
FileProvides: /usr/libexec/platform-python platform-python
38
FileProvides: /usr/bin/gdb-add-index gdb-headless
39
40
#Required: autoconf automake binutils bzip2 gcc gdbm gettext glibc perl-Digest-MD5
41
#Required: perl perl-constant perl-Carp perl-Data-Dumper perl-Exporter perl-Getopt-Long
42
Required: autoconf automake binutils bzip2 gcc gdbm gettext glibc
43
44
Required: libtool ncurses zlib rpm-build centos-release redhat-rpm-config gcc-c++
45
Keep: autoconf automake binutils bzip2 gcc gdbm gettext glibc perl-Digest-MD5
46
Keep: perl perl-constant perl-Carp perl-Data-Dumper perl-Exporter perl-Getopt-Long
47
Keep: libtool ncurses zlib rpm-build centos-release redhat-rpm-config gcc-c++
48
Keep: rpm-build-libs
49
50
# break dependency cycles at defined states
51
Order: filesystem:vim-filesystem
52
Order: filesystem:acl
53
Order: filesystem:attr
54
Order: filesystem:libgcc
55
Order: filesystem:setup
56
Order: filesystem:bash
57
Order: filesystem:glibc
58
59
Support: bind-libs bind-utils bison cpio cpp cracklib
60
Support: e2fsprogs file findutils flex gawk gettext-devel
61
Support: glibc-devel gpm gzip info less
62
Support: make man mktemp module-init-tools
63
Support: ncurses-devel net-tools openssl
64
Support: patch procps psmisc strace
65
Support: unzip util-linux zlib-devel vim-enhanced
66
Support: shadow-utils initscripts bzip2-devel
67
68
# copied from mock config
69
Support: tar gcc-c++ redhat-rpm-config redhat-release which xz sed make bzip2 gzip gcc coreutils unzip shadow-utils diffutils cpio bash gawk rpm-build info patch util-linux findutils grep
70
71
Prefer: centos-repos(8):centos-linux-repos
72
Prefer: centos-linux-release:centos-linux-repos
73
74
Prefer: xorg-x11-libs libpng fam mozilla mozilla-nss xorg-x11-Mesa
75
Prefer: unixODBC libsoup glitz java-1_4_2-sun gnome-panel
76
Prefer: desktop-data-SuSE gnome2-SuSE mono-nunit gecko-sharp2
77
Prefer: apache2-prefork openmotif-libs ghostscript-mini gtk-sharp
78
Prefer: glib-sharp libzypp-zmd-backend mDNSResponder
79
80
Prefer: gnome-sharp2:art-sharp2 gnome-sharp:art-sharp
81
Prefer: ifolder3:gnome-sharp2 ifolder3:gconf-sharp2
82
Prefer: nautilus-ifolder3:gnome-sharp2
83
Prefer: gconf-sharp2:glade-sharp2 gconf-sharp:glade-sharp
84
Prefer: tomboy:gconf-sharp tomboy:gnome-sharp
85
Prefer: zmd:libzypp-zmd-backend
86
Prefer: yast2-packagemanager-devel:yast2-packagemanager
87
Prefer: docbook-utils:lynx
88
Prefer: xmlto:lynx
89
90
Prefer: syslogd sysklogd
91
92
Prefer: coreutils curl libcurl
93
94
Prefer: -libgcc-mainline -libstdc++-mainline -gcc-mainline-c++
95
Prefer: -libgcj-mainline -viewperf -compat -compat-openssl097g
96
Prefer: -zmd -OpenOffice_org -pam-laus -libgcc-tree-ssa -busybox-links
97
Prefer: -crossover-office -kernel-debug -qt3-devel
98
#Prefer: python36-rpm-macros
99
100
# since CentOS 7.4
101
Prefer: font(:lang=en)
102
Prefer: dejavu-sans-fonts
103
104
Conflict: ghostscript-library:ghostscript-mini
105
106
Ignore: centos-release:centos-repos
107
Ignore: centos-release:centos-repos(8)
108
Ignore: initscripts:kernel,udev,ethtool,mingetty
109
Ignore: tetex:tetex-fonts,desktop-file-utils
110
Ignore: pam:glib2
111
Ignore: libraw1394:kernel
112
113
Ignore: gettext-devel:libgcj,libstdc++-devel
114
Ignore: pam-modules:resmgr
115
Ignore: rpm:suse-build-key,build-key
116
Ignore: bind-utils:bind-libs
117
Ignore: alsa:dialog,pciutils
118
Ignore: portmap:syslogd
119
Ignore: fontconfig:freetype2
120
Ignore: fontconfig-devel:freetype2-devel
121
Ignore: xorg-x11-libs:freetype2
122
Ignore: xorg-x11:x11-tools,resmgr,xkeyboard-config,xorg-x11-Mesa,libusb,freetype2,libjpeg,libpng
123
Ignore: apache2:logrotate
124
Ignore: arts:alsa,audiofile,resmgr,libogg,libvorbis
125
Ignore: kdelibs3:alsa,arts,pcre,OpenEXR,aspell,cups-libs,mDNSResponder,krb5,libjasper
126
Ignore: kdelibs3-devel:libvorbis-devel
127
Ignore: kdebase3:kdebase3-ksysguardd,OpenEXR,dbus-1,dbus-1-qt,hal,powersave,openslp,libusb
128
Ignore: kdebase3-SuSE:release-notes
129
Ignore: jack:alsa,libsndfile
130
Ignore: libxml2-devel:readline-devel
131
Ignore: gnome-vfs2:gnome-mime-data,desktop-file-utils,cdparanoia,dbus-1,dbus-1-glib,krb5,hal,libsmbclient,fam,file_alteration
132
Ignore: libgda:file_alteration
133
Ignore: gnutls:lzo,libopencdk
134
Ignore: gnutls-devel:lzo-devel,libopencdk-devel
135
Ignore: pango:cairo,glitz,libpixman,libpng
136
Ignore: pango-devel:cairo-devel
137
Ignore: cairo-devel:libpixman-devel
138
Ignore: libgnomeprint:libgnomecups
139
Ignore: libgnomeprintui:libgnomecups
140
Ignore: orbit2:libidl
141
Ignore: orbit2-devel:libidl,libidl-devel,indent
142
Ignore: qt3:libmng
143
Ignore: qt-sql:qt_database_plugin
144
Ignore: gtk2:libpng,libtiff
145
Ignore: libgnomecanvas-devel:glib-devel
146
Ignore: libgnomeui:gnome-icon-theme,shared-mime-info
147
Ignore: scrollkeeper:docbook_4,sgml-skel
148
Ignore: gnome-desktop:libgnomesu,startup-notification
149
Ignore: python-devel:python-tk
150
Ignore: gnome-pilot:gnome-panel
151
Ignore: gnome-panel:control-center2
152
Ignore: gnome-menus:kdebase3
153
Ignore: gnome-main-menu:rug
154
Ignore: libbonoboui:gnome-desktop
155
Ignore: postfix:pcre
156
Ignore: docbook_4:iso_ent,sgml-skel,xmlcharent
157
Ignore: control-center2:nautilus,evolution-data-server,gnome-menus,gstreamer-plugins,gstreamer,metacity,mozilla-nspr,mozilla,libxklavier,gnome-desktop,startup-notification
158
Ignore: docbook-xsl-stylesheets:xmlcharent
159
Ignore: liby2util-devel:libstdc++-devel,openssl-devel
160
Ignore: yast2:yast2-ncurses,yast2-theme-SuSELinux,perl-Config-Crontab,yast2-xml,SuSEfirewall2
161
Ignore: yast2-core:netcat,hwinfo,wireless-tools,sysfsutils
162
Ignore: yast2-core-devel:libxcrypt-devel,hwinfo-devel,blocxx-devel,sysfsutils,libstdc++-devel
163
Ignore: yast2-packagemanager-devel:rpm-devel,curl-devel,openssl-devel
164
Ignore: yast2-devtools:perl-XML-Writer,libxslt,pkgconfig
165
Ignore: yast2-installation:yast2-update,yast2-mouse,yast2-country,yast2-bootloader,yast2-packager,yast2-network,yast2-online-update,yast2-users,release-notes,autoyast2-installation
166
Ignore: yast2-bootloader:bootloader-theme
167
Ignore: yast2-packager:yast2-x11
168
Ignore: yast2-x11:sax2-libsax-perl
169
Ignore: openslp-devel:openssl-devel
170
Ignore: java-1_4_2-sun:xorg-x11-libs
171
Ignore: java-1_4_2-sun-devel:xorg-x11-libs
172
Ignore: kernel-um:xorg-x11-libs
173
Ignore: tetex:xorg-x11-libs,expat,fontconfig,freetype2,libjpeg,libpng,ghostscript-x11,xaw3d,gd,dialog,ed
174
Ignore: yast2-country:yast2-trans-stats
175
Ignore: libgcc:glibc-32bit
176
Ignore: libstdc++:glibc-32bit
177
Ignore: susehelp:susehelp_lang,suse_help_viewer
178
Ignore: mailx:smtp_daemon
179
Ignore: cron:smtp_daemon
180
Ignore: hotplug:syslog
181
Ignore: pcmcia:syslog
182
Ignore: avalon-logkit:servlet
183
Ignore: jython:servlet
184
Ignore: ispell:ispell_dictionary,ispell_english_dictionary
185
Ignore: aspell:aspel_dictionary,aspell_dictionary
186
Ignore: smartlink-softmodem:kernel,kernel-nongpl
187
Ignore: OpenOffice_org-de:myspell-german-dictionary
188
Ignore: mediawiki:php-session,php-gettext,php-zlib,php-mysql,mod_php_any
189
Ignore: squirrelmail:mod_php_any,php-session,php-gettext,php-iconv,php-mbstring,php-openssl
190
191
Ignore: simias:mono(log4net)
192
Ignore: zmd:mono(log4net)
193
Ignore: horde:mod_php_any,php-gettext,php-mcrypt,php-imap,php-pear-log,php-pear,php-session,php
194
Ignore: xerces-j2:xml-commons-apis,xml-commons-resolver
195
Ignore: xdg-menu:desktop-data
196
Ignore: nessus-libraries:nessus-core
197
Ignore: evolution:yelp
198
Ignore: mono-tools:mono(gconf-sharp),mono(glade-sharp),mono(gnome-sharp),mono(gtkhtml-sharp),mono(atk-sharp),mono(gdk-sharp),mono(glib-sharp),mono(gtk-sharp),mono(pango-sharp)
199
Ignore: gecko-sharp2:mono(glib-sharp),mono(gtk-sharp)
200
Ignore: vcdimager:libcdio.so.6,libcdio.so.6(CDIO_6),libiso9660.so.4,libiso9660.so.4(ISO9660_4)
201
Ignore: libcdio:libcddb.so.2
202
Ignore: gnome-libs:libgnomeui
203
Ignore: nautilus:gnome-themes
204
Ignore: gnome-panel:gnome-themes
205
Ignore: gnome-panel:tomboy
206
Ignore: glibc:glibc-langpack
207
208
%ifnarch s390 s390x ppc ia64
209
Substitute: java2-devel-packages java-1_4_2-sun-devel
210
%else
211
 %ifnarch s390x
212
Substitute: java2-devel-packages java-1_4_2-ibm-devel
213
 %else
214
Substitute: java2-devel-packages java-1_4_2-ibm-devel xorg-x11-libs-32bit
215
 %endif
216
%endif
217
218
#
219
# SUSE compatibilities
220
#
221
Substitute: alsa alsa-lib
222
Substitute: alsa-devel alsa-lib-devel
223
Substitute: docbook-toys docbook-utils
224
Substitute: expat expat expat-devel
225
Substitute: libexpat-devel expat-devel
226
Substitute: gtkdoc gtk-doc
227
Substitute: db db4
228
Substitute: db-devel db4-devel
229
Substitute: dbus-1 dbus
230
Substitute: dbus-1-devel dbus-devel
231
Substitute: dbus-1-glib dbus-glib
232
Substitute: dbus-1-python dbus-python
233
Substitute: dbus-1-mono dbus-sharp
234
Substitute: gcc-fortran gcc-gfortran
235
Substitute: te_latex tetex-latex
236
Substitute: xorg-x11-devel  xorg-x11-proto-devel xorg-x11-xtrans-devel
237
Substitute: krb5 krb5-libs
238
Substitute: libbz2-devel bzip2-devel
239
Substitute: gtk-devel gtk+-devel
240
#Substitute: qt3 qt
241
#Substitute: qt3-devel qt-devel gcc-c++ libstdc++-devel
242
#Substitute: kdelibs3 kdelibs
243
#Substitute: kdelibs3-devel kdelibs-devel qt3-devel qt-devel gcc-c++ libstdc++-devel
244
#Substitute: kdegames3 kdegames
245
Substitute: libxerces-c-devel xerces-c-devel
246
Substitute: libsigc++2-devel libsigc++20-devel
247
Substitute: libgphoto2-devel gphoto2-devel
248
Substitute: libredland-devel redland-devel
249
Substitute: libraptor-devel raptor-devel
250
Substitute: librasqal-devel rasqal-devel
251
Substitute: openldap2 openldap
252
Substitute: openldap2-devel openldap-devel
253
Substitute: xorg-x11-Mesa-devel mesa-libGL-devel
254
Substitute: ImageMagick-Magick++-devel ImageMagick-c++-devel
255
Substitute: ImageMagick-Magick++ ImageMagick-c++
256
Substitute: pyxml PyXML
257
Substitute: pkg-config pkgconfig
258
Substitute: Mesa mesa-libGL
259
Substitute: Mesa-devel mesa-libGL-devel
260
Substitute: freetype2 freetype
261
Substitute: freetype2-devel freetype-devel
262
Substitute: liblcms-devel lcms-devel
263
Substitute: libqt4-devel qt4-devel
264
265
Prefer: -Glide3-libGL
266
267
Substitute: yast2-devel-packages docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer popt-devel sgml-skel update-desktop-files yast2 yast2-devtools yast2-packagemanager-devel yast2-perl-bindings yast2-testsuite
268
269
# %ifarch x86_64 ppc64 s390x sparc64
270
# Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit
271
# %else
272
#  %ifarch ppc
273
# Substitute: glibc-devel-32bit glibc-devel-64bit
274
#  %else
275
# Substitute: glibc-devel-32bit
276
#  %endif
277
# %endif
278
279
%ifarch %ix86
280
Substitute: kernel-binary-packages kernel-default kernel-smp kernel-bigsmp kernel-debug kernel-um kernel-xen kernel-kdump
281
%endif
282
%ifarch ia64
283
Substitute: kernel-binary-packages kernel-default kernel-debug
284
%endif
285
%ifarch x86_64
286
Substitute: kernel-binary-packages kernel-default kernel-smp kernel-xen kernel-kdump
287
%endif
288
%ifarch ppc
289
Substitute: kernel-binary-packages kernel-default kernel-kdump kernel-ppc64 kernel-iseries64
290
%endif
291
%ifarch ppc64
292
Substitute: kernel-binary-packages kernel-ppc64 kernel-iseries64
293
%endif
294
%ifarch s390
295
Substitute: kernel-binary-packages kernel-s390
296
%endif
297
%ifarch s390x
298
Substitute: kernel-binary-packages kernel-default
299
%endif
300
301
#
302
# experimentel, testing for mc
303
#
304
Substitute: sgml-skel sgml-common
305
Substitute: docbook-xsl-stylesheets docbook-style-xsl
306
307
Substitute: libelf elfutils-libelf
308
309
%define centos_version 800
310
%define centos 8
311
%define rhel 8
312
313
Macros:
314
%centos_version 800
315
%_vendor redhat
316
317
%centos 8
318
%centos_ver 8
319
%define rhel 8
320
321
#Custom centos_stream tag
322
%centos_stream 8
323
324
#From RedHat buildsys-macros package
325
%rhel 8
326
%dist .el8
327
%el8 8
328
329
%kernel_module_package_buildreqs kernel-devel redhat-rpm-config
330
331
%ext_info .gz
332
%ext_man .gz
333
334
%info_add(:-:) test -x /sbin/install-info -a -f %{?2}%{?!2:%{_infodir}}/%{1}%ext_info && /sbin/install-info --info-dir=%{?2}%{?!2:%{_infodir}} %{?2}%{?!2:%{_infodir}}/%{1}%ext_info \
335
%{nil}
336
337
%info_del(:-:) test -x /sbin/install-info -a ! -f %{?2}%{?!2:%{_infodir}}/%{1}%ext_info && /sbin/install-info --quiet --delete --info-dir=%{?2}%{?!2:%{_infodir}} %{?2}%{?!2:%{_infodir}}/%{1}%ext_info \
338
%{nil}
339
340