1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
%global import_path github.com/containernetworking/plugins %global commit 9b8de6a613657df14a3a5958642872fa9855d570 #%%global shortcommit %(c=%commit; echo ${c:0:7}) %global __find_debuginfo_files %nil %global _unpackaged_files_terminate_build 1 %set_verify_elf_method unresolved=no %add_debuginfo_skiplist %_bindir %brp_strip_none %_bindir/* %define _libexecdir /usr/libexec %define cni_dir %_libexecdir/cni %define cni_etc_dir %_sysconfdir/cni Name: cni-plugins Version: 0.8.7 Release: alt1 Summary: Container Network Interface plugins Group: Development/Other License: Apache-2.0 Url: https://%import_path Source: %name-%version.tar ExclusiveArch: %go_arches Provides: containernetworking-plugins = %EVR BuildRequires(pre): rpm-build-golang BuildRequires: /proc %description The CNI (Container Network Interface) project consists of a specification and libraries for writing plugins to configure network interfaces in Linux containers, along with a number of supported plugins. CNI concerns itself only with network connectivity of containers and removing allocated resources when the container is deleted. Because of this focus, CNI has a wide range of support and the specification is simple to implement. These are the additional CNI network plugins provided by the containernetworking team. %prep %setup -q %build ./build_linux.sh %install mkdir -p %buildroot{%cni_dir,%cni_etc_dir/net.d} install -m0755 bin/* %buildroot%cni_dir/ %files %doc LICENSE README.md %dir %cni_etc_dir %dir %cni_etc_dir/net.d %dir %cni_dir %cni_dir/* %changelog * Thu Sep 10 2020 Alexey Shabalin <shaba@altlinux.org> 0.8.7-alt1 - new version 0.8.7 * Fri May 15 2020 Alexey Shabalin <shaba@altlinux.org> 0.8.6-alt1 - new version 0.8.6 * Sat Mar 14 2020 Alexey Shabalin <shaba@altlinux.org> 0.8.5-alt1 - 0.8.5 * Fri Dec 13 2019 Alexey Shabalin <shaba@altlinux.org> 0.8.3-alt1 - 0.8.3 * Tue Sep 10 2019 Alexey Shabalin <shaba@altlinux.org> 0.8.2-alt1 - 0.8.2 * Fri Jul 19 2019 Alexey Shabalin <shaba@altlinux.org> 0.8.1-alt1 - updated to v0.8.1-35-gb6f1a69 * Wed Apr 24 2019 Alexey Shabalin <shaba@altlinux.org> 0.7.5-alt1 - 0.7.5 * Sat Feb 23 2019 Alexey Shabalin <shaba@altlinux.org> 0.7.4-alt1 - 0.7.4 * Wed Jun 13 2018 Alexey Shabalin <shaba@altlinux.ru> 0.7.1-alt2 - rebuild for aarch64 * Sat May 12 2018 Alexey Shabalin <shaba@altlinux.ru> 0.7.1-alt1 - Initial package