1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

Recommend build on openSUSE/SLE and obs-build on all other distros

This commit is contained in:
Daniel Mach 2023-10-17 16:05:19 +02:00
parent bca89c2f4a
commit cdc2a0d9c3

View File

@ -30,6 +30,7 @@
%endif %endif
%define argparse_manpage_pkg %{use_python_pkg}-argparse-manpage %define argparse_manpage_pkg %{use_python_pkg}-argparse-manpage
%define obs_build_pkg obs-build
%define sphinx_pkg %{use_python_pkg}-Sphinx %define sphinx_pkg %{use_python_pkg}-Sphinx
%if 0%{?fedora} %if 0%{?fedora}
@ -37,6 +38,10 @@
%define sphinx_pkg %{use_python_pkg}-sphinx %define sphinx_pkg %{use_python_pkg}-sphinx
%endif %endif
%if 0%{?suse_version}
%define obs_build_pkg build
%endif
Name: osc Name: osc
Version: 1.4.4 Version: 1.4.4
Release: 0 Release: 0
@ -85,7 +90,7 @@ Recommends: %{use_python_pkg}-distro
Recommends: %{use_python_pkg}-keyring Recommends: %{use_python_pkg}-keyring
Recommends: %{use_python_pkg}-keyring-keyutils Recommends: %{use_python_pkg}-keyring-keyutils
Recommends: build Recommends: %{obs_build_pkg}
Recommends: ca-certificates Recommends: ca-certificates
Recommends: diffstat Recommends: diffstat
Recommends: powerpc32 Recommends: powerpc32