Accepting request 794479 from devel:kubic

OBS-URL: https://build.opensuse.org/request/show/794479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/podman?expand=0&rev=61
This commit is contained in:
Dominique Leuenberger 2020-04-17 22:28:26 +00:00 committed by Git OBS Bridge
parent 6b472a7039
commit b322f97904
5 changed files with 69 additions and 29 deletions

View File

@ -4,8 +4,8 @@
<param name="url">https://github.com/containers/libpod.git</param> <param name="url">https://github.com/containers/libpod.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="filename">podman</param> <param name="filename">podman</param>
<param name="versionformat">1.8.2</param> <param name="versionformat">1.9.0</param>
<param name="revision">v1.8.2</param> <param name="revision">v1.9.0</param>
</service> </service>
<service name="set_version" mode="disabled"> <service name="set_version" mode="disabled">

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fe10950c1adf1ff2a21aabc25fd363f25947d682c29e8b95ed259f4c3364019
size 22142916

3
podman-1.9.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a59775bbc849bf47990ac741d58954f0c69d2f44fd741562dbf1c264a26bb69
size 5086652

View File

@ -1,3 +1,64 @@
-------------------------------------------------------------------
Thu Apr 16 06:33:21 UTC 2020 - Sascha Grunert <sgrunert@suse.com>
- Switched to simple `make binaries` for building podman
- Update podman to v1.8.2:
* Features
- Experimental support has been added for podman run
--userns=auto, which automatically allocates a unique UID and
GID range for the new container's user namespace
- The podman play kube command now has a --network flag to
place the created pod in one or more CNI networks
- The podman commit command now supports an --iidfile flag to
write the ID of the committed image to a file
- Initial support for the new containers.conf configuration
file has been added. containers.conf allows for much more
detailed configuration of some Podman functionality
* Changes
- There has been a major cleanup of the podman info command
resulting in breaking changes. Many fields have been renamed
to better suit usage with APIv2
- All uses of the --timeout flag have been switched to prefer
the alternative --time. The --timeout flag will continue to
work, but man pages and --help will use the --time flag
instead
* Bugfixes
- Fixed a bug where some volume mounts from the host would
sometimes not properly determine the flags they should use
when mounting
- Fixed a bug where Podman was not propagating $PATH to Conmon
and the OCI runtime, causing issues for some OCI runtimes
that required it
- Fixed a bug where rootless Podman would print error messages
about missing support for systemd cgroups when run in a
container with no cgroup support
- Fixed a bug where podman play kube would not properly handle
container-only port mappings (#5610)
- Fixed a bug where the podman container prune command was not
pruning containers in the created and configured states
- Fixed a bug where Podman was not properly removing CNI IP
address allocations after a reboot (#5433)
- Fixed a bug where Podman was not properly applying the
default Seccomp profile when --security-opt was not given at
the command line
* HTTP API
- Many Libpod API endpoints have been added, including Changes,
Checkpoint, Init, and Restore
- Resolved issues where the podman system service command would
time out and exit while there were still active connections
- Stability overall has greatly improved as we prepare the API
for a beta release soon with Podman 2.0
* Misc
- The default infra image for pods has been upgraded to
k8s.gcr.io/pause:3.2 (from 3.1) to address a bug in the
architecture metadata for non-AMD64 images
- The slirp4netns networking utility in rootless Podman now
uses Seccomp filtering where available for improved security
- Updated Buildah to v1.14.8
- Updated containers/storage to v1.18.2
- Updated containers/image to v5.4.3
- Updated containers/common to v0.8.1
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 3 14:30:02 UTC 2020 - Ralf Haferkamp <rhafer@suse.com> Fri Apr 3 14:30:02 UTC 2020 - Ralf Haferkamp <rhafer@suse.com>

View File

@ -22,7 +22,7 @@
%define with_libostree 1 %define with_libostree 1
%endif %endif
Name: podman Name: podman
Version: 1.8.2 Version: 1.9.0
Release: 0 Release: 0
Summary: Daemon-less container engine for managing containers, pods and images Summary: Daemon-less container engine for managing containers, pods and images
License: Apache-2.0 License: Apache-2.0
@ -107,29 +107,8 @@ rm -rf $HOME/go/src/%{project}/*
cp -avr * $HOME/go/src/%{project} cp -avr * $HOME/go/src/%{project}
cd $HOME/go/src/%{project} cd $HOME/go/src/%{project}
%if 0%{?with_libostree}
echo "Compiling with libostree support"
export BUILDTAGS="seccomp apparmor varlink systemd"
%else
echo "Compiling without libostree support"
export BUILDTAGS="seccomp apparmor varlink containers_image_ostree_stub systemd"
%endif
# Build podman # Build podman
go generate ./cmd/podman/varlink/... make BUILDFLAGS=-buildmode=pie
go build -tags "$BUILDTAGS" \
-buildmode=pie \
-ldflags '-s -w -X main.podmanVersion=%{version}' \
-o bin/podman \
%{project}/cmd/podman
# Build remote client
go build -tags "$BUILDTAGS remoteclient" \
-buildmode=pie \
-ldflags '-s -w -X main.podmanVersion=%{version}' \
-o bin/podman-remote \
%{project}/cmd/podman
# Build manpages # Build manpages
make %{?_smp_mflags} docs make %{?_smp_mflags} docs