# Workaround https://bugzilla.opensuse.org/show_bug.cgi?id=1125775#c9 - until firewalld is fixed. Ignore: firewall-macros:firewalld # Help python-subinit to win until python-python-subunit is gone Prefer: python3-subunit # Prepare for the drop of python3-path.py Prefer: -python3-path.py %define gcc_version 9 # testing new cycle algorithm BuildFlags: genmetaalgo:1 PublishFlags: ympdist:openSUSE%20Tumbleweed # Use ext4 as FS in builder workers (instead of default ext3) BuildFlags: vmfstype:ext4 # Help with the switch to the gcc7 provided libs #Prefer: -libstdc++6-gcc7 -libtsan0-gcc7 -libgomp1-gcc7 -libgcc_s1-gcc7 -libatomic1-gcc7 -libcilkrts5-gcc7 -libitm1-gcc7 #Prefer: -liblsan0-gcc7 -libmpx2-gcc7 -libubsan0-gcc7 # Help with the switch to the gcc9 provided libs: Prefer: libasan5 libasan5-32bit libubsan1 libubsan1-32bit libgfortran5 Patterntype: rpm-md ymp %if "%_repository" == "images" Type: kiwi Repotype: none Patterntype: none Prefer: openSUSE-release-ftp %endif %if "%_project" == "openSUSE:Factory" || "%_project" == "openSUSE:Factory:NonFree" || "%_project" == "openSUSE:Factory:PowerPC" || "%_project" == "openSUSE:Factory:Rebuild" || "%_project" == "openSUSE:Factory:zSystems" Repotype: none Macros: %shim_enforce_ms_signature 1 :Macros %endif %if "%_repository" == "images" || "%_repository" == "container" Prefer: openSUSE-release -dummy-release # FTP tree takes forever BuildFlags: logidlelimit:15400 %else # Stuff that wants to have /etc/os-release available should require distribution-release, which we then offer dummy-release for (openSUSE-release changes daily for TW) Prefer: dummy-release # abort the build if the log file didn't move in 1.5h (seen in libreoffice builds) BuildFlags: logidlelimit:5400 %endif %if "%_project" == "openSUSE:Factory" || "%_project" == "openSUSE:Factory:NonFree" || "%_project" == "openSUSE:Factory:PowerPC" || "%_project" == "openSUSE:Factory:ARM" || "%_project" == "openSUSE:Factory:Live" || "%_project" == "openSUSE:Factory:Rebuild" || "%_project" == "openSUSE:Factory:Rings" || "%_project" == "openSUSE:Factory:Rings:0-Bootstrap" || "%_project" == "openSUSE:Factory:Rings:1-MinimalX" || "%_project" == "openSUSE:Factory:Rings:2-TestDVD" || "%_project" == "openSUSE:Factory:Containers" Macros: %vendor openSUSE %distribution openSUSE Tumbleweed %packager https://bugs.opensuse.org :Macros %endif Substitute: kiwi-setup:image python3-kiwi createrepo_c Substitute: kiwi-image:tbz python3-kiwi Substitute: kiwi-image:docker python3-kiwi kiwi-image-docker-requires openSUSE-release openSUSE-release-ftp Substitute: obs:cli_debug_packages gdb vim strace less rzsz Prefer: kiwi-filesystem-requires Prefer: kiwi-image-docker-requires Prefer: kiwi-image-iso-requires Prefer: kiwi-image-vmx-requires # Migration to product builder; using the Tumbleweed plugin since 2020-04-28 Substitute: kiwi-packagemanager:instsource product-builder-plugin-Tumbleweed # use plugin-openSUSE # Substitute: kiwi-packagemanager:instsource product-builder-plugin-openSUSE Substitute: system-packages:kiwi-product product-builder # allow builds using docker tool Substitute: system-packages:docker kmod kernel-default docker createrepo_c zypper Substitute: build-packages:docker !systemd-mini !udev-mini !krb5-mini !libsystemd0-mini !libudev-mini1 !krb5-mini !gettext-tools-mini !cmake-mini !systemd-mini-sysvinit !dummy-release !libunbound-devel-mini # Podman based image building Substitute: system-packages:podman kmod kernel-default podman buildah createrepo_c zypper Substitute: build-packages:kiwi python3-kiwi !systemd-mini !udev-mini !krb5-mini !libsystemd0-mini !libudev-mini1 !krb5-mini !gettext-tools-mini !cmake-mini !systemd-mini-sysvinit !dummy-release !libunbound-devel-mini # To build ISO images Substitute: build-packages:iso !systemd-mini !udev-mini !krb5-mini !libsystemd0-mini !systemd-mini-sysvinit # create conflicts for packages installed into the target image Substitute: kiwi python3-kiwi # Help our staging process to fixup installation-images as a workaround. Do not touch the devel prj space %if "%_repository" == "standard" || "%_repository" == "ports" Substitute: dmz-icon-theme-cursors dmz-icon-theme-cursors insserv-compat %endif Prefer: installation-images-openSUSE installation-images-debuginfodeps-openSUSE # Packages that need netcfg will also require libnss_usrfiles2, as a few files moved from /etc to /usr/etc # Since not all packages care, we only add it where needed (instead of preinstall) Substitute: netcfg netcfg libnss_usrfiles2 # switch to kiwi v8 Prefer: python3-kiwi Conflict: python3-kiwi:libsystemd0-mini Conflict: python3-kiwi:systemd-mini-sysvinit # ghc-bootstrap should not provide it to start with - but it does. so let's kick it Prefer: libffi7 # LUA namespace migration - slowly moving to the new names (keep ports in mind!) # lua, lua51, lua52 and lua53 all provide 'lua'; version 5.3 is the 'target'; lua will be deleted in the future Prefer: lua53 lua51 lua52 lua Prefer: liblua5_3-5 liblua5_1-5 liblua5_2-5 Prefer: lua53-devel lua51-devel lua52-devel Prefer: libtolua++-5_3-devel libtolua++-5_1-devel libtolua++-5_2-devel Prefer: -liblua5_3 -liblua5_1 -liblua5_2 Prefer: -moonjit-devel Preinstall: liblua5_3-5 FileProvides: /bin/csh tcsh FileProvides: /bin/logger util-linux-systemd FileProvides: /sbin/netconfig sysconfig-netconfig FileProvides: /sbin/setcap libcap-progs FileProvides: /usr/bin/csh tcsh FileProvides: /usr/bin/docbook2man docbook-utils FileProvides: /usr/bin/eu-nm elfutils FileProvides: /usr/bin/fipscheck fipscheck FileProvides: /usr/bin/killall psmisc FileProvides: /usr/bin/mimencode metamail # /sbin/mkinitrd is required by suse-module-tools; but this is pulled into systemd-mini, causing a cycle # FileProvides: /sbin/mkinitrd dracut FileProvides: /usr/bin/mkisofs mkisofs FileProvides: /usr/bin/pkg-config pkgconf-pkg-config Substitute: pkg-config pkgconf-pkg-config FileProvides: /usr/bin/python python-base FileProvides: /usr/bin/python2 python2-base FileProvides: /usr/bin/python3 python3-base FileProvides: /usr/bin/setfacl acl FileProvides: /usr/bin/sg_inq sg3_utils FileProvides: /usr/bin/tput ncurses-utils FileProvides: /usr/bin/xmllint libxml2-tools FileProvides: /usr/bin/Xvfb xorg-x11-server FileProvides: /usr/sbin/groupadd shadow FileProvides: /usr/sbin/lockdev lockdev FileProvides: /usr/sbin/useradd shadow FileProvides: /usr/sbin/usermod shadow FileProvides: /usr/bin/wish tk FileProvides: /usr/bin/awk gawk FileProvides: /usr/bin/host bind-utils Preinstall: aaa_base attr bash coreutils diffutils Preinstall: filesystem fillup glibc grep Preinstall: libbz2-1 libgcc_s1 libncurses6 pam Preinstall: permissions rpm rpm-config-SUSE sed tar libz1 libselinux1 Preinstall: libgcrypt20 libgpg-error0 Preinstall: liblzma5 libcap2 libacl1 libattr1 Preinstall: libpopt0 libelf1 Preinstall: libpcre1 libzstd1 Preinstall: libreadline8 Runscripts: aaa_base Prefer: libdb-4_8-devel #Prefer: cdrkit-cdrtools-compat genisoimage #Prefer: cdrtools VMinstall: util-linux libmount1 perl-base libdb-4_8 libsepol1 libblkid1 libuuid1 libsmartcols1 libcrypt1 VMinstall: kernel-obs-build VMInstall: iproute2 libmnl0 ExportFilter: \.x86_64\.rpm$ x86_64 ExportFilter: \.ia64\.rpm$ ia64 ExportFilter: \.s390x\.rpm$ s390x ExportFilter: \.ppc64\.rpm$ ppc64 ExportFilter: \.ppc64le\.rpm$ ppc64le ExportFilter: \.ppc\.rpm$ ppc ExportFilter: -ia32-.*\.rpm$ ExportFilter: -32bit-.*\.sparc64\.rpm$ ExportFilter: -64bit-.*\.sparcv9\.rpm$ ExportFilter: -64bit-.*\.aarch64_ilp32\.rpm$ ExportFilter: \.armv7l\.rpm$ armv7l ExportFilter: \.armv7hl\.rpm$ armv7l ExportFilter: ^glibc(?:-devel)?-32bit-.*\.sparc64\.rpm$ sparc64 ExportFilter: ^glibc(?:-devel)?-64bit-.*\.sparcv9\.rpm$ sparcv9 # it would be a great idea to have, but sometimes installation-images wants to build debuginfos in #ExportFilter: -debuginfo-.*\.rpm$ #ExportFilter: -debugsource-.*\.rpm$ #ExportFilter: ^master-boot-code.*\.i586.rpm$ . x86_64 ExportFilter: ^acroread.*\.i586.rpm$ . x86_64 ExportFilter: ^avmailgate.*\.i586.rpm$ . x86_64 ExportFilter: ^avmailgate.*\.ppc.rpm$ . ppc64 ExportFilter: ^avmailgate.*\.s390.rpm$ . s390x ExportFilter: ^flash-player.*\.i586.rpm$ . x86_64 ExportFilter: ^novell-messenger-client.*\.i586.rpm$ . x86_64 ExportFilter: ^openCryptoki-32bit.*\.s390.rpm$ . s390x Required: rpm-build # Build all packages with -pie enabled Required: gcc-PIE # needed for su's default config - perhaps we should use a simplified form? # pam-modules removed on 15 Nov 2017 # Support: pam-modules # the basic stuff Support: perl Support: build-mkbaselibs # Prefer: build-mkbaselibs Prefer: build-mkbaselibs Support: brp-check-suse Support: post-build-checks Support: rpmlint-Factory # Add hostname so that OBS/build will have a chance to identify the hostname (instead of localhost) Support: hostname # remove build-compare support to disable "same result" package dropping Support: build-compare # Extracting appdata.xml from desktop files # Support: brp-extract-appdata # Disabled on May 28 - the brp extractor is not producing useful appdata files anyway # trim the desktop files when building directly in factory %if "%_project" == "openSUSE:Factory" || "%_project" == "openSUSE:Factory:PowerPC" || "%_project" == "openSUSE:Factory:ARM" || "%_project" == "openSUSE:Factory:Rebuild" || "%_project" == "openSUSE:Factory:Live" || "%_project" == "openSUSE:Factory:NonFree" #Support: brp-trim-desktopfiles Support: rpmlint-Factory-strict %endif # testing deltas (only for O:F for now!) #Support: build-mkdrpms deltarpm %ifarch ia64 Support: libunwind libunwind-devel Preinstall: libunwind %endif # Prefer coreutils over coreutils-single Prefer: coreutils ### Branding related preferences Prefer: distribution-logos-openSUSE-Tumbleweed Prefer: awesome:awesome-branding-upstream Prefer: bundle-lang-gnome:gnome-session-branding-openSUSE Prefer: cinnamon-gschemas:cinnamon-gschemas-branding-upstream Prefer: enlightenment-theme-upstream Prefer: exo-data:exo-branding-upstream Prefer: fcitx:fcitx-branding-openSUSE Prefer: gdm:gdm-branding-upstream Prefer: gfxboot-branding-openSUSE -gfxboot-branding-basedonopensuse Prefer: glib2:glib2-branding-upstream Prefer: gnome-panel:gnome-panel-branding-upstream Prefer: gnome-session:gconf2-branding-openSUSE Prefer: gnome-session:gnome-session-branding-openSUSE Prefer: icewm-theme-branding Prefer: kde4-kdm:kde4-kdm-branding-upstream Prefer: kdebase4-workspace:kdebase4-workspace-branding-upstream Prefer: kdelibs4-branding:kdelibs4-branding-upstream Prefer: kdelibs4:kdelibs4-branding-upstream Prefer: kdm:kdm-branding-upstream Prefer: libcinnamon-desktop-data:libcinnamon-desktop-data-branding-upstream Prefer: libexo-1-0:libexo-1-0-branding-upstream Prefer: libgarcon-1-0:libgarcon-branding-upstream Prefer: libgarcon-data:libgarcon-branding-upstream Prefer: libgio-2_0-0:gio-branding-upstream Prefer: libglib-2_0-0:glib2-branding-upstream Prefer: libpurple-branding-upstream Prefer: libreoffice:libreoffice-branding-upstream Prefer: libsocialweb:libsocialweb-branding-upstream Prefer: libxfce4ui:libxfce4ui-branding-upstream Prefer: lightdm-gtk-greeter:lightdm-gtk-greeter-branding-upstream Prefer: mate-desktop-gschemas:mate-desktop-gschemas-branding-upstream Prefer: NetworkManager:NetworkManager-branding-openSUSE Prefer: PackageKit:PackageKit-branding-upstream Prefer: plasma5-desktop:plasma5-desktop-branding-upstream Prefer: plasma5-workspace:plasma5-workspace-branding-upstream Prefer: sddm:sddm-branding-upstream Prefer: systemd-presets-branding-openSUSE Prefer: wallpaper-branding-openSUSE Prefer: xfce4-notifyd:xfce4-notifyd-branding-upstream Prefer: xfce4-settings:xfce4-settings-branding-upstream Prefer: xfdesktop:xfdesktop-branding-upstream Prefer: yast2-branding-openSUSE Prefer: yast2-qt:yast2-qt-branding-openSUSE Prefer: yast2-theme-openSUSE # pciutils-ids and hwdata both provides pciutils-ids Prefer: hwdata # have choice for xfce4-panel-plugin-whiskermenu needed by xfce4-panel-branding-openSUSE: xfce4-panel-plugin-whiskermenu xfce4-whiskermenu-plugin Prefer: xfce4-panel-branding-openSUSE:xfce4-whiskermenu-plugin -xfce4-panel-plugin-whiskermenu Prefer: xfce4-statusnotifier-plugin Prefer: patterns-xfce-xfce:mate-calc # Build cycle handling - prefer -mini packages were possible, break deps as needed Conflict: krb5-devel:krb5-mini Conflict: krb5:krb5-mini-devel Prefer: gettext-tools-mini gettext-runtime-mini Prefer: ghostscript-mini Prefer: krb5-mini-devel:krb5-mini Prefer: krb5-mini krb5-mini-devel Prefer: libudev-mini-devel libudev-mini1 udev-debuginfo libudev1-debuginfo Prefer: libunbound-devel-mini Prefer: log4j12-mini log4j-mini Prefer: systemd-mini-devel:systemd-mini Prefer: systemd-mini systemd-mini-devel libsystemd0-mini Prefer: udev-mini libcom_err2-mini libext2fs2-mini Prefer: -harfbuzz-bootstrap -harfbuzz-bootstrap-devel # break dependency of the -mini packages: they are valid for OBS, but not for end-user-installation Ignore: cmake-mini:this-is-only-for-build-envs Ignore: dummy-release:this-is-only-for-build-envs Ignore: erlang-rebar-obs:this-is-only-for-build-envs Ignore: ghc-bootstrap-helpers:this-is-only-for-build-envs Ignore: ghc-bootstrap:this-is-only-for-build-envs Ignore: harfbuzz-bootstrap:this-is-only-for-build-envs Ignore: jdk-bootstrap:this-is-only-for-build-envs Ignore: libsystemd0-mini:this-is-only-for-build-envs Ignore: libudev-mini1:this-is-only-for-build-envs Ignore: libunbound-devel-mini:this-is-only-for-build-envs Ignore: systemd-mini:this-is-only-for-build-envs Ignore: udev-mini:this-is-only-for-build-envs # Ring0 packages should not pull in 'info' - making the base VM smaller Ignore: libtool:info Ignore: autoconf:info Ignore: automake:info Ignore: binutils:info Ignore: bison:info Ignore: coreutils:info Ignore: cpio:info Ignore: diffutils:info Ignore: findutils:info Ignore: flex:info Ignore: gawk:info Ignore: gettext-runtime:info Ignore: gettext-tools:info Ignore: grep:info Ignore: groff:info Ignore: gzip:info Ignore: help2man:info Ignore: libgcrypt-devel:info Ignore: m4:info Ignore: make:info Ignore: sed:info Ignore: tar:info Ignore: util-linux:info # Let's speed up things: We don't need Mesa-dri and Mesa-gallium in the build system Ignore: Mesa:Mesa-dri Ignore: Mesa:Mesa-gallium # man uses cron to update the DB normally, but we don't care for that in the build system Ignore: man:cron # udev: -full and -mini packages don't mingle well Prefer: libudev1:udev Conflict: libudev1:udev-mini Conflict: udev:libudev-mini1 # systemd: -full and -mini packages don't mingle well Conflict: systemd:libsystemd0-mini Conflict: systemd-mini-devel:systemd # Cmake exists as a -mini flavor, which is not linked against curl. # That substitute is crap - it actually replaces Requires: cmake with Requires: cmake-mini in spec files!!! # Substitute: cmake cmake-mini Prefer: cmake-mini # Samba brings python2 and python3 bindings, with the py3-bindings not 100% complete yet. So we favor py2 Prefer: samba-libs-python Prefer: -suse-build-key # Set postfix as the 'default' smtp_daemon (virtual symbol provided by all MTAs) Prefer: postfix # Give the worker any default apache2-MPM for apache2- chosing 'prefork' (alternatives are -event and -worker, dep-wise they are equal) # prefer the PHP5 variants over PHP7 Prefer: php5-ctype Prefer: php5-devel Prefer: php5-dom Prefer: php5-ftp Prefer: php5-gd Prefer: php5-gettext Prefer: php5-mbstring Prefer: php5-pear Prefer: php5-pear-Archive_Tar Prefer: php5-pear-Horde Prefer: php5 php5-json Prefer: php5-tokenizer Prefer: php5-zip # man and mandoc provide man; mandoc claims to be lightweight, but it was never discussed to be the new default Prefer: man # go exists in mutliple versions by now - we prefer the 'unversioned package' Prefer: go -go1.13 # have choice for kubernetes-kubelet-common Prefer: kubernetes1.18-kubelet-common # python-tornado exists in multiple versions, the meta-package python-tornado defines the system default Prefer: python3-tornado -python3-tornado4 # There are multiple PK backends available. Favor the openSUSE own zypp backend Prefer: PackageKit-backend-zypp # have choice for pkgconfig(libftdi): libftdi-devel libftdi0-devel Prefer: libftdi-devel # have choice for tensorflow: tensorflow tensorflow2 tensorflow2_2_1_0-gnu-hpc tensorflow2_2_1_0-gnu-mvapich2-hpc tensorflow2_2_1_0-gnu-openmpi2-hpc Prefer: tensorflow # There is python[23]-prompt_toolkit and also python3-prompt_toolkit1 for compat. Use the unversioned one by default Prefer: python3-prompt_toolkit # When perl provides a module that is also in a different package, but the consumer specifies no version, we go with perl/perl-base Prefer: perl-base perl # Lightdm requires 'a greeter' - we prefer the default lightdm-gtk-greeter Prefer: lightdm-gtk-greeter # Apache requires a MPM - we pick prefork Prefer: apache2:apache2-prefork # azure-cli reports: have choice for python3-vsts needed by python3-azure-functions-devops-build: python3-azure-devops python3-vsts # Use the real package name Prefer: python3-vsts # for symbol syslog (syslogd is best as it has the least dependencies) Prefer: syslogd # rmt is provided by tar-rmt and star-rmt - we prefer star-rmt, which was the one in the past providing rmt Prefer: star-rmt # A couple packares require a dbus daemon to show notifications - unless oterhwise specified, we prefer the 'standalong notification-daemon; Prefer: notification-daemon # We have multiple nodejs versions in the repo - prefer version 8 for now Prefer: nodejs10 npm10 # have choice for libpulse.so.0 needed by wine-32bit: apulse-32bit libpulse0-32bit - prefering the 'original' Prefer: libpulse0-32bit libsane1-32bit # Have choice for vtk-java/vtk-tcl/python3-vtk needed by vtk-devel Prefer: vtk-java vtk-tcl python3-vtk # wine comes in various flavors by now, we pick the unflavored ones Prefer: wine-32bit wine-devel-32bit wine-devel # Ruby stuff - quite a few packages exist in multiple versions in the distro; in each case, the Preference is on the 'unversioned' package PrefeR: ruby2.6-rubygem-rack Prefer: ruby2.6-rubygem-addressable Prefer: ruby2.6-rubygem-builder Prefer: ruby2.6-rubygem-fast_gettext Prefer: ruby2.6-rubygem-i18n Prefer: ruby2.6-rubygem-mail Prefer: ruby2.6-rubygem-mime-types Prefer: ruby2.6-rubygem-sprockets Prefer: ruby2.6-rubygem-thor Prefer: ruby2.6-rubygem-tilt Prefer: ruby2.6-rubygem-webmock-2_3 # python-msgpack-python was renamed to python-msgpack with 0.5 as a single-spec package (provides/obsoletes in place) Prefer: python3-msgpack # We have opencv and opencv3 - as usual, the unversioned one should win Prefer: opencv-devel # python3-pytest should win over python3-pytest4 since pytest5 is python3 only Prefer: python3-pytest4 # we need to fix python3-pytest4 conflicts with python3-pytest # otherwise will breaks staging process # Prefer: python3-pytest python3-pytest4 python3-pytest3 # There is python3-Django and python3-Django1 - as usual, we favor the unversioned one Prefer: python3-Django # Help OBS over the openssl-1_1_0 -> openssl-1_1 rename; OBS keeps the -32bit lingering around # https://github.com/openSUSE/open-build-service/issues/4373 # We prefer the new name Prefer: libopenssl1_1-32bit openssl-1_1 # Enchant has multiple backends to chose from, make a decision for OBS Prefer: enchant-1-backends Prefer: enchant-2-backend-hunspell # OpenSceneGraph exists as 'latest' and a 3.4 compat package. If nothing is specified, we want latest Prefer: libOpenSceneGraph-devel libOpenThreads-devel # Java, especially Maven related bootstrap packages are never preferred: Prefer: -scala-bootstrap -scala-bootstrap-swing -ant-scala-bootstrap Prefer: -maven-compiler-plugin-bootstrap -maven-resources-plugin-bootstrap -maven-jar-plugin-bootstrap Prefer: -maven-javadoc-plugin-bootstrap -maven-plugin-plugin-bootstrap -maven-failsafe-plugin-bootstrap Prefer: -maven-surefire-plugin-bootstrap -maven-surefire-report-plugin-bootstrap # have choice for mingw32-unistd-pthread-devel needed by mingw32-headers: mingw32-headers-dummy-pthread mingw32-winpthreads-devel Prefer: -mingw64-headers-dummy-pthread -mingw32-headers-dummy-pthread # Below list still needs to be reviewed Prefer: xorg-x11-Xvnc:icewm Prefer: cracklib-dict-small Prefer: libstdc++6 libgcc_s1 libquadmath0 Prefer: libstdc++6-32bit libstdc++6-64bit Prefer: libstdc++6-x86 Prefer: libmpx2 libmpxwrappers2 libmpx2-32bit libmpxwrappers2-32bit %ifarch s390x Prefer: -libstdc++41 %endif Prefer: syslog-service Prefer: poppler-tools Prefer: libjpeg8-devel libjpeg-turbo Prefer: microcode_ctl:kernel-default Prefer: gnu-jaf yast2-control-center-qt Prefer: vim-normal myspell-american wine Prefer: amarok:amarok-xine Prefer: kdenetwork3-vnc:tightvnc Prefer: libgweather0 jessie ndesk-dbus ndesk-dbus-glib tomcat-jsp-2_2-api tomcat-jsp-2_3-api tomcat-servlet-2_5-api Prefer: -dbus-1-nox11 Prefer: -servletapi3 -servletapi4 -servletapi5 Prefer: icewm-lite Prefer: yast2-ncurses-pkg Prefer: monodevelop: mono-addins Prefer: texlive-xmltex texlive-tools texlive-jadetex Prefer: libesd-devel:esound Prefer: libesd0:esound-daemon Prefer: package-lists-openSUSE-KDE-cd: esound-daemon Prefer: librest-0_7-0 Prefer: -geronimo-jta-1_0_1B-api -geronimo-jms-1_1-api -geronimo-el-1_0-api -java-1_5_0-gcj-compat -geronimo-jta-1_1-api classpathx-mail javamail Prefer: rhino:xmlbeans-mini Prefer: mx4j:log4j12-mini Prefer: maven-doxia-module-fo:log4j12-mini Prefer: rpcbind eclipse-source Prefer: libcdio_cdda0 libcdio_paranoia0 Prefer: boo tog-pegasus Prefer: sysvinit(network) wicked-service Prefer: kdebase4-workspace:kdebase4-workspace-ksysguardd Prefer: kdebase4-openSUSE:kdebase4-workspace Prefer: ant:xerces-j2 Prefer: dhcp-client:dhcp Prefer: libGLw1 # provides typelib(St) Prefer: -cinnamon Prefer: -bundle-lang-kde-de -bundle-lang-kde-en -bundle-lang-kde-es Prefer: -bundle-lang-kde-fr -bundle-lang-kde-pt -bundle-lang-kde-el Prefer: -bundle-lang-kde-zh -bundle-lang-kde-ja -bundle-lang-kde-ru -bundle-lang-kde-pl Prefer: -bundle-lang-kde-sv -bundle-lang-kde-ko -bundle-lang-kde-fi -bundle-lang-kde-da Prefer: -bundle-lang-kde-cs -bundle-lang-kde-nl -bundle-lang-kde-hu -bundle-lang-kde-nb Prefer: -bundle-lang-kde-it -bundle-lang-kde-ca -bundle-lang-kde-ar Prefer: -bundle-lang-gnome-es -bundle-lang-gnome-de -bundle-lang-gnome-fr Prefer: -bundle-lang-gnome-pt -bundle-lang-gnome-en -bundle-lang-gnome-el Prefer: -bundle-lang-gnome-zh -bundle-lang-gnome-ja -bundle-lang-gnome-ru -bundle-lang-gnome-cs Prefer: -bundle-lang-gnome-ko -bundle-lang-gnome-da -bundle-lang-gnome-nl -bundle-lang-gnome-hu Prefer: -bundle-lang-gnome-pl -bundle-lang-gnome-fi -bundle-lang-gnome-nb -bundle-lang-gnome-sv Prefer: -bundle-lang-gnome-it -bundle-lang-gnome-ca -bundle-lang-gnome-ar Prefer: -bundle-lang-gnome-extras-es -bundle-lang-gnome-extras-de -bundle-lang-gnome-extras-fr Prefer: -bundle-lang-gnome-extras-pt -bundle-lang-gnome-extras-en -bundle-lang-gnome-extras-el Prefer: -bundle-lang-gnome-extras-zh -bundle-lang-gnome-extras-ja -bundle-lang-gnome-extras-ru -bundle-lang-gnome-extras-cs Prefer: -bundle-lang-gnome-extras-ko -bundle-lang-gnome-extras-da -bundle-lang-gnome-extras-nl -bundle-lang-gnome-extras-hu Prefer: -bundle-lang-gnome-extras-pl -bundle-lang-gnome-extras-fi -bundle-lang-gnome-extras-nb -bundle-lang-gnome-extras-sv Prefer: -bundle-lang-gnome-extras-it -bundle-lang-gnome-extras-ca -bundle-lang-gnome-extras-ar Prefer: -bundle-lang-common-es -bundle-lang-common-de -bundle-lang-common-fr Prefer: -bundle-lang-common-pt -bundle-lang-common-en -bundle-lang-common-el Prefer: -bundle-lang-common-ja -bundle-lang-common-zh -bundle-lang-common-cs -bundle-lang-common-ru Prefer: -bundle-lang-common-nl -bundle-lang-common-hu -bundle-lang-common-pl -bundle-lang-common-da Prefer: -bundle-lang-common-ko -bundle-lang-common-nb -bundle-lang-common-fi -bundle-lang-common-sv Prefer: -bundle-lang-common-it -bundle-lang-common-ca -bundle-lang-common-ar Prefer: -libgcc-mainline -libstdc++-mainline -gcc-mainline-c++ Prefer: -libgcj-mainline -viewperf -compat -compat-openssl097g Prefer: -libreoffice -pam-laus -libgcc-tree-ssa -busybox-links Prefer: -python-setuptools Prefer: -kdenetwork3-InstantMessenger Prefer: -icc-profiles Prefer: vala # in doubt, take xerces Prefer: -crimson # in doubt, take higher versions Prefer: -rubygem-rack-1_1 -rubygem-rack-1_2 -rubygem-rack-1_3 -rubygem-tilt-1_1 -rubygem-rack-1_4 Prefer: -rubygem-method_source-0_7 -rubygem-rails-2_3 -rubygem-activerecord-2_3 Prefer: -rubygem-json_pure-1_5 Prefer: geronimo-servlet-2_4-api Prefer: openmpi-config Prefer: -libhdf5-0-openmpi -libhdf5_hl0-openmpi -libhdf5_hl8-openmpi -libhdf5-8-openmpi -libhdf5_hl9-openmpi -libhdf5-9-openmpi -libhdf5-10-openmpi -libhdf5_hl10-openmpi -libhdf5-11-openmpi -libhdf5_hl11-openmpi -libhdf5-101-openmpi -libhdf5-101-mvapich2 -libhdf5_hl101-openmpi libhdf5_hl100 -libhdf5-103-openmpi1 -libhdf5-103-mvapich2 -libhdf5_hl103-openmpi -libhdf5_cpp103-openmpi -libhdf5_cpp103-openmpi1 -libhdf5_cpp103-mvapich2 -libhdf5-103-openmpi2 -libhdf5-103-openmpi3 -libhdf5_cpp103-openmpi2 -libhdf5_cpp103-openmpi3 Prefer: -libvtk1-openmpi libvtk1-openmpi2 Prefer: -openmpi3-libs -openmpi4-libs Prefer: fftw3-devel ImageMagick-config-7-SUSE # prefer the small systemd for building Prefer: star Prefer: xmlgraphics-commons:apache-commons-io # the -32bit stuff provides things it shouldn't (hopefully temporary) Prefer: -typelib-1_0-GdkPixbuf-2_0-32bit -typelib-1_0-Pango-1_0-32bit -glib2-devel-32bit Prefer: postgresql postgresql-server postgresql-devel # only needed to bootstrap 11, but leave it - 12 will come at some point :) Prefer: -postgresql94 -postgresql95 -postgresql95-server -postgresql94-server Prefer: -unzip-rcc Prefer: -primus -primus-32bit Prefer: -staging-build-key Prefer: -sssd-wbclient Prefer: -clutter-gst-devel Prefer: -opencv-qt5-devel # We have multiple versions of ffmpeg available, the preferred one is ffmpeg4, followd by 3, followed by 2 Prefer: ffmpeg-4-libavcodec-devel ffmpeg-4-libavformat-devel ffmpeg-4-libavutil-devel ffmpeg-4-libswscale-devel ffmpeg-4-libavdevice-devel Prefer: -ffmpeg-2-libavcodec-devel -ffmpeg-2-libavformat-devel -ffmpeg-2-libavutil-devel -ffmpeg-2-libswscale-devel -ffmpeg-2-libavdevice-devel # as long as kactivities4 exists and is provided Prefer: kactivities5 # oxygen5-icon-theme osboletes oxygen-icon-theme Prefer: oxygen5-icon-theme # kernel bug (coolo) Prefer: kernel-default-devel Prefer: wxWidgets-3_0-devel python-wxWidgets-3_0 Prefer: libopenssl-devel Prefer: -NX -xaw3dd -db43 -amanda Prefer: -xerces-j2-xml-resolver -xerces-j2-xml-apis Prefer: libgcc_s1 libgcc_s1-32bit libgcc_s1-64bit Prefer: libffi-devel Prefer: libatomic1 libcilkrts5 libitm1 liblsan0 libtsan0 libubsan0 Prefer: libatomic1-32bit libcilkrts5-32bit libitm1-32bit libubsan0-32bit Prefer: libgcc_s1-x86 libgcj_bc1 Prefer: libgomp1 libgomp1-32bit libgomp1-64bit Prefer: libmudflap4 libmudflap4-32bit libmudflap4-64bit Prefer: libobjc4 libgfortran3 libquadmath0 Prefer: -libnetpbm -libcdio7-mini -libiso9660-5-mini -libiso9660-7-mini -libcdio10-mini -libcdio12-mini Prefer: -libcdio-mini -faac-mini -libcdio-mini-devel Prefer: -seamonkey Prefer: -libdb-4_4-devel -libdb-4_5-devel -libevoldap-2_4-2 Prefer: libopenal0-soft openal-soft -lsb-buildenv Prefer: -libevent Prefer: gnu-crypto libusb-compat-devel Prefer: libusb-0_1-4 Prefer: libreoffice:xerces-j2 Prefer: k3b:libdvdread4 Prefer: glibc-devel Prefer: -libpcap -libiniparser -loudmouth -libkonq4 -libnetcdf-4 libnetcdf11 netcdf-devel -libnetcdf13-openmpi -libnetcdf13-openmpi2 Prefer: libnetcdf15 Prefer: NetworkManager:dhcp-client Prefer: kdebase3-SuSE:kdebase3 Prefer: pcre-tools Prefer: libpopt0 makeinfo Prefer: -apache2-mod_perl -otrs -qa_apache_testsuite -ctcs2 Prefer: libgnome-keyring-devel Prefer: gnome-keyring-32bit Prefer: linux-glibc-devel Prefer: squid sysvinit Prefer: libpng16-compat-devel Prefer: -python3 -python3-gobject-devel -python3-gobject2-devel -x11-video-fglrxG02 -libpng12-0 Prefer: python3-docutils Prefer: perl-Mail-SPF:perl-Error libldb0 -audit-libs Prefer: -xml-commons-apis-bootstrap -xml-commons-resolver-bootstrap Prefer: xmlgraphics-fop:xerces-j2 Prefer: cogl-devel Prefer: -perl-XML-SAX perl-Test-YAML -perl-Pod-Usage Prefer: libpsm2-compat # choice p11-kit-nss-trust Prefer: mozilla-nss-certs # amarok dependency resolution Prefer: phonon-backend-gstreamer # replacing mkinitrd Prefer: dracut # replacing module-init-tools Prefer: kmod-compat # Temporary Prefer: oxygen5-cursors # Temporary Prefer: -perl-App-cpanminus # libmediaart is prepared for a larger update; for now favor mediaart-1.0 Prefer: -typelib-1_0-MediaArt-2_0 Prefer: -typelib-1_0-Gtk-2_0 -typelib-1_0-Gtk-4_0 Prefer: -python-atspi Prefer: gettext-its-gtk3 gtk3-schema # for pkgconfig(ijs) and no one actually rely on ghostscript-mini-devel in Factory Prefer: ghostscript-devel # for pkgconfig(libotf) libotf-devel and libotf-devel-32bit both provides it Prefer: libotf-devel Ignore: installation-images-openSUSE:cracklib-dict-full Ignore: systemd-sysvinit:systemd Ignore: openSUSE-release:openSUSE-release-ftp,openSUSE-release-dvd5,openSUSE-release-biarch,openSUSE-release-livecdkde,openSUSE-release-livecdgnome Ignore: openSUSE-MicroOS-release:openSUSE-MicroOS-release-dvd,openSUSE-MicroOS-release-kubic-dvd Ignore: cracklib:cracklib-dict Ignore: aaa_base:aaa_skel,suse-release,logrotate,ash,distribution-release,udev Ignore: sysvinit:mingetty Ignore: gettext-tools:libgcj,libstdc++-devel,libgcj41,libstdc++41-devel,libgcj42,libstdc++42-devel Ignore: libgcj43,libstdc++43-devel Ignore: libgcj44,libstdc++44-devel Ignore: libgcj45,libstdc++45-devel Ignore: libgcj46,libstdc++46-devel Ignore: libgcj47,libstdc++47-devel Ignore: librtas:util-linux Ignore: pwdutils:openslp Ignore: rpm:suse-build-key,build-key Ignore: cloud-init:cloud-init-config # python-pyudev requires libudev1 in normal situations Ignore: python-pyudev:libudev1 Ignore: python2-pyudev:libudev1 Ignore: python3-pyudev:libudev1 Ignore: python-SPARQLWrapper:python-rdflib Ignore: python3-SPARQLWrapper:python3-rdflib Ignore: bind-utils:bind-libs Ignore: portmap:syslogd Ignore: xorg-x11:x11-tools,resmgr,xkeyboard-config,xorg-x11-Mesa,libusb,freetype2,libjpeg,libpng Ignore: xorg-x11-server:xorg-x11-driver-input,xorg-x11-driver-video Ignore: apache2:logrotate Ignore: arts:alsa,audiofile,resmgr,libogg,libvorbis Ignore: kdelibs3:alsa,arts,OpenEXR,aspell,cups-libs,mDNSResponder-lib,krb5,libjasper Ignore: kdelibs3-devel:libvorbis-devel Ignore: kdebase3:kdebase3-ksysguardd,OpenEXR,dbus-1,dbus-1-qt,hal,powersave,openslp,libusb Ignore: kdebase3-SuSE:release-notes Ignore: jack:alsa,libsndfile Ignore: libxml2-devel:readline-devel Ignore: gnome-vfs2:gnome-mime-data,desktop-file-utils,cdparanoia,dbus-1,dbus-1-glib,hal,libsmbclient,fam,file_alteration Ignore: libgda:file_alteration Ignore: gnutls:lzo,libopencdk Ignore: gnutls-devel:lzo-devel,libopencdk-devel Ignore: pango:cairo,glitz,libpixman,libpng # Disabled on 2019-05-13 by dimstar: pango.pc newly also requires cairo.pc #Ignore: pango-devel:cairo-devel Ignore: cairo-devel:libpixman-devel Ignore: libgnomeprint:libgnomecups Ignore: libgnomeprintui:libgnomecups Ignore: orbit2-devel:indent Ignore: qt3:libmng Ignore: qt-sql:qt_database_plugin Ignore: libgnomecanvas-devel:glib-devel Ignore: libgnomeui:gnome-icon-theme,shared-mime-info Ignore: scrollkeeper:docbook_4 Ignore: gnome-desktop:libgnomesu,startup-notification Ignore: python-devel:python-tk Ignore: libgtk-3-0:adwaita-icon-theme Ignore: libgtk-3-0:gdk-pixbuf-loader-rsvg Ignore: samba-libs:krb5 Ignore: libbonoboui:gnome-desktop Ignore: libxfce4ui-1-0:exo-tools Ignore: docbook_4:iso_ent,xmlcharent Ignore: control-center2:nautilus,evolution-data-server,gnome-menus,gstreamer-plugins,gstreamer,metacity,mozilla-nspr,mozilla,libxklavier,gnome-desktop,startup-notification Ignore: docbook-xsl-stylesheets:xmlcharent Ignore: liby2util-devel:libstdc++-devel,openssl-devel Ignore: yast2:yast2-ncurses,yast2_theme,perl-Config-Crontab,yast2-xml,SuSEfirewall2 Ignore: yast2-core:netcat,hwinfo,wireless-tools,sysfsutils Ignore: yast2-core-devel:libxcrypt-devel,hwinfo-devel,blocxx-devel,sysfsutils,libstdc++-devel Ignore: yast2-packagemanager-devel:rpm-devel,curl-devel,openssl-devel Ignore: yast2-devtools:libxslt Ignore: yast2-iscsi-lio-server:lio-utils Ignore: yast2-installation:yast2-update,yast2-mouse,yast2-country,yast2-bootloader,yast2-packager,yast2-network,yast2-online-update,yast2-users,release-notes,autoyast2-installation Ignore: yast2-bootloader:bootloader-theme Ignore: yast2-packager:yast2-x11,libyui_pkg Ignore: autoyast2:yast2-schema # not during build Ignore: yui_backend Ignore: yast2-x11:sax2-libsax-perl Ignore: yast2-network:yast2-inetd Ignore: openslp-devel:openssl-devel Ignore: tetex:xorg-x11-libs,expat,fontconfig,freetype2,libjpeg,ghostscript-x11,xaw3d,gd,dialog,ed Ignore: texlive-bin:ghostscript-x11 Ignore: texlive-bin-omega:ghostscript-x11 Ignore: yast2-country:yast2-trans-stats Ignore: tpb:tpctl-kmp Ignore: tpctl:tpctl-kmp Ignore: zaptel:zaptel-kmp Ignore: mkinitrd:pciutils Ignore: pciutils:pciutils-ids Ignore: postfix:iproute2 Ignore: aaa_base:systemd Ignore: gpm:systemd Ignore: openssh:systemd Ignore: cronie:systemd Ignore: systemd:kbd Ignore: systemd:kmod Ignore: systemd:systemd-presets-branding Ignore: systemd:dbus-1 Ignore: systemd:pam-config Ignore: systemd:udev Ignore: pesign:systemd Ignore: logrotate:cron Ignore: texlive-filesystem:cron Ignore: xinit:xterm Ignore: xdm:xterm Ignore: gnome-control-center:gnome-themes-accessibility Ignore: man:groff-full Ignore: git-core:rsync Ignore: apache2:systemd Ignore: icewm-lite:icewm Ignore: cluster-glue:sudo Ignore: libgcc:glibc-32bit Ignore: libgcc41:glibc-32bit Ignore: libgcc42:glibc-32bit Ignore: libgcc43:glibc-32bit Ignore: libgcc44:glibc-32bit Ignore: libgcc45:glibc-32bit Ignore: libgcc46:glibc-32bit Ignore: libgcc47:glibc-32bit Ignore: libstdc++:glibc-32bit Ignore: libstdc41++:glibc-32bit Ignore: libstdc42++:glibc-32bit Ignore: libstdc43++:glibc-32bit Ignore: libstdc44++:glibc-32bit Ignore: libstdc45++:glibc-32bit Ignore: libstdc46++:glibc-32bit Ignore: libstdc47++:glibc-32bit Ignore: ncurses-32bit Ignore: susehelp:susehelp_lang,suse_help_viewer Ignore: mailx:smtp_daemon Ignore: cron:smtp_daemon Ignore: hotplug:syslog Ignore: pcmcia:syslog Ignore: openct:syslog Ignore: postfix:sysvinit(syslog) Ignore: cups:sysvinit(syslog) Ignore: jython:servlet Ignore: ispell:ispell_dictionary,ispell_english_dictionary Ignore: aspell:aspel_dictionary,aspell_dictionary Ignore: smartlink-softmodem:kernel,kernel-nongpl Ignore: libreoffice-de:myspell-german-dictionary Ignore: libreoffice:libreoffice-i18n Ignore: libreoffice:libreoffice-icon-themes Ignore: mediawiki:php-session,php-gettext,php-zlib,php-mysql,mod_php_any Ignore: squirrelmail:mod_php_any,php-session,php-gettext,php-iconv,php-mbstring,php-openssl Ignore: perl-Log-Log4perl:rrdtool Ignore: simias:mono(log4net) Ignore: horde:mod_php_any,php-gettext,php-mcrypt,php-imap,php-pear-log,php-pear,php-session,php Ignore: xerces-j2:xml-commons-apis,xml-commons-resolver Ignore: xdg-menu:desktop-data Ignore: nessus-libraries:nessus-core Ignore: evolution:yelp Ignore: e17:e17-branding e17:e17-theme 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) Ignore: gecko-sharp2:mono(glib-sharp),mono(gtk-sharp) Ignore: vcdimager:libcdio.so.6,libcdio.so.6(CDIO_6),libiso9660.so.4,libiso9660.so.4(ISO9660_4) Ignore: libcdio:libcddb.so.2 Ignore: coreutils:coreutils-lang Ignore: cpio:cpio-lang Ignore: glib2:glib2-lang Ignore: gtk2:gtk2-lang Ignore: gtk:gtk-lang Ignore: atk:atk-lang Ignore: MozillaThunderbird:pinentry-dialog Ignore: seamonkey:pinentry-dialog Ignore: pinentry:pinentry-dialog Ignore: gpg2:gpg2-lang Ignore: util-linux:util-linux-lang Ignore: suseRegister:distribution-release Ignore: compiz:compiz-decorator Ignore: icecream:gcc-c++ Ignore: no Ignore: package Ignore: provides Ignore: j9vm/libjvm.so()(64bit) Ignore: kdepim3:suse_help_viewer Ignore: kdebase3-SuSE:kdebase3-SuSE-branding Ignore: kio_sysinfo:kdebase3-SuSE-branding Ignore: gnome-menus:gnome-menus-branding Ignore: epiphany:epiphany-branding Ignore: gnome-control-center:gnome-control-center-branding Ignore: phonon:phonon-backend Ignore: openwbem-devel Ignore: MozillaFirefox:MozillaFirefox-branding Ignore: yast2:yast2-branding Ignore: plymouth:plymouth-branding Ignore: plymouth:suspend Ignore: yast2-qt:yast2-branding Ignore: yast2-theme-SLE:yast2-branding Ignore: yast2-registration:yast2-registration-branding Ignore: compiz:compiz-branding Ignore: texlive:perl-Tk texlive-bin:perl-Tk Ignore: xfce4-desktop:xfce4-desktop-branding Ignore: xfce4-panel:xfce4-panel-branding Ignore: xfce4-session:xfce4-session-branding Ignore: kdebase4-runtime:kdebase4-runtime-branding Ignore: kwin:kdebase4-workspace-branding Ignore: transmission-common:transmission-ui Ignore: sysvinit-tools:mkinitrd cifs-utils:mkinitrd Ignore: mkinitrd:sbin_init Ignore: opensc:pinentry Ignore: gpg2:pinentry Ignore: NetworkManager:dhcp Ignore: NetworkManager:iproute2 # sysconfig requires it at runtime, not buildtime Ignore: sysconfig:dbus-1 Ignore: sysconfig:procps Ignore: sysconfig:iproute2 Ignore: sysconfig-network:iproute2 Ignore: sysconfig:tunctl Ignore: sysconfig:sysvinit(network) # no build dependencies Ignore: libksuseinstall1:yast2-packager Ignore: libksuseinstall1:zypper Ignore: syslog-service:logrotate Ignore: libglue-devel:cluster-glue Ignore: libqca2:gpg2 Ignore: NetworkManager:wpa_supplicant Ignore: NetworkManager:dhcp-client Ignore: libgio-2_0-0:dbus-1-x11 Ignore: weather-wallpaper:inkscape Ignore: libgamin-1-0:gamin-server Ignore: libfam0-gamin:gamin-server Ignore: python3:python3-pip Ignore: avahi:sysvinit(network) Ignore: cluster-glue:sysvinit(network) Ignore: dracut:systemd-sysvinit %ifarch ppc64le #Constraint: hostlabel PPC64LE_HOST Constraint: hardware:cpu:flag power8 %endif Macros: # RUBY - UNVERSIONED STUFF # # IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT # # if you change any macros here you have to update the copy in the # prjconf aswell. # # IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT # %rubygem() %{expand:%%{rubygems%rb_build_versions STOP %*}} %rubygemsSTOP() %nil %rubygemsxSTOP() %{expand:%%rubygemsxxSTOP -a %*} %rubygemsxxSTOP(a:) %{-a*}) %* %rubySTOP() %nil %rubyxSTOP() %* %ruby() %{expand:%%{ruby%rb_build_versions STOP %*}} %rubydevel() %{expand:%%{rubydevel%rb_build_versions STOP %*}} %rubydevelSTOP() %nil %rubydevelxSTOP() %* # # # IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT # # if you change any macros here you have to update the copy in # ruby2.5 aswell. # # IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT # ### And now Ruby 2.6 %rubygemsruby26() rubygem(ruby:2.6.0:%{expand:%%rubygemsx%*} %{expand:%%{rubygems%*}} %rubygemsxruby26() %{expand:%%{rubygemsx%*}} %rubyruby26() ruby2.6 %{expand:%%rubyx%*} %{expand:%%{ruby%*}} %rubyxruby26() %{expand:%%{rubyx%*}} %rubydevelruby26() ruby2.6-devel %{expand:%%rubydevelx%*} %{expand:%%{rubydevel%*}} %rubydevelxruby26() %{expand:%%{rubydevelx%*}} ### And now Ruby 2.7 %rubygemsruby27() rubygem(ruby:2.7.0:%{expand:%%rubygemsx%*} %{expand:%%{rubygems%*}} %rubygemsxruby27() %{expand:%%{rubygemsx%*}} %rubyruby27() ruby2.7 %{expand:%%rubyx%*} %{expand:%%{ruby%*}} %rubyxruby27() %{expand:%%{rubyx%*}} %rubydevelruby27() ruby2.7-devel %{expand:%%rubydevelx%*} %{expand:%%{rubydevel%*}} %rubydevelxruby27() %{expand:%%{rubydevelx%*}} ### Things to define default ruby stuff for the distro %rb_default_ruby ruby27 %rb_default_ruby_suffix ruby2.7 %rb_default_ruby_abi ruby:2.7.0 %rb_build_ruby_abis ruby:2.7.0 %rb_build_versions ruby27 :Macros Macros: %_with_ruby27 1 :Macros %define _with_ruby27 1 %define rb_default_ruby ruby27 %define rb_default_ruby_suffix ruby2.7 %define rb_default_ruby_abi ruby:2.7.0 %define rb_build_ruby_abis ruby:2.7.0 %define rb_build_versions ruby27 Prefer: -ruby-stdlib Prefer: %{rb_default_ruby_suffix}-rubygem-asciidoctor Prefer: %{rb_default_ruby_suffix}-rubygem-bundler Prefer: %{rb_default_ruby_suffix}-rubygem-cfa Prefer: %{rb_default_ruby_suffix}-rubygem-cheetah Prefer: %{rb_default_ruby_suffix}-rubygem-gem2rpm Prefer: %{rb_default_ruby_suffix}-rubygem-inifile Prefer: %{rb_default_ruby_suffix}-rubygem-mini_portile2 Prefer: %{rb_default_ruby_suffix}-rubygem-ronn Prefer: %{rb_default_ruby_suffix}-rubygem-rspec Prefer: %{rb_default_ruby_suffix}-rubygem-ruby-dbus Prefer: %{rb_default_ruby_suffix}-rubygem-sass Prefer: %{rb_default_ruby_suffix}-rubygem-sass-rails Prefer: %{rb_default_ruby_suffix}-rubygem-yard Prefer: %{rb_default_ruby_suffix}-rubygem-yast-rake # END RUBY STUFF # PYTHON STUFF %define skip_python2 1 %define _without_python2 1 Macros: %pythons %{?!skip_python3:python3} skip_python2 1 %_without_python2 1 # This method for generating python_modules gets too deep to expand at about 5 python flavors. # It is replaced by a Lua macro in macros.lua # However, OBS has a much higher expansion depth, so this works fine. %python_module_iter(a:) %{-a*}-%{args} %{expand:%%{?!python_module_iter_%1:%%{python_module_iter -a%*}}} %python_module_iter_STOP stop %python_module() %{expand:%%define args %{**}} %{expand:%%{python_module_iter -a %{pythons} STOP}} %add_python() %{expand:%%define pythons %pythons %1} :Macros # END PYTHON STUFF # BEGIN RUST STUFF # Define the architectures in which Rust (and Rust crates) are available # NOTE: Keep this in sync with rust-srpm-macros! %define rust_arches x86_64 i586 i686 armv6hl armv7hl aarch64 ppc64 powerpc64 ppc64le powerpc64le s390x Macros: %rust_arches x86_64 i586 i686 armv6hl armv7hl aarch64 ppc64 powerpc64 ppc64le powerpc64le s390x :Macros # END RUST STUFF # Default to Java 11 Prefer: java-11-openjdk-devel java-11-openjdk java-11-openjdk-headless java-11-openjdk-javadoc %ifarch s390x Prefer: java-1_8_0-openj9-devel java-1_8_0-openj9 java-1_8_0-openj9-headless %endif Prefer: java-1_8_0-openjdk-devel java-1_8_0-openjdk java-1_8_0-openjdk-headless java-1_8_0-openjdk-javadoc Prefer: java-14-openjdk-devel java-14-openjdk java-14-openjdk-headless java-14-openjdk-javadoc Prefer: java-13-openjdk-devel java-13-openjdk java-13-openjdk-headless Prefer: java-12-openjdk-devel java-12-openjdk java-12-openjdk-headless Prefer: java-10-openjdk-devel java-10-openjdk java-10-openjdk-headless Prefer: java-9-openjdk-devel java-9-openjdk java-9-openjdk-headless Prefer: java-1_7_0-openjdk-devel java-1_7_0-openjdk java-1_7_0-openjdk-headless Prefer: java-1_7_0-bootstrap-devel java-1_7_0-bootstrap java-1_7_0-bootstrap-headless Prefer: java-1_6_0-openjdk-devel java-1_6_0-openjdk java-1_6_0-openjdk-headless Prefer: java-1_5_0-gcj-compat-devel java-1_5_0-gcj-compat %ifarch x86_64 ppc64 s390x sparc64 Substitute: glibc-devel-32bit glibc-devel-32bit glibc-32bit %else %ifarch ppc sparc sparcv9 Substitute: glibc-devel-32bit glibc-devel-64bit %else Substitute: glibc-devel-32bit %endif %endif %ifarch %ix86 Substitute: kernel-binary-packages kernel-default kernel-smp kernel-bigsmp kernel-debug kernel-xen %endif %ifarch ia64 Substitute: kernel-binary-packages kernel-default kernel-debug %endif %ifarch x86_64 Substitute: kernel-binary-packages kernel-default kernel-smp kernel-xen %endif %ifarch ppc Substitute: kernel-binary-packages kernel-default kernel-ppc64 kernel-ps3 %endif %ifarch ppc64 Substitute: kernel-binary-packages kernel-default kernel-ppc64 %endif %ifarch s390 Substitute: kernel-binary-packages kernel-s390 %endif %ifarch s390x Substitute: kernel-binary-packages kernel-default %endif # until the builds of the packages are fixed... Substitute: yast2-theme-SLED Substitute: yast2-theme-SLE Optflags: i586 -fomit-frame-pointer Optflags: i686 -march=i686 -mtune=generic -fomit-frame-pointer Optflags: x86_64 Optflags: ppc Optflags: ppc64 Optflags: ia64 Optflags: s390 Optflags: s390 Optflags: armv7l Optflags: armv7hl Optflags: armv6l Optflags: armv6hl Optflags: aarch64 Optflags: ppc64le # need mcpu=ultrasparc to complete sparcv8plus to sparcv9 (adds, for example, atomic ops) Optflags: sparcv9 -mcpu=ultrasparc Optflags: sparc64 -mcpu=ultrasparc %ifarch sparcv9 Target: sparcv9 %endif %ifarch armv6l armv6hl Target: armv6hl-suse-linux %endif %ifarch armv7l armv7hl Target: armv7hl-suse-linux %endif %ifnarch ppc64 Optflags: * -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type %%{?_lto_cflags} %else Optflags: * -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type %endif # 15.5 does not exist ! %define suse_version 1550 %define is_opensuse 1 %define skelcd_compat 0 Macros: %suse_version 1550 %is_opensuse 1 %skelcd_compat 0 # trim binary changelogs back to Jan 01 2018 # maxnum,cuttime,minnum # 2018/01/01 %_binarychangelogtrim 0,1514764800,10 # %_changelog_trimtime 1514764800 %build_ldflags %{?_lto_cflags} %insserv_prereq insserv sed %fillup_prereq fillup /usr/bin/mkdir /usr/bin/touch %suseconfig_fonts_prereq perl aaa_base # I can't just not define it, as otherwise all specs using it break: [ 25s] error: line 27: Empty tag: Requires(post): %install_info_prereq /bin/sh %kernel_module_package_buildreq kmod-compat kernel-syms %kernel_module_package_buildreqs kmod-compat kernel-syms %sles_version 0 %ul_version 0 %do_profiling 1 %opensuse_bs 1 %_vendor suse # Reproducible builds %source_date_epoch_from_changelog Y # clamp_mtime_to_source_date_epoch Y # define which gcc package builds the system libraries %product_libs_gcc_ver 10 # The following shlibs have latest versions built from GCC 6 sources %product_libs_gcc_ver_libasan3 6 %product_libs_gcc_ver_libgo9 6 %product_libs_gcc_ver_libgfortran3 6 # reminded by richi 2017 4/3 %product_libs_gcc_ver_libgcj_bc1 6 # The following shlibs have the latest version built from GCC 7 sources %product_libs_gcc_ver_libgfortran4 7 %product_libs_gcc_ver_libasan4 7 %product_libs_gcc_ver_libubsan0 7 %product_libs_gcc_ver_libcilkrts5 7 %product_libs_gcc_ver_libgo11 7 # The following shlibs have the latest version built from GCC 8 %product_libs_gcc_ver_libmpx2 8 %product_libs_gcc_ver_libmpxwrappers2 8 %product_libs_gcc_ver_libgo13 8 # The following shlibs have the latest version built from GCC 9 sources %product_libs_gcc_ver_libasan5 9 %product_libs_gcc_ver_libgo14 9 %gcc_version 9 %ext_info .gz %ext_man .gz %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 \ %{nil} %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 \ %{nil} :Macros