[packit] 4.8.0 upstream release
Upstream tag: v4.8.0 Upstream commit: c4dfcf14
This commit is contained in:
parent
e13f1e1d16
commit
4f6306fd2a
1
.gitignore
vendored
1
.gitignore
vendored
@ -1839,3 +1839,4 @@
|
|||||||
/v4.7.1.tar.gz
|
/v4.7.1.tar.gz
|
||||||
/v4.7.2.tar.gz
|
/v4.7.2.tar.gz
|
||||||
/v4.8.0-rc1.tar.gz
|
/v4.8.0-rc1.tar.gz
|
||||||
|
/v4.8.0.tar.gz
|
||||||
|
@ -46,6 +46,9 @@ jobs:
|
|||||||
- job: tests
|
- job: tests
|
||||||
identifier: cockpit-revdeps
|
identifier: cockpit-revdeps
|
||||||
trigger: pull_request
|
trigger: pull_request
|
||||||
|
notifications:
|
||||||
|
failure_comment:
|
||||||
|
message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check."
|
||||||
targets:
|
targets:
|
||||||
- fedora-latest-stable
|
- fedora-latest-stable
|
||||||
- fedora-development
|
- fedora-development
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
This repository is maintained by packit.
|
This repository is maintained by packit.
|
||||||
https://packit.dev/
|
https://packit.dev/
|
||||||
The file was generated using packit 0.85.0.
|
The file was generated using packit 0.86.2.post1.dev2+g209847d1.
|
||||||
|
22
podman.spec
22
podman.spec
@ -31,6 +31,10 @@
|
|||||||
%define build_with_btrfs 1
|
%define build_with_btrfs 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{defined copr_username}
|
||||||
|
%define copr_build 1
|
||||||
|
%endif
|
||||||
|
|
||||||
%global container_base_path github.com/containers
|
%global container_base_path github.com/containers
|
||||||
%global container_base_url https://%{container_base_path}
|
%global container_base_url https://%{container_base_path}
|
||||||
|
|
||||||
@ -48,7 +52,7 @@
|
|||||||
%global import_path_plugins %{container_base_path}/%{repo_plugins}
|
%global import_path_plugins %{container_base_path}/%{repo_plugins}
|
||||||
|
|
||||||
Name: podman
|
Name: podman
|
||||||
%if %{defined copr_username}
|
%if %{defined copr_build}
|
||||||
Epoch: 102
|
Epoch: 102
|
||||||
%else
|
%else
|
||||||
Epoch: 5
|
Epoch: 5
|
||||||
@ -59,7 +63,7 @@ Epoch: 5
|
|||||||
# If that's what you're reading, Version must be 0, and will be updated by Packit for
|
# If that's what you're reading, Version must be 0, and will be updated by Packit for
|
||||||
# copr and koji builds.
|
# copr and koji builds.
|
||||||
# If you're reading this on dist-git, the version is automatically filled in by Packit.
|
# If you're reading this on dist-git, the version is automatically filled in by Packit.
|
||||||
Version: 4.8.0~rc1
|
Version: 4.8.0
|
||||||
# The `AND` needs to be uppercase in the License for SPDX compatibility
|
# The `AND` needs to be uppercase in the License for SPDX compatibility
|
||||||
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
|
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
@ -105,7 +109,11 @@ BuildRequires: python3
|
|||||||
Requires: catatonit
|
Requires: catatonit
|
||||||
Requires: conmon >= 2:2.1.7-2
|
Requires: conmon >= 2:2.1.7-2
|
||||||
Requires: containers-common-extra
|
Requires: containers-common-extra
|
||||||
|
%if %{defined rhel} && !%{defined eln}
|
||||||
|
Recommends: gvisor-tap-vsock-gvforwarder
|
||||||
|
%else
|
||||||
Requires: gvisor-tap-vsock-gvforwarder
|
Requires: gvisor-tap-vsock-gvforwarder
|
||||||
|
%endif
|
||||||
Recommends: gvisor-tap-vsock
|
Recommends: gvisor-tap-vsock
|
||||||
Provides: %{name}-quadlet
|
Provides: %{name}-quadlet
|
||||||
Obsoletes: %{name}-quadlet <= 5:4.4.0-1
|
Obsoletes: %{name}-quadlet <= 5:4.4.0-1
|
||||||
@ -203,6 +211,14 @@ when `%{_bindir}/%{name}sh` is set as a login shell or set as os.Args[0].
|
|||||||
%autosetup -Sgit -n %{name}-%{version_no_tilde}
|
%autosetup -Sgit -n %{name}-%{version_no_tilde}
|
||||||
sed -i 's;@@PODMAN@@\;$(BINDIR);@@PODMAN@@\;%{_bindir};' Makefile
|
sed -i 's;@@PODMAN@@\;$(BINDIR);@@PODMAN@@\;%{_bindir};' Makefile
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
# untar dnsname
|
# untar dnsname
|
||||||
tar zxf %{SOURCE1}
|
tar zxf %{SOURCE1}
|
||||||
|
|
||||||
@ -219,6 +235,8 @@ CGO_CFLAGS=$(echo $CGO_CFLAGS | sed 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-an
|
|||||||
export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"
|
export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
export GOPROXY=direct
|
||||||
|
|
||||||
LDFLAGS="-X %{ld_libpod}/define.buildInfo=$(date +%s) \
|
LDFLAGS="-X %{ld_libpod}/define.buildInfo=$(date +%s) \
|
||||||
-X %{ld_libpod}/config._installPrefix=%{_prefix} \
|
-X %{ld_libpod}/config._installPrefix=%{_prefix} \
|
||||||
-X %{ld_libpod}/config._etcDir=%{_sysconfdir} \
|
-X %{ld_libpod}/config._etcDir=%{_sysconfdir} \
|
||||||
|
2
sources
2
sources
@ -1,2 +1,2 @@
|
|||||||
|
SHA512 (v4.8.0.tar.gz) = 2178a9c8428a0cf2c402e0f299efe2ad9a797143e641a92438112694a4acbdfb69ba8c104c87f4763d001f17cedb709eef24d86460d095a61a64d29a168a2051
|
||||||
SHA512 (dnsname-18822f9a4fb35d1349eb256f4cd2bfd372474d84.tar.gz) = de371722fbf18cd23b31485ee7ba36bb41d0d9a932d15e50872989c3ca1ff7246da63143c3725d81089fadda3821a54c18b22150d9d16005b07df6824f5f71f8
|
SHA512 (dnsname-18822f9a4fb35d1349eb256f4cd2bfd372474d84.tar.gz) = de371722fbf18cd23b31485ee7ba36bb41d0d9a932d15e50872989c3ca1ff7246da63143c3725d81089fadda3821a54c18b22150d9d16005b07df6824f5f71f8
|
||||||
SHA512 (v4.8.0-rc1.tar.gz) = 5b3cb3e78d311cf41c5b79ac0b93c34e77b7168230b6f307304be210a34606a937aa6039e2de14a5ae6271b94e7a19e12503335c3796f57c968df004d5f13607
|
|
||||||
|
Loading…
Reference in New Issue
Block a user