Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wicked:qubes-build
Configuration
Project Config
Overview
Repositories
Monitor
Requests
Users
Subprojects
Project Config
Attributes
Signing Keys
Meta
Status
Pulse
Project Configuration of home:wicked:qubes-build
# Configure separate repo for debug packages Repotype: rpm-md:rsyncable splitdebug:_debug # Configure distro tags %if "%_repository" == "openSUSE_Leap_15.2" Release: <CI_CNT>.<B_CNT> spec:lp152.qubes.<CI_CNT>.<B_CNT> %elif "%_repository" == "openSUSE_Leap_15.3" Release: <CI_CNT>.<B_CNT> spec:lp153.qubes.<CI_CNT>.<B_CNT> %elif "%_repository" == "openSUSE_Leap_15.4" Release: <CI_CNT>.<B_CNT> spec:lp154.qubes.<CI_CNT>.<B_CNT> %elif "%_repository" == "openSUSE_Leap_15.5" Release: <CI_CNT>.<B_CNT> spec:qubes.lp155.<CI_CNT>.<B_CNT> %elif "%_repository" == "SLE_15_SP2" Release: <CI_CNT>.<B_CNT> spec:sle152.qubes.<CI_CNT>.<B_CNT> %elif "%_repository" == "SLE_15_SP3" Release: <CI_CNT>.<B_CNT> spec:sle153.qubes.<CI_CNT>.<B_CNT> %elif "%_repository" == "SLE_15_SP4" Release: <CI_CNT>.<B_CNT> spec:sle154.qubes.<CI_CNT>.<B_CNT> %elif "%_repository" == "15.4" Release: <CI_CNT>.<B_CNT> spec:qubes.bp154.<CI_CNT>.<B_CNT> %elif "%_repository" == "15.5" Release: <CI_CNT>.<B_CNT> spec:qubes.bp155.<CI_CNT>.<B_CNT> %else Release: <CI_CNT>.<B_CNT> spec:qubes.<CI_CNT>.<B_CNT> %endif # Abort the build if the log file didn't move in 30mins (seen randomly at least in python-xcffib builds) BuildFlags: logidlelimit:1800 # The prjconf macros have a serial to help work around issues like https://github.com/openSUSE/open-build-service/issues/4088 # On macros having impact on dep chains, update the serial (mainly ruby, python) # Using a date to indicate when we set the serial ExpandFlags: macroserial:20220614 # Global changes # # python-tornado exists in multiple versions, the meta-package python-tornado defines the system default. Prefer: python3-tornado python3-tornado5 python3-tornado6 -python3-tornado4 Prefer: python39-tornado python39-tornado5 python39-tornado6 -python39-tornado4 Prefer: python310-tornado python310-tornado5 python310-tornado6 -python310-tornado4 # pytest v6 should win over v5, never install v4 Prefer: python3-pytest python3-pytest5 -python3-pytest4 Prefer: python39-pytest python39-pytest5 -python39-pytest4 Prefer: python310-pytest python310-pytest5 -python310-pytest4 # Prefer the new one, there's also older python3-libxml2-python Prefer: python3-libxml2 # There is python[23]-prompt_toolkit and also python3-prompt_toolkit1 for Python 2 compat. Use the unversioned one by default. Prefer: python3-prompt_toolkit # Prefer new split graphviz libraries over old monolithic one Prefer: -libgraphviz6 # Other from 15.4 and other from Factory # have choice for python3-importlib_resources: python3-importlib-resources python3-importlib_resources Prefer: python3-importlib-resources -python3-importlib_resources # Non-Factory changes %if "%_repository" != "openSUSE_Factory" # # Tell OBS to match Python interpreters to correct packages FileProvides: /usr/bin/python3 python3-base FileProvides: /usr/bin/python3.8 python3-base FileProvides: /usr/bin/python3.9 python39-base FileProvides: /usr/bin/python3.10 python310-base # Unsplit some packages that are split in Factory Substitute: rpm-build-perl rpm-build= Substitute: rpm-build-python python-rpm-macros rpm-build= # Unrename some Factory packages Substitute: pkgconf-pkg-config pkg-config # Renamed packages Substitute: python3-gpgme python3-gpg= Substitute: python3-PrettyTable python3-prettytable= Prefer: python3-pycairo # have choice for python3-magic: python3-magic python3-python-magic Prefer: -python3-magic -python39-magic -python310-magic # have choice for python3-Sphinx >= 1.3 needed by python3-releases: python3-Sphinx python3-Sphinx_4_2_0 Prefer: python3-Sphinx # Temporary fixes for build problems Prefer: python3-dbm # We override packages so never use backporting limits # NOTE: rpmlint-mini needs to be rebuild from non-Checks projects to not require rpmlint-backports-data package directly Support: !rpmlint-backports Ignore: rpmlint-mini:rpmlint-backports-data # # Factory only changes %else # # Don't rebuild Python versions, use what Factory already has BuildFlags: excludebuild:python excludebuild:python-base excludebuild:python-doc BuildFlags: excludebuild:python36 excludebuild:python36:base excludebuild:python36:doc BuildFlags: excludebuild:python38 excludebuild:python38:base excludebuild:python38:doc BuildFlags: excludebuild:python39 excludebuild:python39:base excludebuild:python39:doc BuildFlags: excludebuild:python310 excludebuild:python310:base excludebuild:python310:doc # Skip some packages that we prefer Factory version for # For example, when package build fails because it was sourced from Leap. BuildFlags: excludebuild:libgpg-error BuildFlags: excludebuild:python-rpm BuildFlags: excludebuild:python-nautilus BuildFlags: excludebuild:python-lupa BuildFlags: excludebuild:python-tornado5 BuildFlags: excludebuild:hiredis BuildFlags: excludebuild:redis BuildFlags: excludebuild:ldb BuildFlags: excludebuild:tdb BuildFlags: excludebuild:samba BuildFlags: excludebuild:protobuf BuildFlags: excludebuild:python-importlib_resources BuildFlags: excludebuild:rpm-config-SUSE BuildFlags: excludebuild:meson BuildFlags: excludebuild:meson:test BuildFlags: excludebuild:libmodulemd BuildFlags: excludebuild:librepo BuildFlags: excludebuild:libdnf BuildFlags: excludebuild:dnf BuildFlags: excludebuild:dnf-plugins-core # %endif # Only for 15.4 and 15.5 %if "%_repository" == "15.4" || "%_repository" == "15.5" # Testing to see if the prebuilt version works BuildFlags: excludebuild:libgpg-error BuildFlags: excludebuild:hiredis BuildFlags: excludebuild:redis BuildFlags: excludebuild:ldb BuildFlags: excludebuild:tdb BuildFlags: excludebuild:samba # Disable Python 3.9/3.10 as they already exist (only interpreter and base modules so far, though) BuildFlags: excludebuild:python39 excludebuild:python39:base excludebuild:python39:doc BuildFlags: excludebuild:python310 excludebuild:python310:base excludebuild:python310:doc %endif # Only for 15.5 %if "%_repository" == "15.5" BuildFlags: excludebuild:rpm-config-SUSE %else BuildFlags: excludebuild:rpm-config-SUSE-310 %endif # Other than Leap 15.2 and SLE 15 SP2 changes %if "%_repository" != "openSUSE_Leap_15.2" && "%_repository" != "SLE_15_SP2" # # Updated packages only for Leap 15.2 and SLE 15 SP2 BuildFlags: excludebuild:lz4 BuildFlags: excludebuild:gpg2 BuildFlags: excludebuild:libgcrypt BuildFlags: excludebuild:rpm-repos-openSUSE BuildFlags: excludebuild:python-rpm152 # # Disable Python 3.9 as it already exists (only interpreter so far, though) # Need to rebuild newer as the v3.9.6 currently in 15.3/15.4 misses a fix needed by python-astroid #BuildFlags: excludebuild:python39 excludebuild:python39:base excludebuild:python39:doc # %else # Don't build on Leap 15.2/SLE 15 SP2 BuildFlags: excludebuild:python-rpm # Updated rpm macros (currently conflicts with old RPM 4.14.1) #Required: rpm-config-SUSE # Only for Leap 15.2 %if "%_repository" != "openSUSE_Leap_15.2" BuildFlags: excludebuild:rpm-repos-openSUSE %endif %endif # Changes only for openSUSE 15.2 %if "%_repository" == "openSUSE_Leap_15.2" # # Unconditionally have Python module macros on the build environment Required: python-rpm-macros # %endif # Define Python build flavors # # NOTE: As long as RPM on the base OS is not patched to support two digit Python version in /usr/lib/rpm/pythondeps.sh, don't enable 3.10! # Otherwise the automatic python(abi) requires failes to be generated and the base interpreter does not get installed correctly # ALSO: Stock 3.9/3.10 are not installable together on 15.4/15.5 as 3.10 obsoletes older one(s) %if "%_repository" == "openSUSE_Factory" %define primary_python python310 Macros: %primary_python python310 %pythons %{?!skip_python38:python38} %{?!skip_python39:python39} %{?!skip_python310:python310} :Macros %elif "%_repository" == "15.5" %define primary_python python3 %define rpmlint_flavor python310 Macros: %primary_python python3 %rpmlint_flavor python310 %pythons %{?!skip_python310:python310} %{?!skip_python3:python3} :Macros %else %define primary_python python3 Macros: %primary_python python3 %pythons %{?!skip_python39:python39} %{?!skip_python3:python3} :Macros %endif # Set packager info Macros: %vendor Qubes OS %distribution Qubes OS R4.1.42 %packager obs://build.opensuse.org/home:wicked :Macros # Reproducible builds Macros: %source_date_epoch_from_changelog Y %clamp_mtime_to_source_date_epoch Y %use_source_date_epoch_as_buildtime Y %_buildhost reproducible :Macros # Python conf %define _without_python2 1 %define skip_python2 1 Macros: %_without_python2 1 %skip_python2 1 # prjconf definitions for python-rpm-macros # This method for generating python_modules gets too deep to expand for rpm at about 5 python flavors. # Hence, python_module_iter is replaced by python_module_lua in macros.lua. # However, OBS cannot expand lua, but has a much higher expansion depth, so this works fine for the server side resolver. %python_module_iter(a:) %{expand:%%define python %{-a*}} ( %python-%args ) %{expand:%%{?!python_module_iter_%1:%%{python_module_iter -a%*}}%%{?python_module_iter_%1}} # pseudo-undefine for obs: reset for the next expansion within the next call of python_module %python_module_iter_STOP %global python %%%%python %python_module() %{?!python_module_lua:%{expand:%%define args %{**}} %{expand:%%{python_module_iter -a %{pythons} STOP}}}%{?python_module_lua:%python_module_lua %{**}} :Macros
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor