new name on fedora

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=398
This commit is contained in:
Adrian Schröter 2020-01-22 12:39:17 +00:00 committed by Git OBS Bridge
parent c5cba3da1a
commit d8ce548cda
2 changed files with 16 additions and 10 deletions

View File

@ -18,7 +18,13 @@
# needsbinariesforbuild # needsbinariesforbuild
Name: build %if 0%{?fedora} || 0%{?rhel}
%define __pkg_name obs-build
%else
%define __pkg_name build
%endif
Name: %{__pkg_name}
Summary: A Script to Build SUSE Linux RPMs Summary: A Script to Build SUSE Linux RPMs
License: GPL-2.0-only OR GPL-3.0-only License: GPL-2.0-only OR GPL-3.0-only
Group: Development/Tools/Building Group: Development/Tools/Building
@ -67,11 +73,11 @@ Recommends: /sbin/mkfs.ext3
%endif %endif
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version} %if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
Requires: build-mkbaselibs Requires: %{__pkg_name}-mkbaselibs
%endif %endif
%if 0%{?suse_version} > 1120 || 0%{?mdkversion} %if 0%{?suse_version} > 1120 || 0%{?mdkversion}
Recommends: build-mkdrpms Recommends: %{__pkg_name}-mkdrpms
%endif %endif
%description %description
@ -95,7 +101,7 @@ Summary: Tools to generate delta rpms
Group: Development/Tools/Building Group: Development/Tools/Building
Requires: deltarpm Requires: deltarpm
# XXX: we wanted to avoid that but mkdrpms needs Build::Rpm::rpmq # XXX: we wanted to avoid that but mkdrpms needs Build::Rpm::rpmq
Requires: build Requires: %{__pkg_name}
%description mkdrpms %description mkdrpms
This package contains the parts which may be installed in the inner build system This package contains the parts which may be installed in the inner build system
@ -110,11 +116,11 @@ for generating delta rpm packages.
%package initvm-%{initvm_arch} %package initvm-%{initvm_arch}
Summary: Virtualization initializer for emulated cross architecture builds Summary: Virtualization initializer for emulated cross architecture builds
Group: Development/Tools/Building Group: Development/Tools/Building
Requires: build Requires: %{__pkg_name}
BuildRequires: gcc BuildRequires: gcc
BuildRequires: glibc-devel BuildRequires: glibc-devel
Provides: build-initvm Provides: %{__pkg_name}-initvm
Obsoletes: build-initvm Obsoletes: %{__pkg_name}-initvm
%if 0%{?suse_version} > 1200 %if 0%{?suse_version} > 1200
BuildRequires: glibc-devel-static BuildRequires: glibc-devel-static
%endif %endif

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:244d6d126a965818a97e2a651efc68aa50675903dd0f0736a3a1107f9d105aa9 oid sha256:df2cbc1a8a9c53595b2e46fdc6977c574c6c3cb9f67f3278f38f3ba1c186d97c
size 356779 size 357281