70 lines
2.0 KiB
RPMSpec
70 lines
2.0 KiB
RPMSpec
Name: bubblewrap
|
|
Version: 0.1.4
|
|
Release: 5%{?dist}
|
|
Summary: Core execution tool for unprivileged containers
|
|
|
|
License: LGPLv2+
|
|
#VCS: git:https://github.com/projectatomic/bubblewrap
|
|
URL: https://github.com/projectatomic/bubblewrap
|
|
Source0: https://github.com/projectatomic/bubblewrap/releases/download/v%{version}/bubblewrap-%{version}.tar.xz
|
|
Patch0: 0001-Don-t-call-capset-unless-we-need-to.patch
|
|
Patch1: 0001-Only-unshare-user-automatically-if-we-re-not-root.patch
|
|
|
|
BuildRequires: autoconf automake libtool
|
|
BuildRequires: gcc
|
|
BuildRequires: libcap-devel
|
|
BuildRequires: pkgconfig(libselinux)
|
|
BuildRequires: libxslt
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
%description
|
|
Bubblewrap (/usr/bin/bwrap) is a core execution engine for unprivileged
|
|
containers that works as a setuid binary on kernels without
|
|
user namespaces.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi
|
|
%configure --disable-silent-rules --with-priv-mode=none
|
|
%make_build
|
|
|
|
%install
|
|
%make_install INSTALL="install -p -c"
|
|
find %{buildroot} -name '*.la' -delete -print
|
|
|
|
%files
|
|
%license COPYING
|
|
%dir %{_datadir}/bash-completion
|
|
%dir %{_datadir}/bash-completion/completions
|
|
%{_datadir}/bash-completion/completions/bwrap
|
|
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
|
%attr(0755,root,root) %caps(cap_sys_admin,cap_net_admin,cap_sys_chroot,cap_setuid,cap_setgid=ep) %{_bindir}/bwrap
|
|
%else
|
|
%{_bindir}/bwrap
|
|
%endif
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|
|
* Tue Dec 06 2016 walters@redhat.com - 0.1.4-4
|
|
- Backport fix for regression in previous commit for rpm-ostree
|
|
|
|
* Thu Dec 01 2016 walters@redhat.com - 0.1.4-3
|
|
- Backport patch to fix running via nspawn, which should fix rpm-ostree-in-bodhi
|
|
|
|
* Tue Nov 29 2016 Kalev Lember <klember@redhat.com> - 0.1.4-1
|
|
- Update to 0.1.4
|
|
|
|
* Fri Oct 14 2016 Colin Walters <walters@verbum.org> - 0.1.3-2
|
|
- New upstream version
|
|
|
|
* Mon Sep 12 2016 Kalev Lember <klember@redhat.com> - 0.1.2-1
|
|
- Update to 0.1.2
|
|
|
|
* Tue Jul 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.1.1-2
|
|
- Trivial fixes in packaging
|
|
|
|
* Fri Jul 08 2016 Colin Walters <walters@verbum.org> - 0.1.1
|
|
- Initial package
|