2016-07-11 20:03:19 +00:00
|
|
|
Name: bubblewrap
|
2017-01-10 16:00:08 +00:00
|
|
|
Version: 0.1.6
|
2016-12-19 10:02:20 +00:00
|
|
|
Release: 1%{?dist}
|
2016-07-12 07:45:04 +00:00
|
|
|
Summary: Core execution tool for unprivileged containers
|
|
|
|
|
2016-07-11 20:03:19 +00:00
|
|
|
License: LGPLv2+
|
2016-07-12 07:45:04 +00:00
|
|
|
#VCS: git:https://github.com/projectatomic/bubblewrap
|
2016-07-11 20:03:19 +00:00
|
|
|
URL: https://github.com/projectatomic/bubblewrap
|
2016-11-29 11:28:41 +00:00
|
|
|
Source0: https://github.com/projectatomic/bubblewrap/releases/download/v%{version}/bubblewrap-%{version}.tar.xz
|
2016-07-11 20:03:19 +00:00
|
|
|
|
2016-12-01 16:31:28 +00:00
|
|
|
BuildRequires: autoconf automake libtool
|
2016-07-12 07:45:04 +00:00
|
|
|
BuildRequires: gcc
|
2016-07-11 20:03:19 +00:00
|
|
|
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
|
2016-07-12 07:45:04 +00:00
|
|
|
%autosetup
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%build
|
2016-12-01 16:31:28 +00:00
|
|
|
if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi
|
2016-07-11 20:03:19 +00:00
|
|
|
%configure --disable-silent-rules --with-priv-mode=none
|
2016-07-12 07:45:04 +00:00
|
|
|
%make_build
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%install
|
2016-07-12 07:45:04 +00:00
|
|
|
%make_install INSTALL="install -p -c"
|
|
|
|
find %{buildroot} -name '*.la' -delete -print
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
2016-07-12 07:45:04 +00:00
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
%dir %{_datadir}/bash-completion/completions
|
2016-07-11 20:03:19 +00:00
|
|
|
%{_datadir}/bash-completion/completions/bwrap
|
|
|
|
%if (0%{?rhel} != 0 && 0%{?rhel} <= 7)
|
2016-09-24 15:00:00 +00:00
|
|
|
%attr(0755,root,root) %caps(cap_sys_admin,cap_net_admin,cap_sys_chroot,cap_setuid,cap_setgid=ep) %{_bindir}/bwrap
|
2016-07-11 20:03:19 +00:00
|
|
|
%else
|
|
|
|
%{_bindir}/bwrap
|
|
|
|
%endif
|
2016-07-12 21:09:31 +00:00
|
|
|
%{_mandir}/man1/*
|
2016-07-11 20:03:19 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-01-10 16:00:08 +00:00
|
|
|
* Tue Jan 10 2017 Colin Walters <walters@verbum.org> - 0.1.6-1
|
|
|
|
- New upstream version with security fix
|
|
|
|
- Resolves: #1411814
|
|
|
|
|
2016-12-19 10:02:20 +00:00
|
|
|
* Mon Dec 19 2016 Kalev Lember <klember@redhat.com> - 0.1.5-1
|
|
|
|
- Update to 0.1.5
|
|
|
|
|
2016-12-06 18:13:19 +00:00
|
|
|
* Tue Dec 06 2016 walters@redhat.com - 0.1.4-4
|
|
|
|
- Backport fix for regression in previous commit for rpm-ostree
|
|
|
|
|
2016-12-01 19:11:15 +00:00
|
|
|
* 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
|
|
|
|
|
2016-11-29 11:28:41 +00:00
|
|
|
* Tue Nov 29 2016 Kalev Lember <klember@redhat.com> - 0.1.4-1
|
|
|
|
- Update to 0.1.4
|
|
|
|
|
2016-10-14 17:02:58 +00:00
|
|
|
* Fri Oct 14 2016 Colin Walters <walters@verbum.org> - 0.1.3-2
|
|
|
|
- New upstream version
|
|
|
|
|
2016-09-12 11:55:41 +00:00
|
|
|
* Mon Sep 12 2016 Kalev Lember <klember@redhat.com> - 0.1.2-1
|
|
|
|
- Update to 0.1.2
|
|
|
|
|
2016-07-12 07:45:04 +00:00
|
|
|
* Tue Jul 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.1.1-2
|
|
|
|
- Trivial fixes in packaging
|
|
|
|
|
2016-07-11 20:03:19 +00:00
|
|
|
* Fri Jul 08 2016 Colin Walters <walters@verbum.org> - 0.1.1
|
|
|
|
- Initial package
|