The package rpms/cri-o.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cri-o.git/commit/?id=ac7b80075265....
Change:
+ExclusiveArch: x86_64 aarch64 ppc64le
Thanks.
Full change:
============
commit 8fc707eae86d753dabd9be021f88741aa651ccd3
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Thu Jul 13 16:53:15 2017 -0400
cri-o-1.0.0.alpha.0-2.gitfa25b38
- built commit fa25b38
- Provides: crio
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 451bf4d..0fb362a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/runc-67bd2ab.tar.gz
/plugins-dcf7368.tar.gz
/cri-o-91977d3.tar.gz
+/cri-o-fa25b38.tar.gz
diff --git a/cri-o.spec b/cri-o.spec
index 6a78cbf..703a75c 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -25,7 +25,7 @@
#
https://github.com/kubernetes-incubator/cri-o
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit0 91977d3989d1bec715ec8063f447d143e7612d18
+%global commit0 fa25b381b153780faafc5535ca29f3b0a6c94944
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
# runc
@@ -37,7 +37,7 @@
Name: cri-o
Version: 1.0.0.alpha.0
-Release: 1.git%{shortcommit0}%{?dist}
+Release: 2.git%{shortcommit0}%{?dist}
Summary: OCI-based implementation of Kubernetes Container Runtime Interface
License: ASL 2.0
URL: https://%{provider_prefix}
@@ -570,6 +570,10 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%{_datadir}/bash-completion/completions/*
%changelog
+* Thu Jul 13 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> -
1.0.0.alpha.0-2.gitfa25b38
+- built commit fa25b38
+- Provides: crio
+
* Fri Jun 30 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> -
1.0.0.alpha.0-1.git91977d3
- built commit 91977d3
- remove cri-o-cni subpackage
diff --git a/sources b/sources
index 08df226..ef61048 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,2 @@
-SHA512 (cri-o-91977d3.tar.gz) =
03d621998f4659c3e07df2a0bb862a4e6fd02107986c92c0fe8daa74257298f7bddb4aec7a069d9f226a02139500ea8ff7469fc5c41e4b48b50ca5b712b75058
-SHA512 (plugins-dcf7368.tar.gz) =
59b035790870e4349ad9c4ad34c655618bdba7fce8927c2efbcf0f205d7365e0e2b5a853335282f3193b4b8d9ebb41152a828d2d12d3613421a303e6feb8e1ab
+SHA512 (cri-o-fa25b38.tar.gz) =
24cf7155b8845828a3e153354bd19d15ce2b3dffb7f1db099d5bd019cad42a6309a9c99c726ece6d91c2c5af9eecf71fa38a65acb08235d5c6a1a00eedd0521d
SHA512 (runc-67bd2ab.tar.gz) =
4aac5f3d00ab022c0d0e4140f0e8caaa37aeb9cdc31b95485a3094e3b7082f1b617337d860777016807b2f16a3dc1a6e5b768af1a9e61d806fe763c7e1dcde28
commit e31c6956e5193f8ce2903bcd49d911ef4479f678
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Sat Jul 1 19:34:25 2017 +0000
package also Provides: crio
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/cri-o.spec b/cri-o.spec
index d9b9457..6a78cbf 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -65,7 +65,7 @@ BuildRequires: device-mapper-devel
Requires(pre): container-selinux
Requires: skopeo-containers
Provides: %{repo} = %{version}-%{release}
-Provides: cri-o
+Provides: %{service_name} = %{version}-%{release}
Obsoletes: ocid <= 0.3
Provides: ocid = %{version}-%{release}
commit b4a5e97b35af3449549b3121e3b223c85aaaa2f6
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Sat Jul 1 19:30:32 2017 +0000
skip untarring non-existing tarball
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/cri-o.spec b/cri-o.spec
index ccd38e7..d9b9457 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -426,7 +426,6 @@ providing packages with %{import_path} prefix.
sed -i 's/\/usr\/local\/bin\/crio/\/usr\/bin\/crio/g'
contrib/systemd/%{service_name}.service
tar zxf %{SOURCE5}
-tar zxf %{SOURCE6}
%build
mkdir _build
commit c80a8013cf21fcc43a06bcc93d8f6fab1a78a985
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Fri Jun 30 14:20:10 2017 -0400
remove cri-o-cni info
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/cri-o.spec b/cri-o.spec
index 038454f..ccd38e7 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -33,11 +33,6 @@
%global commit_runc 67bd2ab554bdf8a604f020e57448b37ef2102171
%global shortcommit_runc %(c=%{commit_runc}; echo ${c:0:7})
-# CNI plugins
-%global git_cni
https://github.com/containernetworking/plugins
-%global commit_cni dcf7368eeab15e2affc6256f0bb1e84dd46a34de
-%global shortcommit_cni %(c=%{commit_cni}; echo ${c:0:7})
-
%global service_name crio
Name: cri-o
@@ -50,7 +45,6 @@ Source0:
https://github.com/kubernetes-incubator/cri-o/archive/%{commit0}
Source3: %{service_name}-network.sysconfig
Source4: %{service_name}-storage.sysconfig
Source5: %{git_runc}/archive/%{commit_runc}/runc-%{shortcommit_runc}.tar.gz
-Source6: %{git_cni}/archive/%{commit_cni}/plugins-%{shortcommit_cni}.tar.gz
# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
#ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
commit ac7b80075265819300187bf875b41799c0890359
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Fri Jun 30 13:51:12 2017 -0400
cri-o-1.0.0.alpha.0-1.git91977d3
- built commit 91977d3
- remove cri-o-cni subpackage
- require containernetworking-plugins >= 0.5.2-2 (same as containernetworking-cni)
- skip s390x build (rhbz#1466865)
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 75bb9e2..451bf4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/cri-o-5dcbdc0.tar.gz
/runc-67bd2ab.tar.gz
/plugins-dcf7368.tar.gz
+/cri-o-91977d3.tar.gz
diff --git a/cri-o.spec b/cri-o.spec
index 0373369..038454f 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -25,7 +25,7 @@
#
https://github.com/kubernetes-incubator/cri-o
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit0 5dcbdc05e597098381f138061a05810f5a000f39
+%global commit0 91977d3989d1bec715ec8063f447d143e7612d18
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
# runc
@@ -42,7 +42,7 @@
Name: cri-o
Version: 1.0.0.alpha.0
-Release: 0.git%{shortcommit0}%{?dist}.3
+Release: 1.git%{shortcommit0}%{?dist}
Summary: OCI-based implementation of Kubernetes Container Runtime Interface
License: ASL 2.0
URL: https://%{provider_prefix}
@@ -54,7 +54,8 @@
Source6: %{git_cni}/archive/%{commit_cni}/plugins-%{shortcommit_cni}.tar.gz
# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
#ExclusiveArch: %{?go_arches:%{go_arches}}%{!?go_arches:%{ix86} x86_64 %{arm}}
-ExclusiveArch: x86_64 aarch64 ppc64le s390x
+# skip s390x (rhbz#1466865)
+ExclusiveArch: x86_64 aarch64 ppc64le
# If go_compiler is not set to 1, there is no virtual provide. Use golang instead.
BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang}
BuildRequires: btrfs-progs-devel
@@ -75,9 +76,9 @@ Obsoletes: ocid <= 0.3
Provides: ocid = %{version}-%{release}
%if 0%{?centos}
-Requires: cri-o-cni
+Requires: containernetworking-plugins >= 0.5.2-2
%else
-Recommends: cri-o-cni
+Recommends: containernetworking-plugins >= 0.5.2-2
%endif # centos
%description
@@ -426,20 +427,9 @@ This package contains unit tests for project
providing packages with %{import_path} prefix.
%endif
-%package cni
-License: LGPLv3
-Summary: CNI plugins for CRI-O
-Requires: %{name} = %{version}-%{release}
-
-%description cni
-CNI plugins and configurations for CRI-O.
-
-This package provides basic CNI plugins and basic configurations to be used with
-CRI-O.
-
%prep
-%setup -q -n cri-o-%{commit0}
-sed -i 's/\/usr\/local\/bin\/crio/\/usr\/bin\/crio/g'
contrib/systemd/crio.service
+%autosetup -Sgit -n %{name}-%{commit0}
+sed -i 's/\/usr\/local\/bin\/crio/\/usr\/bin\/crio/g'
contrib/systemd/%{service_name}.service
tar zxf %{SOURCE5}
tar zxf %{SOURCE6}
@@ -469,10 +459,6 @@ pushd
_build/src/github.com/opencontainers/runc
make BUILDTAGS="seccomp selinux"
popd
-pushd plugins-%{commit_cni}
-./build.sh
-popd
-
%install
make DESTDIR=%{buildroot} PREFIX=%{buildroot}%{_prefix} install.config install.systemd
install.completions
@@ -486,9 +472,6 @@ install -p -m 755 pause/pause
%{buildroot}%{_libexecdir}/%{service_name}
install -p -m 755 runc-%{commit_runc}/runc %{buildroot}%{_libexecdir}/%{service_name}
-install -dp %{buildroot}/opt/cni/bin
-install -p -m 755 plugins-%{commit_cni}/bin/* %{buildroot}/opt/cni/bin
-
install -dp %{buildroot}%{_sysconfdir}/cni/net.d
install -p -m 644 contrib/cni/10-crio-bridge.conf
%{buildroot}%{_sysconfdir}/cni/net.d/100-crio-bridge.conf
install -p -m 644 contrib/cni/99-loopback.conf
%{buildroot}%{_sysconfdir}/cni/net.d/200-loopback.conf
@@ -573,7 +556,7 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%doc README.md
%{_bindir}/%{service_name}
%{_bindir}/kpod
-%{_bindir}/crioctl
+%{_bindir}/%{service_name}ctl
%{_mandir}/man1/kpod*
%{_mandir}/man5/%{service_name}.conf.5*
%{_mandir}/man8/%{service_name}.8*
@@ -582,6 +565,8 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%config(noreplace) %{_sysconfdir}/%{service_name}/seccomp.json
%config(noreplace) %{_sysconfdir}/sysconfig/%{service_name}-storage
%config(noreplace) %{_sysconfdir}/sysconfig/%{service_name}-network
+%config(noreplace) %{_sysconfdir}/cni/net.d/100-%{service_name}-bridge.conf
+%config(noreplace) %{_sysconfdir}/cni/net.d/200-loopback.conf
%dir %{_libexecdir}/%{service_name}
%{_libexecdir}/%{service_name}/conmon
%{_libexecdir}/%{service_name}/pause
@@ -591,15 +576,13 @@ export
GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath}
%dir %{_sharedstatedir}/containers
%{_datadir}/bash-completion/completions/*
-%files cni
-%license plugins-%{commit_cni}/LICENSE
-%doc plugins-%{commit_cni}/README.md
-%dir %{_sysconfdir}/cni/net.d
-%{_sysconfdir}/cni/net.d/*
-%dir /opt/cni/bin
-/opt/cni/bin/*
-
%changelog
+* Fri Jun 30 2017 Lokesh Mandvekar <lsm5(a)fedoraproject.org> -
1.0.0.alpha.0-1.git91977d3
+- built commit 91977d3
+- remove cri-o-cni subpackage
+- require containernetworking-plugins >= 0.5.2-2 (same as containernetworking-cni)
+- skip s390x build (rhbz#1466865)
+
* Fri Jun 23 2017 Antonio Murdaca <runcom(a)fedoraproject.org> -
1.0.0.alpha.0-0.git5dcbdc0.3
- rebuilt to include cri-o-cni sub package
diff --git a/sources b/sources
index 78d11c4..08df226 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (cri-o-5dcbdc0.tar.gz) =
a1031c25efdd8ca8877f0a2f4371d0fb0d2fca56f21826c79a721e3d26a6b4434f81ac3501a5d3d2607a6109ed211c73f5e8a7d0454ef17cb476078e428cc928
+SHA512 (cri-o-91977d3.tar.gz) =
03d621998f4659c3e07df2a0bb862a4e6fd02107986c92c0fe8daa74257298f7bddb4aec7a069d9f226a02139500ea8ff7469fc5c41e4b48b50ca5b712b75058
SHA512 (plugins-dcf7368.tar.gz) =
59b035790870e4349ad9c4ad34c655618bdba7fce8927c2efbcf0f205d7365e0e2b5a853335282f3193b4b8d9ebb41152a828d2d12d3613421a303e6feb8e1ab
SHA512 (runc-67bd2ab.tar.gz) =
4aac5f3d00ab022c0d0e4140f0e8caaa37aeb9cdc31b95485a3094e3b7082f1b617337d860777016807b2f16a3dc1a6e5b768af1a9e61d806fe763c7e1dcde28
commit b7eafcb2401b30e68841ec80b66ab47d0e1e3123
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Mon Jun 26 10:39:27 2017 -0400
cri-o obsoletes ocid
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/cri-o.spec b/cri-o.spec
index bf28081..0373369 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -71,6 +71,8 @@ Requires(pre): container-selinux
Requires: skopeo-containers
Provides: %{repo} = %{version}-%{release}
Provides: cri-o
+Obsoletes: ocid <= 0.3
+Provides: ocid = %{version}-%{release}
%if 0%{?centos}
Requires: cri-o-cni
commit 9c66e6731e13100f682a361c364dbede6de7f3e0
Author: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
Date: Sat Jun 24 02:12:56 2017 -0400
Requires instead of Recommends for CentOS
Signed-off-by: Lokesh Mandvekar <lsm5(a)fedoraproject.org>
diff --git a/cri-o.spec b/cri-o.spec
index ef30059..bf28081 100644
--- a/cri-o.spec
+++ b/cri-o.spec
@@ -72,7 +72,11 @@ Requires: skopeo-containers
Provides: %{repo} = %{version}-%{release}
Provides: cri-o
+%if 0%{?centos}
+Requires: cri-o-cni
+%else
Recommends: cri-o-cni
+%endif # centos
%description
%{summary}