2021-06-14 14:01:16 +00:00
|
|
|
%global with_debug 1
|
2018-05-18 15:18:40 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%if 0%{?with_debug}
|
2018-05-17 03:58:22 +00:00
|
|
|
%global _find_debuginfo_dwz_opts %{nil}
|
2018-02-06 22:05:10 +00:00
|
|
|
%global _dwz_low_mem_die_limit 0
|
|
|
|
%else
|
2018-08-12 03:03:46 +00:00
|
|
|
%global debug_package %{nil}
|
2018-02-06 22:05:10 +00:00
|
|
|
%endif
|
|
|
|
|
2023-08-10 20:58:58 +00:00
|
|
|
# RHEL's default %%gobuild macro doesn't account for the BUILDTAGS variable, so we
|
|
|
|
# set it separately here and do not depend on RHEL's go-[s]rpm-macros package
|
|
|
|
# until that's fixed.
|
|
|
|
# c9s bz: https://bugzilla.redhat.com/show_bug.cgi?id=2227328
|
2024-01-25 05:10:24 +00:00
|
|
|
%if %{defined rhel} && 0%{?rhel} < 10
|
2023-05-24 13:41:45 +00:00
|
|
|
%define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};
|
2023-08-10 20:58:58 +00:00
|
|
|
%endif
|
2023-05-24 13:41:45 +00:00
|
|
|
|
2023-07-03 14:06:58 +00:00
|
|
|
%global gomodulesmode GO111MODULE=on
|
|
|
|
|
|
|
|
%if %{defined rhel}
|
2023-05-24 13:41:45 +00:00
|
|
|
# _user_tmpfiles.d currently undefined on rhel
|
|
|
|
%global _user_tmpfilesdir %{_datadir}/user-tmpfiles.d
|
|
|
|
%endif
|
|
|
|
|
2023-07-03 14:06:58 +00:00
|
|
|
%if %{defined fedora}
|
|
|
|
%define build_with_btrfs 1
|
2023-05-24 13:41:45 +00:00
|
|
|
%endif
|
|
|
|
|
2023-11-27 19:53:07 +00:00
|
|
|
%if %{defined copr_username}
|
|
|
|
%define copr_build 1
|
|
|
|
%endif
|
|
|
|
|
2023-07-03 14:06:58 +00:00
|
|
|
%global container_base_path github.com/containers
|
|
|
|
%global container_base_url https://%{container_base_path}
|
2023-05-24 13:41:45 +00:00
|
|
|
|
2023-07-03 14:06:58 +00:00
|
|
|
# For LDFLAGS
|
2024-02-09 13:33:12 +00:00
|
|
|
%global ld_project %{container_base_path}/%{name}/v5
|
2023-07-03 14:06:58 +00:00
|
|
|
%global ld_libpod %{ld_project}/libpod
|
2023-05-24 13:41:45 +00:00
|
|
|
|
2023-07-03 14:06:58 +00:00
|
|
|
# %%{name}
|
|
|
|
%global git0 %{container_base_url}/%{name}
|
2018-03-27 14:24:36 +00:00
|
|
|
|
2022-01-28 21:02:15 +00:00
|
|
|
Name: podman
|
2023-11-27 19:53:07 +00:00
|
|
|
%if %{defined copr_build}
|
2023-07-03 14:06:58 +00:00
|
|
|
Epoch: 102
|
2023-05-24 13:41:45 +00:00
|
|
|
%else
|
2023-01-23 10:34:03 +00:00
|
|
|
Epoch: 5
|
2023-05-24 13:41:45 +00:00
|
|
|
%endif
|
|
|
|
# DO NOT TOUCH the Version string!
|
|
|
|
# The TRUE source of this specfile is:
|
|
|
|
# https://github.com/containers/podman/blob/main/rpm/podman.spec
|
|
|
|
# If that's what you're reading, Version must be 0, and will be updated by Packit for
|
|
|
|
# copr and koji builds.
|
|
|
|
# If you're reading this on dist-git, the version is automatically filled in by Packit.
|
2024-09-26 12:06:51 +00:00
|
|
|
Version: 5.2.3
|
2023-08-28 19:16:12 +00:00
|
|
|
# The `AND` needs to be uppercase in the License for SPDX compatibility
|
2023-08-22 13:15:27 +00:00
|
|
|
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
|
2024-09-26 12:06:51 +00:00
|
|
|
Release: 1%{?dist}
|
2023-07-03 14:06:58 +00:00
|
|
|
%if %{defined golang_arches_future}
|
2023-02-09 10:25:12 +00:00
|
|
|
ExclusiveArch: %{golang_arches_future}
|
2023-05-24 13:41:45 +00:00
|
|
|
%else
|
|
|
|
ExclusiveArch: aarch64 ppc64le s390x x86_64
|
|
|
|
%endif
|
2018-03-27 14:24:36 +00:00
|
|
|
Summary: Manage Pods, Containers and Container Images
|
2019-05-24 14:43:28 +00:00
|
|
|
URL: https://%{name}.io/
|
2022-10-07 14:08:46 +00:00
|
|
|
# All SourceN files fetched from upstream
|
2023-11-27 10:30:53 +00:00
|
|
|
Source0: %{git0}/archive/v%{version_no_tilde}.tar.gz
|
2020-01-06 15:54:08 +00:00
|
|
|
Provides: %{name}-manpages = %{epoch}:%{version}-%{release}
|
2023-05-24 13:41:45 +00:00
|
|
|
BuildRequires: %{_bindir}/envsubst
|
2023-07-03 14:06:58 +00:00
|
|
|
%if %{defined build_with_btrfs}
|
2021-04-05 14:38:31 +00:00
|
|
|
BuildRequires: btrfs-progs-devel
|
2023-04-24 23:16:03 +00:00
|
|
|
%endif
|
2020-12-03 16:12:40 +00:00
|
|
|
BuildRequires: gcc
|
2018-04-16 03:12:23 +00:00
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: glibc-static
|
2022-08-19 20:13:59 +00:00
|
|
|
BuildRequires: golang
|
2021-01-11 19:37:44 +00:00
|
|
|
BuildRequires: git-core
|
2024-04-18 13:46:55 +00:00
|
|
|
%if %{undefined rhel} || 0%{?rhel} >= 10
|
2021-06-14 14:01:16 +00:00
|
|
|
BuildRequires: go-rpm-macros
|
2023-05-24 13:41:45 +00:00
|
|
|
%endif
|
2018-04-16 03:12:23 +00:00
|
|
|
BuildRequires: gpgme-devel
|
|
|
|
BuildRequires: libassuan-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libseccomp-devel
|
|
|
|
BuildRequires: libselinux-devel
|
2021-09-23 19:11:45 +00:00
|
|
|
BuildRequires: shadow-utils-subid-devel
|
2018-04-16 03:12:23 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: make
|
2023-08-28 19:16:12 +00:00
|
|
|
BuildRequires: man-db
|
2021-04-05 14:38:31 +00:00
|
|
|
BuildRequires: ostree-devel
|
2019-03-19 11:55:36 +00:00
|
|
|
BuildRequires: systemd
|
2019-05-24 14:43:28 +00:00
|
|
|
BuildRequires: systemd-devel
|
2022-10-07 14:08:46 +00:00
|
|
|
Requires: catatonit
|
2023-04-03 11:20:02 +00:00
|
|
|
Requires: conmon >= 2:2.1.7-2
|
2024-04-18 13:46:55 +00:00
|
|
|
%if %{defined fedora} && 0%{?fedora} >= 40
|
|
|
|
# TODO: Remove the f40 conditional after a few releases to keep conditionals to
|
|
|
|
# a minimum
|
|
|
|
# Ref: https://bugzilla.redhat.com/show_bug.cgi?id=2269148
|
|
|
|
Requires: containers-common-extra >= 5:0.58.0-1
|
|
|
|
%else
|
2023-07-03 14:06:58 +00:00
|
|
|
Requires: containers-common-extra
|
2024-04-18 13:46:55 +00:00
|
|
|
%endif
|
2023-02-09 10:25:12 +00:00
|
|
|
Provides: %{name}-quadlet
|
|
|
|
Obsoletes: %{name}-quadlet <= 5:4.4.0-1
|
|
|
|
Provides: %{name}-quadlet = %{epoch}:%{version}-%{release}
|
2023-01-23 10:34:03 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%description
|
2019-05-24 14:43:28 +00:00
|
|
|
%{name} (Pod Manager) is a fully featured container engine that is a simple
|
|
|
|
daemonless tool. %{name} provides a Docker-CLI comparable command line that
|
|
|
|
eases the transition from other container engines and allows the management of
|
|
|
|
pods, containers and images. Simply put: alias docker=%{name}.
|
2019-09-17 18:06:00 +00:00
|
|
|
Most %{name} commands can be run as a regular user, without requiring
|
|
|
|
additional privileges.
|
2019-05-17 16:56:00 +00:00
|
|
|
|
2019-09-17 18:06:00 +00:00
|
|
|
%{name} uses Buildah(1) internally to create container images.
|
|
|
|
Both tools share image (not container) storage, hence each can use or
|
|
|
|
manipulate images (but not containers) created by the other.
|
2019-05-17 16:56:00 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2018-08-12 10:30:14 +00:00
|
|
|
%package docker
|
2019-05-24 14:43:28 +00:00
|
|
|
Summary: Emulate Docker CLI using %{name}
|
2018-08-20 19:31:47 +00:00
|
|
|
BuildArch: noarch
|
2018-10-18 18:55:59 +00:00
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2018-08-20 19:31:47 +00:00
|
|
|
Conflicts: docker
|
|
|
|
Conflicts: docker-latest
|
|
|
|
Conflicts: docker-ce
|
|
|
|
Conflicts: docker-ee
|
2019-01-18 17:59:24 +00:00
|
|
|
Conflicts: moby-engine
|
2018-08-12 10:30:14 +00:00
|
|
|
|
|
|
|
%description docker
|
|
|
|
This package installs a script named docker that emulates the Docker CLI by
|
2019-05-24 14:43:28 +00:00
|
|
|
executes %{name} commands, it also creates links between all Docker CLI man
|
|
|
|
pages and %{name}.
|
2018-08-12 10:30:14 +00:00
|
|
|
|
2019-01-18 17:59:24 +00:00
|
|
|
%package tests
|
2019-05-24 14:43:28 +00:00
|
|
|
Summary: Tests for %{name}
|
2019-01-18 17:59:24 +00:00
|
|
|
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
2024-05-31 08:36:43 +00:00
|
|
|
%if %{defined fedora}
|
2019-01-18 17:59:24 +00:00
|
|
|
Requires: bats
|
2024-05-31 08:36:43 +00:00
|
|
|
%endif
|
2019-01-18 17:59:24 +00:00
|
|
|
Requires: jq
|
2020-02-20 13:19:58 +00:00
|
|
|
Requires: skopeo
|
2020-06-01 21:09:26 +00:00
|
|
|
Requires: nmap-ncat
|
2020-08-05 11:57:36 +00:00
|
|
|
Requires: httpd-tools
|
|
|
|
Requires: openssl
|
2020-08-18 13:34:36 +00:00
|
|
|
Requires: socat
|
2020-10-19 12:27:01 +00:00
|
|
|
Requires: buildah
|
2021-11-11 14:20:05 +00:00
|
|
|
Requires: gnupg
|
2019-01-18 17:59:24 +00:00
|
|
|
|
|
|
|
%description tests
|
|
|
|
%{summary}
|
|
|
|
|
|
|
|
This package contains system tests for %{name}
|
|
|
|
|
2019-07-07 17:54:36 +00:00
|
|
|
%package remote
|
|
|
|
Summary: (Experimental) Remote client for managing %{name} containers
|
|
|
|
|
|
|
|
%description remote
|
|
|
|
Remote client for managing %{name} containers.
|
|
|
|
|
|
|
|
This experimental remote client is under heavy development. Please do not
|
|
|
|
run %{name}-remote in production.
|
|
|
|
|
2020-06-01 16:48:43 +00:00
|
|
|
%{name}-remote uses the version 2 API to connect to a %{name} client to
|
2019-07-07 17:54:36 +00:00
|
|
|
manage pods, containers and container images. %{name}-remote supports ssh
|
|
|
|
connections as well.
|
2019-07-07 19:16:20 +00:00
|
|
|
|
2023-07-03 14:06:58 +00:00
|
|
|
%package -n %{name}sh
|
|
|
|
Summary: Confined login and user shell using %{name}
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: %{name}-shell = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: %{name}-%{name}sh = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{name}sh
|
|
|
|
%{name}sh provides a confined login and user shell with access to volumes and
|
|
|
|
capabilities specified in user quadlets.
|
|
|
|
|
|
|
|
It is a symlink to %{_bindir}/%{name} and execs into the `%{name}sh` container
|
2023-09-12 19:39:19 +00:00
|
|
|
when `%{_bindir}/%{name}sh` is set as a login shell or set as os.Args[0].
|
2023-07-03 14:06:58 +00:00
|
|
|
|
2024-08-05 06:10:57 +00:00
|
|
|
%package machine
|
|
|
|
Summary: Metapackage for setting up %{name} machine
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: gvisor-tap-vsock
|
2024-08-22 08:40:08 +00:00
|
|
|
Recommends: qemu
|
2024-08-05 06:10:57 +00:00
|
|
|
Requires: virtiofsd
|
|
|
|
|
|
|
|
%description machine
|
|
|
|
This subpackage installs the dependencies for %{name} machine, for more see:
|
|
|
|
https://docs.podman.io/en/latest/markdown/podman-machine.1.html
|
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%prep
|
2023-11-27 10:30:53 +00:00
|
|
|
%autosetup -Sgit -n %{name}-%{version_no_tilde}
|
2022-01-19 20:35:02 +00:00
|
|
|
sed -i 's;@@PODMAN@@\;$(BINDIR);@@PODMAN@@\;%{_bindir};' Makefile
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2024-02-08 16:39:24 +00:00
|
|
|
# cgroups-v1 is supported on rhel9
|
|
|
|
%if 0%{?rhel} == 9
|
|
|
|
sed -i '/DELETE ON RHEL9/,/DELETE ON RHEL9/d' libpod/runtime.go
|
|
|
|
%endif
|
|
|
|
|
2023-11-27 19:53:07 +00:00
|
|
|
# These changes are only meant for copr builds
|
|
|
|
%if %{defined copr_build}
|
|
|
|
# podman --version should show short sha
|
|
|
|
sed -i "s/^const RawVersion = .*/const RawVersion = \"##VERSION##-##SHORT_SHA##\"/" version/rawversion/version.go
|
|
|
|
# use ParseTolerant to allow short sha in version
|
|
|
|
sed -i "s/^var Version.*/var Version, err = semver.ParseTolerant(rawversion.RawVersion)/" version/version.go
|
|
|
|
%endif
|
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%build
|
2021-10-01 06:33:17 +00:00
|
|
|
%set_build_flags
|
|
|
|
export CGO_CFLAGS=$CFLAGS
|
2023-07-03 14:06:58 +00:00
|
|
|
|
2021-10-01 06:33:17 +00:00
|
|
|
# These extra flags present in $CFLAGS have been skipped for now as they break the build
|
|
|
|
CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-flto=auto//g')
|
|
|
|
CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-Wp,D_GLIBCXX_ASSERTIONS//g')
|
|
|
|
CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-annobin-cc1//g')
|
|
|
|
|
2020-12-04 17:30:36 +00:00
|
|
|
%ifarch x86_64
|
2021-07-16 19:49:21 +00:00
|
|
|
export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"
|
2020-12-04 17:30:36 +00:00
|
|
|
%endif
|
2022-05-18 19:16:30 +00:00
|
|
|
|
2023-11-27 19:53:07 +00:00
|
|
|
export GOPROXY=direct
|
|
|
|
|
2024-04-18 13:46:55 +00:00
|
|
|
LDFLAGS="-X %{ld_libpod}/define.buildInfo=${SOURCE_DATE_EPOCH:-$(date +%s)} \
|
2023-07-03 14:06:58 +00:00
|
|
|
-X %{ld_libpod}/config._installPrefix=%{_prefix} \
|
|
|
|
-X %{ld_libpod}/config._etcDir=%{_sysconfdir} \
|
|
|
|
-X %{ld_project}/pkg/systemd/quadlet._binDir=%{_bindir}"
|
2022-01-19 20:35:02 +00:00
|
|
|
|
|
|
|
# build rootlessport first
|
2023-07-03 14:06:58 +00:00
|
|
|
%gobuild -o bin/rootlessport ./cmd/rootlessport
|
2022-01-19 20:35:02 +00:00
|
|
|
|
2023-05-24 13:41:45 +00:00
|
|
|
export BASEBUILDTAGS="seccomp exclude_graphdriver_devicemapper $(hack/systemd_tag.sh) $(hack/libsubid_tag.sh)"
|
2023-02-02 11:54:35 +00:00
|
|
|
|
2019-05-24 14:43:28 +00:00
|
|
|
# build %%{name}
|
2023-02-02 11:54:35 +00:00
|
|
|
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh) $(hack/libdm_tag.sh)"
|
2023-07-03 14:06:58 +00:00
|
|
|
%gobuild -o bin/%{name} ./cmd/%{name}
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2019-05-24 14:43:28 +00:00
|
|
|
# build %%{name}-remote
|
2023-02-02 11:54:35 +00:00
|
|
|
export BUILDTAGS="$BASEBUILDTAGS exclude_graphdriver_btrfs btrfs_noversion remote"
|
2023-07-03 14:06:58 +00:00
|
|
|
%gobuild -o bin/%{name}-remote ./cmd/%{name}
|
2019-05-24 14:43:28 +00:00
|
|
|
|
2023-02-02 11:54:35 +00:00
|
|
|
# build quadlet
|
|
|
|
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh)"
|
2023-07-03 14:06:58 +00:00
|
|
|
%gobuild -o bin/quadlet ./cmd/quadlet
|
|
|
|
|
2024-08-05 06:10:57 +00:00
|
|
|
# build %%{name}-testing
|
|
|
|
export BUILDTAGS="$BASEBUILDTAGS $(hack/btrfs_installed_tag.sh) $(hack/btrfs_tag.sh)"
|
|
|
|
%gobuild -o bin/podman-testing ./cmd/podman-testing
|
|
|
|
|
2023-09-27 18:03:01 +00:00
|
|
|
# reset LDFLAGS for plugins binaries
|
2023-07-03 14:06:58 +00:00
|
|
|
LDFLAGS=''
|
2023-02-02 11:54:35 +00:00
|
|
|
|
2023-07-03 14:06:58 +00:00
|
|
|
%{__make} docs docker-docs
|
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%install
|
2018-04-24 19:27:43 +00:00
|
|
|
install -dp %{buildroot}%{_unitdir}
|
2024-04-18 13:46:55 +00:00
|
|
|
PODMAN_VERSION=%{version} %{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} ETCDIR=%{_sysconfdir} \
|
2022-01-31 13:38:15 +00:00
|
|
|
install.bin \
|
|
|
|
install.man \
|
2022-01-19 20:35:02 +00:00
|
|
|
install.systemd \
|
|
|
|
install.completions \
|
|
|
|
install.docker \
|
2022-01-31 13:38:15 +00:00
|
|
|
install.docker-docs \
|
|
|
|
install.remote \
|
2024-08-05 06:10:57 +00:00
|
|
|
install.testing
|
|
|
|
|
|
|
|
# Only need this on Fedora until nftables becomes the default
|
|
|
|
%if %{defined fedora}
|
|
|
|
%{__make} DESTDIR=%{buildroot} MODULESLOADDIR=%{_modulesloaddir} install.modules-load
|
|
|
|
%endif
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2023-04-05 07:22:06 +00:00
|
|
|
sed -i 's;%{buildroot};;g' %{buildroot}%{_bindir}/docker
|
|
|
|
|
2020-01-08 13:51:56 +00:00
|
|
|
# do not include docker and podman-remote man pages in main package
|
2024-04-18 13:46:55 +00:00
|
|
|
for file in `find %{buildroot}%{_mandir}/man[15] -type f | sed "s,%{buildroot},," | grep -v -e %{name}sh.1 -e remote -e docker`; do
|
|
|
|
echo "$file*" >> %{name}.file-list
|
2020-01-08 13:51:56 +00:00
|
|
|
done
|
|
|
|
|
2022-01-31 13:38:15 +00:00
|
|
|
rm -f %{buildroot}%{_mandir}/man5/docker*.5
|
|
|
|
|
2024-08-05 06:10:57 +00:00
|
|
|
install -d -p %{buildroot}%{_datadir}/%{name}/test/system
|
|
|
|
cp -pav test/system %{buildroot}%{_datadir}/%{name}/test/
|
|
|
|
|
|
|
|
# symlink virtiofsd in %%{name} libexecdir for machine subpackage
|
|
|
|
ln -s ../virtiofsd %{buildroot}%{_libexecdir}/%{name}
|
2019-01-18 17:59:24 +00:00
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
#define license tag if not already defined
|
|
|
|
%{!?_licensedir:%global license %doc}
|
|
|
|
|
2020-03-30 15:49:05 +00:00
|
|
|
%files -f %{name}.file-list
|
2024-04-18 13:46:55 +00:00
|
|
|
%license LICENSE vendor/modules.txt
|
2022-08-03 13:55:33 +00:00
|
|
|
%doc README.md CONTRIBUTING.md install.md transfer.md
|
2018-02-06 22:05:10 +00:00
|
|
|
%{_bindir}/%{name}
|
2022-01-19 20:35:02 +00:00
|
|
|
%dir %{_libexecdir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}/rootlessport
|
2023-02-09 10:25:12 +00:00
|
|
|
%{_libexecdir}/%{name}/quadlet
|
2020-11-17 16:18:25 +00:00
|
|
|
%{_datadir}/bash-completion/completions/%{name}
|
2019-03-17 15:16:57 +00:00
|
|
|
# By "owning" the site-functions dir, we don't need to Require zsh
|
2019-05-24 11:52:44 +00:00
|
|
|
%dir %{_datadir}/zsh/site-functions
|
2019-05-24 14:43:28 +00:00
|
|
|
%{_datadir}/zsh/site-functions/_%{name}
|
2020-11-16 01:27:29 +00:00
|
|
|
%dir %{_datadir}/fish/vendor_completions.d
|
|
|
|
%{_datadir}/fish/vendor_completions.d/%{name}.fish
|
2022-01-19 20:35:02 +00:00
|
|
|
%{_unitdir}/%{name}*
|
|
|
|
%{_userunitdir}/%{name}*
|
2022-08-24 14:14:56 +00:00
|
|
|
%{_tmpfilesdir}/%{name}.conf
|
2023-02-09 10:25:12 +00:00
|
|
|
%{_systemdgeneratordir}/%{name}-system-generator
|
|
|
|
%{_systemdusergeneratordir}/%{name}-user-generator
|
2024-08-05 06:10:57 +00:00
|
|
|
%if %{defined fedora}
|
|
|
|
%{_modulesloaddir}/%{name}-iptables.conf
|
|
|
|
%endif
|
2018-02-06 22:05:10 +00:00
|
|
|
|
2018-08-20 19:31:47 +00:00
|
|
|
%files docker
|
|
|
|
%{_bindir}/docker
|
|
|
|
%{_mandir}/man1/docker*.1*
|
2024-04-18 13:46:55 +00:00
|
|
|
%{_sysconfdir}/profile.d/%{name}-docker.*
|
2022-08-24 15:08:01 +00:00
|
|
|
%{_tmpfilesdir}/%{name}-docker.conf
|
2023-02-09 10:25:12 +00:00
|
|
|
%{_user_tmpfilesdir}/%{name}-docker.conf
|
2018-08-20 19:31:47 +00:00
|
|
|
|
2020-06-23 17:55:54 +00:00
|
|
|
%files remote
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/%{name}-remote
|
|
|
|
%{_mandir}/man1/%{name}-remote*.*
|
2020-11-17 16:18:25 +00:00
|
|
|
%{_datadir}/bash-completion/completions/%{name}-remote
|
|
|
|
%dir %{_datadir}/fish/vendor_completions.d
|
|
|
|
%{_datadir}/fish/vendor_completions.d/%{name}-remote.fish
|
|
|
|
%dir %{_datadir}/zsh/site-functions
|
|
|
|
%{_datadir}/zsh/site-functions/_%{name}-remote
|
2019-02-26 22:44:04 +00:00
|
|
|
|
2019-01-18 17:59:24 +00:00
|
|
|
%files tests
|
2024-08-05 06:10:57 +00:00
|
|
|
%{_bindir}/%{name}-testing
|
2019-01-18 17:59:24 +00:00
|
|
|
%{_datadir}/%{name}/test
|
|
|
|
|
2023-07-03 14:06:58 +00:00
|
|
|
%files -n %{name}sh
|
|
|
|
%{_bindir}/%{name}sh
|
2024-04-18 13:46:55 +00:00
|
|
|
%{_mandir}/man1/%{name}sh.1*
|
2023-07-03 14:06:58 +00:00
|
|
|
|
2024-08-05 06:10:57 +00:00
|
|
|
%files machine
|
|
|
|
%dir %{_libexecdir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}/virtiofsd
|
|
|
|
|
2018-02-06 22:05:10 +00:00
|
|
|
%changelog
|
2023-07-03 14:06:58 +00:00
|
|
|
%if %{defined autochangelog}
|
|
|
|
%autochangelog
|
|
|
|
%else
|
2023-05-24 13:41:45 +00:00
|
|
|
* Mon May 01 2023 RH Container Bot <rhcontainerbot@fedoraproject.org>
|
|
|
|
- Placeholder changelog for envs that are not autochangelog-ready
|
|
|
|
%endif
|