Compare commits
53 Commits
rawhide
...
f40-riscv6
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | 2ed5fb3084 | |
Packit | 69151b77b6 | |
Packit | b980b93f2b | |
Packit | feec1702a0 | |
Packit | 4fb0f0ab02 | |
Packit | f0433c54af | |
Fedora Release Engineering | 80581cdbcd | |
Fedora Release Engineering | 6f3756d354 | |
Packit | 8a0eba9339 | |
Packit | 2e69b59d67 | |
Packit | 8636b679c4 | |
Packit | d92e05e194 | |
Packit | a055ddae3c | |
Packit | 00b0bd05e7 | |
Packit | fae9f7633f | |
Lokesh Mandvekar | 612a96918e | |
Lokesh Mandvekar | 8de06754f3 | |
Packit | b9acc59939 | |
Packit | f8dd4474b1 | |
Packit | 0c54bceac8 | |
Yaakov Selkowitz | b6961f245f | |
Giuseppe Scrivano | af069bdab7 | |
Fedora Release Engineering | 86fd131d93 | |
Giuseppe Scrivano | c636b7586e | |
Giuseppe Scrivano | 83c9dde998 | |
Giuseppe Scrivano | 85c3a19695 | |
Giuseppe Scrivano | bca7bed766 | |
Giuseppe Scrivano | 4f279e7a34 | |
Giuseppe Scrivano | 5dc658ac42 | |
Lokesh Mandvekar | 4f9a5d69a2 | |
Giuseppe Scrivano | 42d7001ab4 | |
Lokesh Mandvekar | 68e76ac992 | |
Lokesh Mandvekar | 885030c8ca | |
Fedora Release Engineering | 88465aa8a3 | |
Giuseppe Scrivano | c81e179cdc | |
Giuseppe Scrivano | c14e1218f5 | |
Giuseppe Scrivano | 8434a3b7bc | |
Giuseppe Scrivano | 07a7ba9e01 | |
Lokesh Mandvekar | bdd508b2f6 | |
Lokesh Mandvekar | d68ce50deb | |
Daniel J Walsh | c587fe84e8 | |
Lokesh Mandvekar | f0e158812d | |
Troy Dawson | db6cce4e02 | |
Lokesh Mandvekar | 76df75985f | |
RH Container Bot | aac762a55d | |
Lokesh Mandvekar | 263de70111 | |
Daniel J Walsh | 613edba48b | |
Lokesh Mandvekar | 00068edb16 | |
RH Container Bot | 57e8839cbd | |
Lokesh Mandvekar | 590ccfd018 | |
Lokesh Mandvekar | 9ee26cd499 | |
Lokesh Mandvekar | f2635da7ab | |
Lokesh Mandvekar | 9e192ca81a |
|
@ -60,3 +60,29 @@ crun-0.1.1.tar.gz
|
|||
/crun-1.4.4.tar.xz
|
||||
/crun-1.4.5.tar.xz
|
||||
/crun-1.5.tar.xz
|
||||
/crun-1.6.tar.xz
|
||||
/crun-1.7.tar.xz
|
||||
/crun-1.7.1.tar.xz
|
||||
/crun-1.7.2.tar.xz
|
||||
/crun-1.8.tar.xz
|
||||
/crun-1.8.1.tar.xz
|
||||
/crun-1.8.2.tar.xz
|
||||
/crun-1.8.3.tar.xz
|
||||
/crun-1.8.4.tar.xz
|
||||
/crun-1.8.5.tar.xz
|
||||
/crun-1.8.6.tar.xz
|
||||
/crun-1.8.7.tar.xz
|
||||
/crun-1.9.tar.xz
|
||||
/crun-1.9.1.tar.xz
|
||||
/crun-1.9.2.tar.xz
|
||||
/crun-1.10.tar.xz
|
||||
/crun-1.11.tar.xz
|
||||
/crun-1.11.1.tar.xz
|
||||
/crun-1.11.2.tar.xz
|
||||
/crun-1.12.tar.xz
|
||||
/crun-1.13.tar.xz
|
||||
/crun-1.14.tar.xz
|
||||
/crun-1.14.1.tar.xz
|
||||
/crun-1.14.2.tar.xz
|
||||
/crun-1.14.3.tar.xz
|
||||
/crun-1.14.4.tar.xz
|
||||
|
|
|
@ -0,0 +1,57 @@
|
|||
---
|
||||
# See the documentation for more information:
|
||||
# https://packit.dev/docs/configuration/
|
||||
|
||||
specfile_path: rpm/crun.spec
|
||||
|
||||
srpm_build_deps:
|
||||
- git-archive-all
|
||||
- make
|
||||
actions:
|
||||
create-archive:
|
||||
- "git-archive-all -v --force-submodules rpm/crun-HEAD.tar.xz"
|
||||
- bash -c "ls -1 rpm/crun-HEAD.tar.xz"
|
||||
|
||||
jobs:
|
||||
- job: copr_build
|
||||
trigger: pull_request
|
||||
notifications:
|
||||
failure_comment:
|
||||
message: "Ephemeral COPR build failed. @containers/packit-build please check."
|
||||
targets:
|
||||
- fedora-all-x86_64
|
||||
- fedora-all-aarch64
|
||||
- fedora-eln-x86_64
|
||||
- fedora-eln-aarch64
|
||||
- centos-stream+epel-next-8-x86_64
|
||||
- centos-stream+epel-next-8-aarch64
|
||||
- centos-stream+epel-next-9-x86_64
|
||||
- centos-stream+epel-next-9-aarch64
|
||||
additional_repos:
|
||||
- "copr://rhcontainerbot/podman-next"
|
||||
|
||||
# Run on commit to main branch
|
||||
- job: copr_build
|
||||
trigger: commit
|
||||
notifications:
|
||||
failure_comment:
|
||||
message: "podman-next COPR build failed. @containers/packit-build please check."
|
||||
branch: main
|
||||
owner: rhcontainerbot
|
||||
project: podman-next
|
||||
|
||||
- job: propose_downstream
|
||||
trigger: release
|
||||
update_release: false
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
|
||||
- job: koji_build
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-all
|
||||
|
||||
- job: bodhi_update
|
||||
trigger: commit
|
||||
dist_git_branches:
|
||||
- fedora-branched # rawhide updates are created automatically
|
|
@ -0,0 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 0.93.0.
|
152
crun.spec
152
crun.spec
|
@ -1,95 +1,147 @@
|
|||
%if 0%{?fedora} >= 37
|
||||
%ifarch aarch64,x86_64
|
||||
%global krun_support enabled
|
||||
%endif
|
||||
%else
|
||||
%global krun_support disabled
|
||||
%global krun_opts %{nil}
|
||||
%global wasmedge_opts %{nil}
|
||||
%global wasmtime_opts %{nil}
|
||||
|
||||
# krun and wasm[edge,time] support only on aarch64 and x86_64
|
||||
%ifarch aarch64 || x86_64
|
||||
%global wasm_support 1
|
||||
|
||||
# wasmedge not present on Fedora ELN environments
|
||||
%if !0%{?eln}
|
||||
%global wasmedge_support 1
|
||||
%global wasmedge_opts --with-wasmedge
|
||||
%endif
|
||||
|
||||
%global built_tag 1.5
|
||||
# krun only exists on fedora
|
||||
%if %{defined fedora}
|
||||
%global krun_support 1
|
||||
%global krun_opts --with-libkrun
|
||||
%endif
|
||||
|
||||
# wasmtime exists only on podman-next copr for now
|
||||
%if %{defined copr_project} && "%{?copr_project}" == "podman-next"
|
||||
%global wasmtime_support 1
|
||||
%global wasmtime_opts --with-wasmtime
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
Summary: OCI runtime written in C
|
||||
Name: crun
|
||||
Version: 1.5
|
||||
%if %{defined copr_username}
|
||||
Epoch: 102
|
||||
%endif
|
||||
# DO NOT TOUCH the Version string!
|
||||
# The TRUE source of this specfile is:
|
||||
# https://github.com/containers/crun/blob/main/rpm/crun.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.
|
||||
Version: 1.14.4
|
||||
Release: %autorelease -e 0.riscv64
|
||||
URL: https://github.com/containers/%{name}
|
||||
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz
|
||||
%if "%{_vendor}" == "debbuild"
|
||||
Packager: Lokesh Mandvekar <lsm5@fedoraproject.org>
|
||||
License: GPL-2.0+
|
||||
Release: 0%{?dist}
|
||||
License: GPL-2.0-only
|
||||
%if %{defined golang_arches_future}
|
||||
ExclusiveArch: %{golang_arches_future}
|
||||
%else
|
||||
License: GPLv2+
|
||||
Release: %autorelease
|
||||
ExclusiveArch: aarch64 ppc64le riscv64 s390x x86_64
|
||||
%endif
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: go-md2man
|
||||
BuildRequires: libtool
|
||||
%if "%{_vendor}" == "debbuild"
|
||||
BuildRequires: git
|
||||
BuildRequires: libcap-dev
|
||||
BuildRequires: libseccomp-dev
|
||||
BuildRequires: libsystemd-dev
|
||||
BuildRequires: libyajl-dev
|
||||
BuildRequires: pkg-config
|
||||
%else
|
||||
BuildRequires: gcc
|
||||
BuildRequires: git-core
|
||||
BuildRequires: python3
|
||||
BuildRequires: gperf
|
||||
BuildRequires: libcap-devel
|
||||
%if %{defined krun_support}
|
||||
BuildRequires: libkrun-devel
|
||||
%endif
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: yajl-devel
|
||||
%if "%{krun_support}" == "enabled"
|
||||
BuildRequires: libkrun-devel
|
||||
Provides: krun
|
||||
%endif
|
||||
BuildRequires: libseccomp-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: python3-libmount
|
||||
BuildRequires: make
|
||||
BuildRequires: glibc-static
|
||||
BuildRequires: libtool
|
||||
BuildRequires: protobuf-c-devel
|
||||
%ifnarch %ix86
|
||||
%ifnarch riscv64
|
||||
BuildRequires: criu-devel >= 3.17.1-2
|
||||
Recommends: criu >= 3.17.1
|
||||
Recommends: criu-libs
|
||||
%endif
|
||||
%if %{defined wasmedge_support}
|
||||
BuildRequires: wasmedge-devel
|
||||
%endif
|
||||
%if %{defined wasmtime_support}
|
||||
BuildRequires: wasmtime-c-api-devel
|
||||
%endif
|
||||
%if %{defined rhel} && 0%{?rhel} == 8
|
||||
BuildRequires: python3
|
||||
%else
|
||||
BuildRequires: python
|
||||
%endif
|
||||
Requires: criu >= 3.17.1-2
|
||||
Provides: oci-runtime
|
||||
|
||||
%description
|
||||
%{name} is a runtime for running OCI containers
|
||||
%{name} is a OCI runtime
|
||||
|
||||
%if %{defined krun_support}
|
||||
%package krun
|
||||
Summary: %{name} with libkrun support
|
||||
Requires: libkrun
|
||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Provides: krun = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
|
||||
%description krun
|
||||
krun is a symlink to the %{name} binary, with libkrun as an additional dependency.
|
||||
%endif
|
||||
|
||||
%if %{defined wasm_support}
|
||||
%package wasm
|
||||
Summary: %{name} with wasm support
|
||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: wasm-library
|
||||
Recommends: wasmedge
|
||||
|
||||
%description wasm
|
||||
%{name}-wasm is a symlink to the %{name} binary, with wasm as an additional dependency.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%autosetup -Sgit
|
||||
%autosetup -Sgit -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
||||
%if "%{krun_support}" == "enabled"
|
||||
%configure --disable-silent-rules --with-libkrun
|
||||
%else
|
||||
%configure --disable-silent-rules
|
||||
%endif
|
||||
|
||||
./configure --disable-silent-rules %{krun_opts} %{wasmedge_opts} %{wasmtime_opts}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%make_install prefix=%{_prefix}
|
||||
rm -rf %{buildroot}%{_prefix}/lib*
|
||||
|
||||
%if "%{krun_support}" == "enabled"
|
||||
ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/krun
|
||||
%if %{defined krun_support}
|
||||
ln -s %{name} %{buildroot}%{_bindir}/krun
|
||||
%endif
|
||||
|
||||
%if %{defined wasm_support}
|
||||
ln -s %{name} %{buildroot}%{_bindir}/%{name}-wasm
|
||||
%endif
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%{_bindir}/%{name}
|
||||
%if "%{krun_support}" == "enabled"
|
||||
%{_mandir}/man1/%{name}.1.gz
|
||||
|
||||
%if %{defined krun_support}
|
||||
%files krun
|
||||
%license COPYING
|
||||
%{_bindir}/krun
|
||||
%{_mandir}/man1/krun.1.gz
|
||||
%endif
|
||||
|
||||
%if %{defined wasm_support}
|
||||
%files wasm
|
||||
%license COPYING
|
||||
%{_bindir}/%{name}-wasm
|
||||
%endif
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
%if "%{_vendor}" != "debbuild"
|
||||
%autochangelog
|
||||
%endif
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (crun-1.5.tar.xz) = 8ae5c6e306878194842f3a6a40bfc07038f69b9bd693395d64251133acf59186ce79272a45a3aee26b2a9812cbedb7a37370aece582abb3119ab7cdf7183e57b
|
||||
SHA512 (crun-1.14.4.tar.xz) = 1681ea85de3540958b4d7efadcf22c6f47c991fc4681a5028404952567c0b1b0220ad0ce0e0f0d727da27d8e63495a8bfc43a13b3511b1455106fdfec2e32e49
|
||||
|
|
Loading…
Reference in New Issue