Format specfile.
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=417
This commit is contained in:
parent
6a719b3954
commit
e3eecc4a34
17
docker.spec
17
docker.spec
@ -16,12 +16,13 @@
|
|||||||
#
|
#
|
||||||
# nodebuginfo
|
# nodebuginfo
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without apparmor
|
||||||
|
|
||||||
# The flavour is defined with a macro to try to keep docker and docker-stable
|
# The flavour is defined with a macro to try to keep docker and docker-stable
|
||||||
# as similar as possible, to make maintenance a little easier.
|
# as similar as possible, to make maintenance a little easier.
|
||||||
%define flavour %{nil}
|
%define flavour %{nil}
|
||||||
|
|
||||||
%bcond_without apparmor
|
|
||||||
|
|
||||||
# Where important update information will be stored, such that an administrator
|
# Where important update information will be stored, such that an administrator
|
||||||
# is guaranteed to see the relevant warning.
|
# is guaranteed to see the relevant warning.
|
||||||
%define update_messages %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}
|
%define update_messages %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}
|
||||||
@ -96,18 +97,18 @@ BuildRequires: fdupes
|
|||||||
%if %{with apparmor}
|
%if %{with apparmor}
|
||||||
BuildRequires: libapparmor-devel
|
BuildRequires: libapparmor-devel
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: fish
|
||||||
|
BuildRequires: go-go-md2man
|
||||||
BuildRequires: libbtrfs-devel >= 3.8
|
BuildRequires: libbtrfs-devel >= 3.8
|
||||||
BuildRequires: libseccomp-devel >= 2.2
|
BuildRequires: libseccomp-devel >= 2.2
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: linux-glibc-devel
|
BuildRequires: linux-glibc-devel
|
||||||
BuildRequires: procps
|
BuildRequires: procps
|
||||||
BuildRequires: sqlite3-devel
|
BuildRequires: sqlite3-devel
|
||||||
BuildRequires: zsh
|
|
||||||
BuildRequires: fish
|
|
||||||
BuildRequires: go-go-md2man
|
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
|
||||||
BuildRequires: sysuser-tools
|
BuildRequires: sysuser-tools
|
||||||
|
BuildRequires: zsh
|
||||||
BuildRequires: golang(API) = 1.21
|
BuildRequires: golang(API) = 1.21
|
||||||
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
%if %{with apparmor}
|
%if %{with apparmor}
|
||||||
%if 0%{?sle_version} >= 150000
|
%if 0%{?sle_version} >= 150000
|
||||||
# This conditional only works on rpm>=4.13, which SLE 12 doesn't have. But we
|
# This conditional only works on rpm>=4.13, which SLE 12 doesn't have. But we
|
||||||
@ -163,8 +164,8 @@ Requires(post): shadow
|
|||||||
# configured to use lvm and the user doesn't explicitly provide a
|
# configured to use lvm and the user doesn't explicitly provide a
|
||||||
# different storage-driver than devicemapper
|
# different storage-driver than devicemapper
|
||||||
Recommends: lvm2 >= 2.2.89
|
Recommends: lvm2 >= 2.2.89
|
||||||
Recommends: git-core >= 1.7
|
|
||||||
Recommends: %{name}-rootless-extras
|
Recommends: %{name}-rootless-extras
|
||||||
|
Recommends: git-core >= 1.7
|
||||||
ExcludeArch: s390 ppc
|
ExcludeArch: s390 ppc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -209,9 +210,9 @@ Key features:
|
|||||||
Summary: Rootless support for Docker
|
Summary: Rootless support for Docker
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Requires: %{name} = %{docker_version}
|
Requires: %{name} = %{docker_version}
|
||||||
Requires: slirp4netns >= 0.4
|
|
||||||
Requires: fuse-overlayfs >= 0.7
|
Requires: fuse-overlayfs >= 0.7
|
||||||
Requires: rootlesskit
|
Requires: rootlesskit
|
||||||
|
Requires: slirp4netns >= 0.4
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# docker-stable cannot be used alongside docker.
|
# docker-stable cannot be used alongside docker.
|
||||||
%if "%{name}" == "docker-stable"
|
%if "%{name}" == "docker-stable"
|
||||||
|
Loading…
Reference in New Issue
Block a user