Files
_ObsPrj/_config

56 lines
1.5 KiB
Plaintext

############################################################
##################### SLE_12 ###############################
############################################################
%if "%_repository" == "SLE_12"
PublishFilter: ^(?!venv-salt-minion).*\.rpm$
Prefer: saltbundle-libopenssl1_0_0
Prefer: saltbundle-libyaml
Substitute: pkgconfig(ncurses) ncurses-devel
FileProvides: /usr/bin/who coreutils
Macros:
%make_build /usr/bin/make V=1 VERBOSE=1
%saltbundlepy_module() saltbundlepy-%{**}
%build_pcre2_sle12_package 1
%build_saltbundle_openssl_sle12_package 1
%build_saltbundlepy_libvirt_sle12_package 1
%build_autoconf_archive_sle12_package 1
:Macros
%endif
############################################################
##################### SLE_15 ###############################
############################################################
%if "%_repository" == "SLE_15"
PublishFilter: ^(?!venv-salt-minion).*\.rpm$
Prefer: saltbundle-libyaml
Macros:
%build_saltbundlepy_libvirt_sle15_package 1
:Macros
%endif
############################################################
##################### SLE_16 ###############################
############################################################
%if "%_repository" == "SLE_16"
PublishFilter: ^(?!venv-salt-minion).*\.rpm$
FileProvides: /usr/bin/python3.11 saltbundlepy-base
FileProvides: /usr/bin/python3 saltbundlepy-base
Prefer: saltbundle-libyaml
Prefer: saltbundle-libffi8
Ignore: texlive-dviasm
Ignore: cmake-mini:python3-base
Macros:
%build_saltbundlepy_libvirt_sle16_package 1
:Macros
%endif