commit a7c0ed84776b9115fb67eb06344800ff400a30c0 Author: MSVSphere Packaging Team Date: Fri Nov 8 00:49:46 2024 +0300 import slirp4netns-1.3.1-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e3d469 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/v1.3.1.tar.gz diff --git a/.slirp4netns.metadata b/.slirp4netns.metadata new file mode 100644 index 0000000..6c40cf9 --- /dev/null +++ b/.slirp4netns.metadata @@ -0,0 +1 @@ +d4686fc5038bae84f2ced5f090806c69d2cd4853 SOURCES/v1.3.1.tar.gz diff --git a/SPECS/slirp4netns.spec b/SPECS/slirp4netns.spec new file mode 100644 index 0000000..91213c8 --- /dev/null +++ b/SPECS/slirp4netns.spec @@ -0,0 +1,63 @@ +Name: slirp4netns +Version: 1.3.1 +Release: 3%{?dist} +License: GPL-2.0-only +Summary: slirp for network namespaces +URL: https://github.com/rootless-containers/%{name} +# Tarball fetched from upstream +Source0: %{url}/archive/v%{version}.tar.gz +ExclusiveArch: %{golang_arches_future} +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: go-md2man +BuildRequires: gcc +BuildRequires: glib2-devel +BuildRequires: git-core +BuildRequires: libcap-devel +BuildRequires: libseccomp-devel +BuildRequires: libslirp-devel +BuildRequires: make + +%description +slirp for network namespaces, without copying buffers across the namespaces. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +%{summary} + +This package contains library source intended for +building other packages which use import path with +%{import_path} prefix. + +%prep +%autosetup -Sgit %{name}-%{built_tag_strip} + +%build +./autogen.sh +./configure --prefix=%{_usr} --libdir=%{_libdir} +%{__make} generate-man + +%install +make DESTDIR=%{buildroot} install install-man + +%check + +#define license tag if not already defined +%{!?_licensedir:%global license %doc} + +%files +%license COPYING +%doc README.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.gz + +%changelog +* Fri Nov 08 2024 MSVSphere Packaging Team - 1.3.1-3 +- Rebuilt for MSVSphere 10 + +* Tue Oct 29 2024 Jindrich Novy - 1.3.1-3 +- revive slirp4netns +- Resolves: RHEL-65176