public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/runc] epel10: Update to release v1.4.1
@ 2026-06-23 15:37 Bradley G Smith
0 siblings, 0 replies; 2+ messages in thread
From: Bradley G Smith @ 2026-06-23 15:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/runc
Branch : epel10
Commit : 72221401bb59a297b0d49db5977d751689e0e08d
Author : Bradley G Smith <bradley.g.smith@gmail.com>
Date : 2026-03-16T09:14:52-07:00
Stats : +67/-78 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/runc/c/72221401bb59a297b0d49db5977d751689e0e08d?branch=epel10
Log:
Update to release v1.4.1
- Resolves: rhbz#2447251
- Adopts go2rpm generates spec file
- New libpathrs build tag not included as that library is not yet
available in Fedora
---
diff --git a/.gitignore b/.gitignore
index 8ad1afb..b1995db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -383,3 +383,5 @@ results*
/runc-1.3.3.tar.gz
/runc-1.3.4.tar.gz
/runc-1.4.0.tar.gz
+/runc-1.4.1.tar.gz
+/runc-1.4.1-vendor.tar.bz2
diff --git a/go-vendor-tools.toml b/go-vendor-tools.toml
new file mode 100644
index 0000000..6ab4062
--- /dev/null
+++ b/go-vendor-tools.toml
@@ -0,0 +1,4 @@
+[archive]
+
+[licensing]
+detector = "askalono"
diff --git a/runc.spec b/runc.spec
index 84a52da..ae71131 100644
--- a/runc.spec
+++ b/runc.spec
@@ -1,100 +1,82 @@
-%global with_debug 0
+# Generated by go2rpm 1.19.0
+%bcond check 1
-%if 0%{?with_debug}
-%global _find_debuginfo_dwz_opts %{nil}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project opencontainers
-%global repo runc
# https://github.com/opencontainers/runc
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global git0 https://github.com/opencontainers/runc
-
-Name: %{repo}
-Epoch: 2
-Version: 1.4.0
-Release: %autorelease
-Summary: CLI for running Open Containers
-License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause and MIT
-URL: %{git0}
-Source0: %{git0}/archive/v%{version}/%{name}-%{version}.tar.gz
-ExclusiveArch: %{golang_arches_future}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-BuildRequires: pkgconfig(libseccomp)
-BuildRequires: go-md2man
-BuildRequires: make
-Provides: oci-runtime
-
-Recommends: container-selinux >= 2:2.85-1
+%global goipath github.com/opencontainers/runc
+Epoch: 2
+Version: 1.4.1
+%global tag v%{gsub %{version} ~ -}
+
+%gometa -L -f
+
+
+Name: runc
+Release: %autorelease
+Summary: CLI tool for spawning and running containers according to the OCI specification
+
+# Generated by go-vendor-tools
+License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
+URL: %{gourl}
+Source0: %{gosource}
+# Generated by go-vendor-tools
+Source1: %{archivename}-vendor.tar.bz2
+Source2: go-vendor-tools.toml
+
+BuildRequires: go-vendor-tools
+BuildRequires: go-md2man
+BuildRequires: pkgconfig(libseccomp)
+
+Provides: oci-runtime
+
+Recommends: container-selinux >= 2:2.85-1
%ifnarch s390x
-Recommends: criu
+Recommends: criu
%endif
%description
-The runc command can be used to start containers which are packaged
-in accordance with the Open Container Initiative's specifications,
-and to manage containers running under runc.
+CLI tool for spawning and running containers according to the OCI
+specification.
%prep
-%autosetup -p1 -n %{name}-%{version}
-sed -i 's/ -trimpath//g' Makefile
+%goprep -p1
+tar -xf %{S:1}
-%build
-%set_build_flags
-export CGO_CFLAGS=$CFLAGS
-# 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')
-
-%ifarch x86_64
-export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"
-%endif
-
-mkdir -p GOPATH
-pushd GOPATH
- mkdir -p src/%{provider}.%{provider_tld}/%{project}
- ln -s $(dirs +1 -l) src/%{import_path}
-popd
+%generate_buildrequires
+%go_vendor_license_buildrequires -c %{S:2}
-pushd GOPATH/src/%{import_path}
-export GOPATH=$(pwd)/GOPATH
-
-%make_build runc
+%build
+%global gomodulesmode GO111MODULE=on
+export GO_BUILDTAGS="seccomp urfave_cli_no_docs"
+%gobuild -o %{gobuilddir}/bin/runc %{goipath}
-sed -i '/\#\!\/bin\/bash/d' contrib/completions/bash/%{name}
+# generate man files
+man/md2man-all.sh
%install
-install -d -p %{buildroot}%{_bindir}
-install -p -m 755 %{name} %{buildroot}%{_bindir}
-
-# generate man pages
-man/md2man-all.sh
+%go_vendor_license_install -c %{S:2}
+install -m 0755 -vd %{buildroot}%{_bindir}
+install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
# install man pages
-install -d -p %{buildroot}%{_mandir}/man8
-install -p -m 0644 man/man8/*.8 %{buildroot}%{_mandir}/man8/.
+install -d -p %{buildroot}%{_mandir}/man8
+install -m 0644 -vp man/man8/*.8 %{buildroot}%{_mandir}/man8/.
# install bash completion
-install -d -p %{buildroot}%{_datadir}/bash-completion/completions
-install -p -m 0644 contrib/completions/bash/%{name} %{buildroot}%{_datadir}/bash-completion/completions
+install -m 0755 -vd %{buildroot}/%{bash_completions_dir}
+install -m 0644 -vp contrib/completions/bash/%{name} %{buildroot}/%{bash_completions_dir}
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
+%check
+%go_vendor_license_check -c %{S:2}
+%if %{with check}
+%gocheck2 -t libcontainer/integration -t libcontainer/nsenter
+%endif
-%files
-%license LICENSE vendor/modules.txt
-%doc MAINTAINERS_GUIDE.md PRINCIPLES.md README.md CONTRIBUTING.md
-%{_bindir}/%{name}
+%files -f %{go_vendor_license_filelist}
+%doc docs CHANGELOG.md CONTRIBUTING.md EMERITUS.md MAINTAINERS_GUIDE.md
+%doc PRINCIPLES.md README.md RELEASES.md SECURITY.md
%{_mandir}/man8/%{name}*
-%{_datadir}/bash-completion/completions/%{name}
+%{bash_completions_dir}/%{name}
+%{_bindir}/runc
%changelog
%autochangelog
diff --git a/sources b/sources
index 8fea328..a43d6ed 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (runc-1.4.0.tar.gz) = a5b52d8494a4210d9ff4caefd0513b94b80ef9dd16c6eb369761cde2fce30214f765eee01c3cbb2e0cfd933371362fd89b08656b434d76038ffe1f8a59dea215
+SHA512 (runc-1.4.1.tar.gz) = 7ed7776dd52055de3181e62c5220e72aa5214eb24b4133b89785e9cff865868fb9e0df445449c99d2f34c3e1ad035e1d34cef900916256af77266a9dd7c56c25
+SHA512 (runc-1.4.1-vendor.tar.bz2) = e8a3ff4ef14c21bb2fd651b0d258be79c507e8e55febed24ee99ff9e66efbdb520dd79fb716a548c6c9f65efe7575c2ab9672c8944f64b18dd80e8d643b2ffbd
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/runc] epel10: Update to release v1.4.1
@ 2026-06-23 15:37 Bradley G Smith
0 siblings, 0 replies; 2+ messages in thread
From: Bradley G Smith @ 2026-06-23 15:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/runc
Branch : epel10
Commit : 99a741bfcc56e706a7a1410946dceb76c2d002e1
Author : Bradley G Smith <bradley.g.smith@gmail.com>
Date : 2026-03-15T14:10:11-07:00
Stats : +67/-78 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/runc/c/99a741bfcc56e706a7a1410946dceb76c2d002e1?branch=epel10
Log:
Update to release v1.4.1
- Resolves: rhbz#2447251
- Adopts go2rpm generates spec file
- New libpathrs build tag not included as that library is not yet
available in Fedora
---
diff --git a/.gitignore b/.gitignore
index 8ad1afb..b1995db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -383,3 +383,5 @@ results*
/runc-1.3.3.tar.gz
/runc-1.3.4.tar.gz
/runc-1.4.0.tar.gz
+/runc-1.4.1.tar.gz
+/runc-1.4.1-vendor.tar.bz2
diff --git a/go-vendor-tools.toml b/go-vendor-tools.toml
new file mode 100644
index 0000000..6ab4062
--- /dev/null
+++ b/go-vendor-tools.toml
@@ -0,0 +1,4 @@
+[archive]
+
+[licensing]
+detector = "askalono"
diff --git a/runc.spec b/runc.spec
index 84a52da..ae71131 100644
--- a/runc.spec
+++ b/runc.spec
@@ -1,100 +1,82 @@
-%global with_debug 0
+# Generated by go2rpm 1.19.0
+%bcond check 1
-%if 0%{?with_debug}
-%global _find_debuginfo_dwz_opts %{nil}
-%global _dwz_low_mem_die_limit 0
-%else
-%global debug_package %{nil}
-%endif
-
-%global provider github
-%global provider_tld com
-%global project opencontainers
-%global repo runc
# https://github.com/opencontainers/runc
-%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
-%global import_path %{provider_prefix}
-%global git0 https://github.com/opencontainers/runc
-
-Name: %{repo}
-Epoch: 2
-Version: 1.4.0
-Release: %autorelease
-Summary: CLI for running Open Containers
-License: Apache-2.0 and BSD-2-Clause and BSD-3-Clause and MIT
-URL: %{git0}
-Source0: %{git0}/archive/v%{version}/%{name}-%{version}.tar.gz
-ExclusiveArch: %{golang_arches_future}
-# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
-BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
-BuildRequires: pkgconfig(libseccomp)
-BuildRequires: go-md2man
-BuildRequires: make
-Provides: oci-runtime
-
-Recommends: container-selinux >= 2:2.85-1
+%global goipath github.com/opencontainers/runc
+Epoch: 2
+Version: 1.4.1
+%global tag v%{gsub %{version} ~ -}
+
+%gometa -L -f
+
+
+Name: runc
+Release: %autorelease
+Summary: CLI tool for spawning and running containers according to the OCI specification
+
+# Generated by go-vendor-tools
+License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0
+URL: %{gourl}
+Source0: %{gosource}
+# Generated by go-vendor-tools
+Source1: %{archivename}-vendor.tar.bz2
+Source2: go-vendor-tools.toml
+
+BuildRequires: go-vendor-tools
+BuildRequires: go-md2man
+BuildRequires: pkgconfig(libseccomp)
+
+Provides: oci-runtime
+
+Recommends: container-selinux >= 2:2.85-1
%ifnarch s390x
-Recommends: criu
+Recommends: criu
%endif
%description
-The runc command can be used to start containers which are packaged
-in accordance with the Open Container Initiative's specifications,
-and to manage containers running under runc.
+CLI tool for spawning and running containers according to the OCI
+specification.
%prep
-%autosetup -p1 -n %{name}-%{version}
-sed -i 's/ -trimpath//g' Makefile
+%goprep -p1
+tar -xf %{S:1}
-%build
-%set_build_flags
-export CGO_CFLAGS=$CFLAGS
-# 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')
-
-%ifarch x86_64
-export CGO_CFLAGS+=" -m64 -mtune=generic -fcf-protection=full"
-%endif
-
-mkdir -p GOPATH
-pushd GOPATH
- mkdir -p src/%{provider}.%{provider_tld}/%{project}
- ln -s $(dirs +1 -l) src/%{import_path}
-popd
+%generate_buildrequires
+%go_vendor_license_buildrequires -c %{S:2}
-pushd GOPATH/src/%{import_path}
-export GOPATH=$(pwd)/GOPATH
-
-%make_build runc
+%build
+%global gomodulesmode GO111MODULE=on
+export GO_BUILDTAGS="seccomp urfave_cli_no_docs"
+%gobuild -o %{gobuilddir}/bin/runc %{goipath}
-sed -i '/\#\!\/bin\/bash/d' contrib/completions/bash/%{name}
+# generate man files
+man/md2man-all.sh
%install
-install -d -p %{buildroot}%{_bindir}
-install -p -m 755 %{name} %{buildroot}%{_bindir}
-
-# generate man pages
-man/md2man-all.sh
+%go_vendor_license_install -c %{S:2}
+install -m 0755 -vd %{buildroot}%{_bindir}
+install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
# install man pages
-install -d -p %{buildroot}%{_mandir}/man8
-install -p -m 0644 man/man8/*.8 %{buildroot}%{_mandir}/man8/.
+install -d -p %{buildroot}%{_mandir}/man8
+install -m 0644 -vp man/man8/*.8 %{buildroot}%{_mandir}/man8/.
# install bash completion
-install -d -p %{buildroot}%{_datadir}/bash-completion/completions
-install -p -m 0644 contrib/completions/bash/%{name} %{buildroot}%{_datadir}/bash-completion/completions
+install -m 0755 -vd %{buildroot}/%{bash_completions_dir}
+install -m 0644 -vp contrib/completions/bash/%{name} %{buildroot}/%{bash_completions_dir}
-#define license tag if not already defined
-%{!?_licensedir:%global license %doc}
+%check
+%go_vendor_license_check -c %{S:2}
+%if %{with check}
+%gocheck2 -t libcontainer/integration -t libcontainer/nsenter
+%endif
-%files
-%license LICENSE vendor/modules.txt
-%doc MAINTAINERS_GUIDE.md PRINCIPLES.md README.md CONTRIBUTING.md
-%{_bindir}/%{name}
+%files -f %{go_vendor_license_filelist}
+%doc docs CHANGELOG.md CONTRIBUTING.md EMERITUS.md MAINTAINERS_GUIDE.md
+%doc PRINCIPLES.md README.md RELEASES.md SECURITY.md
%{_mandir}/man8/%{name}*
-%{_datadir}/bash-completion/completions/%{name}
+%{bash_completions_dir}/%{name}
+%{_bindir}/runc
%changelog
%autochangelog
diff --git a/sources b/sources
index 8fea328..a43d6ed 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (runc-1.4.0.tar.gz) = a5b52d8494a4210d9ff4caefd0513b94b80ef9dd16c6eb369761cde2fce30214f765eee01c3cbb2e0cfd933371362fd89b08656b434d76038ffe1f8a59dea215
+SHA512 (runc-1.4.1.tar.gz) = 7ed7776dd52055de3181e62c5220e72aa5214eb24b4133b89785e9cff865868fb9e0df445449c99d2f34c3e1ad035e1d34cef900916256af77266a9dd7c56c25
+SHA512 (runc-1.4.1-vendor.tar.bz2) = e8a3ff4ef14c21bb2fd651b0d258be79c507e8e55febed24ee99ff9e66efbdb520dd79fb716a548c6c9f65efe7575c2ab9672c8944f64b18dd80e8d643b2ffbd
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-23 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23 15:37 [rpms/runc] epel10: Update to release v1.4.1 Bradley G Smith
-- strict thread matches above, loose matches on Subject: below --
2026-06-23 15:37 Bradley G Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox