[packit] 2.219.0 upstream release
Upstream tag: v2.219.0 Upstream commit: e3d7d0b1
This commit is contained in:
parent
5c06fa1090
commit
b3d7d4b81d
1
.gitignore
vendored
1
.gitignore
vendored
@ -213,3 +213,4 @@
|
||||
/v2.216.0.tar.gz
|
||||
/v2.217.0.tar.gz
|
||||
/v2.218.0.tar.gz
|
||||
/v2.219.0.tar.gz
|
||||
|
24
.packit.yaml
24
.packit.yaml
@ -19,17 +19,11 @@ jobs:
|
||||
# x86_64 is assumed by default
|
||||
# container-selinux is noarch so we only need to test on one arch
|
||||
targets: &pr_copr_targets
|
||||
- fedora-rawhide
|
||||
- fedora-38
|
||||
- fedora-37
|
||||
- fedora-all
|
||||
- centos-stream-9
|
||||
- centos-stream-8
|
||||
srpm_build_deps:
|
||||
- make
|
||||
- rpkg
|
||||
actions:
|
||||
fix-spec-file:
|
||||
- bash .packit.sh
|
||||
|
||||
- <<: *copr
|
||||
# Run on commit to main branch
|
||||
@ -37,18 +31,10 @@ jobs:
|
||||
branch: main
|
||||
project: podman-next
|
||||
targets:
|
||||
- fedora-rawhide-aarch64
|
||||
- fedora-rawhide-ppc64le
|
||||
- fedora-rawhide-s390x
|
||||
- fedora-rawhide-x86_64
|
||||
- fedora-38-aarch64
|
||||
- fedora-38-ppc64le
|
||||
- fedora-38-s390x
|
||||
- fedora-38-x86_64
|
||||
- fedora-37-aarch64
|
||||
- fedora-37-ppc64le
|
||||
- fedora-37-s390x
|
||||
- fedora-37-x86_64
|
||||
- fedora-all-aarch64
|
||||
- fedora-all-ppc64le
|
||||
- fedora-all-s390x
|
||||
- fedora-all-x86_64
|
||||
- centos-stream+epel-next-9-aarch64
|
||||
- centos-stream+epel-next-9-ppc64le
|
||||
- centos-stream+epel-next-9-s390x
|
||||
|
@ -1,3 +1,3 @@
|
||||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.76.0.post2+gbdab6df.
|
||||
The file was generated using packit 0.77.0.post2+g06f877b.
|
||||
|
@ -1,8 +1,5 @@
|
||||
%global debug_package %{nil}
|
||||
|
||||
# container-selinux upstream
|
||||
%global git0 https://github.com/containers/container-selinux
|
||||
|
||||
# container-selinux stuff (prefix with ds_ for version/release etc.)
|
||||
# Some bits borrowed from the openstack-selinux package
|
||||
%global selinuxtype targeted
|
||||
@ -14,45 +11,34 @@
|
||||
# Format must contain '$x' somewhere to do anything useful
|
||||
%global _format() export %1=""; for x in %{modulenames}; do %1+=%2; %1+=" "; done;
|
||||
|
||||
# copr_username is only set on copr environments, not on others like koji
|
||||
%if "%{?copr_username}" != "rhcontainerbot"
|
||||
%bcond_with copr
|
||||
%else
|
||||
%bcond_without copr
|
||||
%endif
|
||||
|
||||
# RHEL 8 doesn't allow watch and systemd_chat_resolved
|
||||
%if 0%{?rhel} == 8
|
||||
%bcond_without no_watch
|
||||
%bcond_without no_systemd_chat_resolved
|
||||
%else
|
||||
%bcond_with no_watch
|
||||
%bcond_with no_systemd_chat_resolved
|
||||
%if %{defined rhel} && 0%{?rhel} == 8
|
||||
%define no_watch 1
|
||||
%define no_systemd_chat_resolved 1
|
||||
%global _selinux_policy_version 3.14.3-80.el8
|
||||
%endif
|
||||
|
||||
# https://github.com/containers/container-selinux/issues/203
|
||||
%if 0%{?fedora} <= 37 || 0%{?rhel} <= 9
|
||||
%bcond_without no_user_namespace
|
||||
%else
|
||||
%bcond_with no_user_namespace
|
||||
%if %{!defined fedora} && %{!defined rhel} || %{defined fedora} && 0%{?fedora} <= 37 || %{defined rhel} && 0%{?rhel} <= 9
|
||||
%define no_user_namespace 1
|
||||
%endif
|
||||
|
||||
Name: container-selinux
|
||||
# Set different Epochs for copr and koji
|
||||
%if %{with copr}
|
||||
Epoch: 101
|
||||
%if %{defined copr_username}
|
||||
Epoch: 102
|
||||
%else
|
||||
Epoch: 2
|
||||
%endif
|
||||
# Keep Version in upstream specfile at 0. It will be automatically set
|
||||
# to the correct value by Packit for copr and koji builds.
|
||||
# IGNORE this comment if you're looking at it in dist-git.
|
||||
Version: 2.218.0
|
||||
Version: 2.219.0
|
||||
Release: %autorelease
|
||||
License: GPL-2.0-only
|
||||
URL: %{git0}
|
||||
URL: https://github.com/containers/%{name}
|
||||
Summary: SELinux policies for container runtimes
|
||||
Source0: %{git0}/archive/v%{version}.tar.gz
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: git-core
|
||||
@ -81,17 +67,17 @@ SELinux policy modules for use with container runtimes.
|
||||
sed -i 's/^man: install-policy/man:/' Makefile
|
||||
sed -i 's/^install: man/install:/' Makefile
|
||||
|
||||
%if %{with no_watch}
|
||||
%if %{defined no_watch}
|
||||
sed -i 's/watch watch_reads//' container.if
|
||||
sed -i 's/watch watch_reads//' container.te
|
||||
sed -i '/sysfs_t:dir watch/d' container.te
|
||||
%endif
|
||||
|
||||
%if %{with no_systemd_chat_resolved}
|
||||
%if %{defined no_systemd_chat_resolved}
|
||||
sed -i '/^systemd_chat_resolved/d' container.te
|
||||
%endif
|
||||
|
||||
%if %{with no_user_namespace}
|
||||
%if %{defined no_user_namespace}
|
||||
sed -i '/user_namespace/d' container.te
|
||||
%endif
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (v2.218.0.tar.gz) = 93ff44d54ee0970eccfdacf9d7cf8b4aa5efe172995d72772e48ae5317f0eb28c1fddfdf3b9bd0c3c47014b978a28060e665e2459b0dda539f58e4338e9587a8
|
||||
SHA512 (v2.219.0.tar.gz) = 469987579a645b1b7df843e2f3e11b74c798ebe0774cc021f6aa24e4c365c2eb65397ad918f89a0734119dcb803ddac622b1420a998bd3d1e34b7dd3c13e8cc3
|
||||
|
Loading…
Reference in New Issue
Block a user