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
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
License: GPL-2.0-only OR GPL-3.0-only
Group: Development/Tools/Building
@ -67,11 +73,11 @@ Recommends: /sbin/mkfs.ext3
%endif
%if 0%{?suse_version} > 1120 || ! 0%{?suse_version}
Requires: build-mkbaselibs
Requires: %{__pkg_name}-mkbaselibs
%endif
%if 0%{?suse_version} > 1120 || 0%{?mdkversion}
Recommends: build-mkdrpms
Recommends: %{__pkg_name}-mkdrpms
%endif
%description
@ -95,7 +101,7 @@ Summary: Tools to generate delta rpms
Group: Development/Tools/Building
Requires: deltarpm
# XXX: we wanted to avoid that but mkdrpms needs Build::Rpm::rpmq
Requires: build
Requires: %{__pkg_name}
%description mkdrpms
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}
Summary: Virtualization initializer for emulated cross architecture builds
Group: Development/Tools/Building
Requires: build
Requires: %{__pkg_name}
BuildRequires: gcc
BuildRequires: glibc-devel
Provides: build-initvm
Obsoletes: build-initvm
Provides: %{__pkg_name}-initvm
Obsoletes: %{__pkg_name}-initvm
%if 0%{?suse_version} > 1200
BuildRequires: glibc-devel-static
%endif

View File

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