Revert "slirp4netns package is retired on branch c10s for CS-2551"
Resolves: RHEL-65176
This reverts commit c36988fd7b
.
This commit is contained in:
parent
c36988fd7b
commit
215698cffd
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/*.tar.*
|
@ -1,3 +1,3 @@
|
||||
# Package Not Available
|
||||
This package is not available on CentOS Stream 10.
|
||||
It may be available on another branch.
|
||||
# slirp4netns
|
||||
|
||||
The slirp4netns package
|
@ -1 +0,0 @@
|
||||
slirp4netns package is retired on branch c10s for CS-2551
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
# recipients: jnovy, lsm5, santiago
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules: []
|
60
slirp4netns.spec
Normal file
60
slirp4netns.spec
Normal file
@ -0,0 +1,60 @@
|
||||
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
|
||||
* Tue Oct 29 2024 Jindrich Novy <jnovy@redhat.com> - 1.3.1-3
|
||||
- revive slirp4netns
|
||||
- Resolves: RHEL-65176
|
Loading…
Reference in New Issue
Block a user