57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
%if "%_repository" == "xUbuntu_9.04"
|
|
Substitute: python-celementtree
|
|
%endif
|
|
|
|
BuildFlags: setvcs
|
|
|
|
%if "%_repository" == "Fedora_Rawhide"
|
|
Prefer: -pkgconfig
|
|
%endif
|
|
|
|
# we do have only x86_64 build hosts, may be a problem on local build though ...
|
|
ExportFilter: ^qemu.*\.x86_64.rpm$ . armv7l
|
|
|
|
%if "%_repository" == "Arch"
|
|
Preinstall: strace
|
|
%endif
|
|
|
|
%if "%_repository" == "assist_repo_checker"
|
|
Support: brp-extract-appdata
|
|
%endif
|
|
|
|
Prefer: -python310-urllib3_1
|
|
|
|
%if "%_repository" == "CentOS_6" || "%_repository" == "CentOS_7"
|
|
Ignore: glibc-langpack-en
|
|
%endif
|
|
|
|
%if "%_repository" == "CentOS_8" || "%_repository" == "RHEL_8" || "%_repository" == "AlmaLinux_8" || "%_repository" == "RockyLinux_8"
|
|
# incomplete switch to 5.30, not all perl modules are available and cause unresolvables
|
|
ExpandFlags: module:python36-3.6
|
|
%endif
|
|
|
|
%if "%_repository" == "AlmaLinux_8" || "%_repository" == "RockyLinux_8"
|
|
# Enabled by M0ses
|
|
ExpandFlags: module:perl-5.26
|
|
ExpandFlags: module:perl-5.24
|
|
# Disabled by M0ses
|
|
#ExpandFlags: module:perl-5.30
|
|
#ExpandFlags: module:perl-libwww-perl-6.34
|
|
ExpandFlags: module:perl-YAML-1.24
|
|
|
|
Prefer: perl-IO-Socket-SSL
|
|
%endif
|
|
|
|
%if "%_repository" == "SLE_11_SP4" || "%_repository" == "SLE_11_SP3" || "%_repository" == "SLE_11_SP2"
|
|
Prefer: python-setuptools
|
|
%endif
|
|
|
|
# enable gbp support in obs-tar-scm
|
|
%define %enable_gbp 1
|
|
Macros:
|
|
%enable_gbp 1
|
|
:Macros
|
|
|
|
%if "%_repository" == "15.6"
|
|
Substitute: python3-poetry-core python311-poetry-core
|
|
%endif |