get rid of debbuild to comply with fedora guidelines
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
fdb959755b
commit
e971ddf4c6
@ -8,26 +8,18 @@
|
||||
|
||||
Name: netavark
|
||||
Version: 1.2.0
|
||||
%if "%{_vendor}" == "debbuild"
|
||||
Packager: Podman Debbuild Maintainers <https://github.com/orgs/containers/teams/podman-debbuild-maintainers>
|
||||
License: ASL-2.0+
|
||||
Release: 0%{?dist}
|
||||
%else
|
||||
Release: %autorelease
|
||||
License: ASL 2.0 and BSD and MIT
|
||||
ExclusiveArch: %{rust_arches}
|
||||
%endif
|
||||
Summary: OCI network stack
|
||||
URL: https://github.com/containers/%{name}
|
||||
# Tarballs fetched from upstream's release page
|
||||
Source0: %{url}/archive/v%{built_tag_strip}.tar.gz
|
||||
Source1: %{url}/releases/download/v%{built_tag_strip}/%{name}-v%{built_tag_strip}-vendor.tar.gz
|
||||
BuildRequires: cargo
|
||||
BuildRequires: go-md2man
|
||||
Recommends: aardvark-dns >= 1.0.3
|
||||
Provides: container-network-stack = 2
|
||||
%if "%{_vendor}" == "debbuild"
|
||||
BuildRequires: git
|
||||
%else
|
||||
BuildRequires: make
|
||||
BuildRequires: rust-srpm-macros
|
||||
BuildRequires: git-core
|
||||
@ -179,7 +171,6 @@ Provides: bundled(crate(zbus_macros)) = v2.3.2
|
||||
Provides: bundled(crate(zbus_names)) = v2.1.0
|
||||
Provides: bundled(crate(zvariant)) = v3.4.1
|
||||
Provides: bundled(crate(zvariant_derive)) = v3.4.1
|
||||
%endif
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
@ -230,6 +221,4 @@ go-md2man -in %{name}.1.md -out %{name}.1
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
%if "%{_vendor}" != "debbuild"
|
||||
%autochangelog
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user