[golang-github-docker-libcontainer] install namespaces/nsenter as well
Lokesh Mandvekar
lsm5 at fedoraproject.org
Mon Oct 20 17:16:32 UTC 2014
commit c6f9452f60f41b8e986a8c665dd0b55aeea881fd
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date: Mon Oct 20 12:16:26 2014 -0500
install namespaces/nsenter as well
Signed-off-by: Lokesh Mandvekar <lsm5 at fedoraproject.org>
golang-github-docker-libcontainer.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/golang-github-docker-libcontainer.spec b/golang-github-docker-libcontainer.spec
index 55b414b..138b8ae 100644
--- a/golang-github-docker-libcontainer.spec
+++ b/golang-github-docker-libcontainer.spec
@@ -5,7 +5,7 @@
Name: golang-github-docker-libcontainer
Version: 1.2.0
-Release: 1.git%{shortcommit}%{?dist}
+Release: 2.git%{shortcommit}%{?dist}
Summary: Configuration options for containers
License: ASL 2.0
URL: https://%{import_path}
@@ -28,9 +28,9 @@ This package provides the nsinit binary as well, but it is currently for
debugging purposes only and not officially supported.
%package devel
-BuildRequires: golang
+BuildRequires: golang >= 1.2.1-3
BuildRequires: golang(github.com/syndtr/gocapability/capability)
-Requires: golang
+Requires: golang >= 1.2.1-3
Requires: golang(github.com/syndtr/gocapability/capability)
Summary: Configuration options for containers
Provides: golang(%{import_path}) = %{version}-%{release}
@@ -44,6 +44,7 @@ Provides: golang(%{import_path}/label) = %{version}-%{release}
Provides: golang(%{import_path}/mount) = %{version}-%{release}
Provides: golang(%{import_path}/mount/nodes) = %{version}-%{release}
Provides: golang(%{import_path}/namespaces) = %{version}-%{release}
+Provides: golang(%{import_path}/namespaces/nsenter) = %{version}-%{release}
Provides: golang(%{import_path}/netlink) = %{version}-%{release}
Provides: golang(%{import_path}/network) = %{version}-%{release}
Provides: golang(%{import_path}/nsinit) = %{version}-%{release}
@@ -79,6 +80,7 @@ popd
%install
for dir in . apparmor cgroups cgroups/fs cgroups/systemd \
console devices label mount mount/nodes namespaces \
+ namespaces/nsenter \
netlink network nsinit security/capabilities \
security/restrict selinux syncpipe system user utils; do
install -d -p %{buildroot}%{gopath}/src/%{import_path}/$dir
@@ -109,6 +111,7 @@ install -p -m 755 ./_build/src/nsinit %{buildroot}%{_bindir}/nsinit
%dir %{gopath}/src/%{import_path}/mount
%dir %{gopath}/src/%{import_path}/mount/nodes
%dir %{gopath}/src/%{import_path}/namespaces
+%dir %{gopath}/src/%{import_path}/namespaces/nsenter
%dir %{gopath}/src/%{import_path}/netlink
%dir %{gopath}/src/%{import_path}/network
%dir %{gopath}/src/%{import_path}/nsinit
@@ -131,6 +134,7 @@ install -p -m 755 ./_build/src/nsinit %{buildroot}%{_bindir}/nsinit
%{gopath}/src/%{import_path}/mount/*.go
%{gopath}/src/%{import_path}/mount/nodes/*.go
%{gopath}/src/%{import_path}/namespaces/*.go
+%{gopath}/src/%{import_path}/namespaces/nsenter/*.go
%{gopath}/src/%{import_path}/netlink/*.go
%{gopath}/src/%{import_path}/network/*.go
%{gopath}/src/%{import_path}/nsinit/*.go
@@ -143,6 +147,9 @@ install -p -m 755 ./_build/src/nsinit %{buildroot}%{_bindir}/nsinit
%{gopath}/src/%{import_path}/utils/*.go
%changelog
+* Mon Oct 20 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.2.0-2.gitc907e40
+- install namespaces/nsenter
+
* Mon Oct 20 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 1.2.0-1.gitc907e40
- bump to v1.2.0 commit c907e406fe81320d87b58edf74953ceb08facc13
More information about the scm-commits
mailing list