Package buildah: Specfile
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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | %global provider github %global provider_tld com %global project containers %global repo buildah # https://github.com/containers/buildah %global provider_prefix %provider.%provider_tld/%project/%repo %global import_path %provider_prefix %global _unpackaged_files_terminate_build 1 Name: buildah Version: 1.35.3 Release: alt1 Summary: A command line tool used to creating OCI Images Group: Development/Other License: Apache-2.0 Url: https://%provider_prefix Source: %name-%version.tar Patch: %name-%version.patch Patch1: vendored-cilium-ebpf-alt-loongarch64-support.patch ExclusiveArch: %go_arches BuildRequires(pre): rpm-macros-golang BuildRequires: rpm-build-golang golang >= 1.20 BuildRequires: go-md2man BuildRequires: libgpgme-devel BuildRequires: libdevmapper-devel BuildRequires: libostree-devel BuildRequires: libbtrfs-devel BuildRequires: libassuan-devel BuildRequires: libseccomp-devel BuildRequires: glib2-devel BuildRequires: libsubid-devel BuildRequires: libsystemd-devel Requires: tzdata Requires: containers-common-extra %ifnarch %e2k %arm %ix86 Requires: netavark >= 1.6.0 %endif %description The buildah package provides a command line tool which can be used to * create a working container from scratch or * create a working container from an image as a starting point * mount/umount a working container's root file system for manipulation * save container's root file system layer to create a new image * delete a working container or an image %prep %setup %patch -p1 %patch1 -p1 sed -i '/docs install/d' Makefile %build export BUILDDIR="$PWD/.gopath" export IMPORT_PATH="%import_path" export GOPATH="$BUILDDIR:%go_path" export VERSION=%version export GIT_COMMIT=%release export BRANCH=altlinux export GOMD2MAN=go-md2man %golang_prepare pushd .gopath/src/%import_path #%%golang_build cmd/%%name %make all PREFIX=%_prefix popd %install export BUILDDIR="$PWD/.gopath" export GOPATH="%go_path" pushd .gopath/src/%import_path #%%golang_install # rm -rf -- %%buildroot%%_datadir %make DESTDIR=%buildroot PREFIX=%prefix install %make DESTDIR=%buildroot PREFIX=%prefix install.completions %make DESTDIR=%buildroot PREFIX=%prefix -C docs install popd %files %doc LICENSE %doc README.md %_bindir/%name %_man1dir/* %_datadir/bash-completion/completions/* %changelog * Mon Apr 15 2024 Alexey Shabalin <shaba@altlinux.org> 1.35.3-alt1 - New version 1.35.3. * Fri Mar 29 2024 Alexey Shabalin <shaba@altlinux.org> 1.35.2-alt1 - New version 1.35.2 (Fixes: CVE-2024-24786 in protobuf module). * Sat Mar 23 2024 Ivan A. Melnikov <iv@altlinux.org> 1.35.1-alt1.1 - NMU: fix FTBFS on loongarch64. * Fri Mar 22 2024 Alexey Shabalin <shaba@altlinux.org> 1.35.1-alt1 - New version 1.35.1 (Fixes: CVE-2024-1753). * Mon Dec 25 2023 Alexey Shabalin <shaba@altlinux.org> 1.34.0-alt1 - New version 1.34.0. * Mon Dec 11 2023 Alexey Shabalin <shaba@altlinux.org> 1.33.2-alt2 - Fixed libsubid detection. - Build with libsystemd. * Tue Dec 05 2023 Alexey Shabalin <shaba@altlinux.org> 1.33.2-alt1 - New version 1.33.2. * Thu Nov 09 2023 Alexey Shabalin <shaba@altlinux.org> 1.32.2-alt1 - New version 1.32.2. * Fri Oct 06 2023 Alexey Shabalin <shaba@altlinux.org> 1.32.0-alt1 - New version 1.32.0. * Fri Aug 18 2023 Alexey Shabalin <shaba@altlinux.org> 1.31.2-alt1 - New version 1.31.2. * Wed Jul 05 2023 Alexey Shabalin <shaba@altlinux.org> 1.31.0-alt1 - new version 1.31.0 * Sat May 27 2023 Alexey Shabalin <shaba@altlinux.org> 1.30.0-alt2.1 - Add info about CVE to changelog. * Tue May 16 2023 Alexey Shabalin <shaba@altlinux.org> 1.30.0-alt2 - Update Requires. - Build with libsubid and libostree. * Tue May 02 2023 Alexey Shabalin <shaba@altlinux.org> 1.30.0-alt1 - New version 1.30.0. * Fri Jan 27 2023 Alexey Shabalin <shaba@altlinux.org> 1.29.0-alt1 - new version 1.29.0 * Sun Jan 22 2023 Alexey Shabalin <shaba@altlinux.org> 1.28.2-alt1 - new version 1.28.2 * Sat Oct 08 2022 Alexey Shabalin <shaba@altlinux.org> 1.28.0-alt1 - new version 1.28.0 * Mon Sep 26 2022 Alexey Shabalin <shaba@altlinux.org> 1.27.2-alt1 - new version 1.27.2 * Wed Jun 15 2022 Alexey Shabalin <shaba@altlinux.org> 1.26.1-alt1 - new version 1.26.1 * Fri Apr 08 2022 Alexey Shabalin <shaba@altlinux.org> 1.25.1-alt1 - new version 1.25.1 (Fixes: CVE-2022-27651) * Fri Mar 25 2022 Alexey Shabalin <shaba@altlinux.org> 1.24.2-alt1 - new version 1.24.2 * Fri Jan 28 2022 Alexey Shabalin <shaba@altlinux.org> 1.24.0-alt1 - 1.24.0 * Mon Nov 15 2021 Alexey Shabalin <shaba@altlinux.org> 1.23.1-alt1 - new version 1.23.1 * Fri Sep 03 2021 Alexey Shabalin <shaba@altlinux.org> 1.22.3-alt1 - new version 1.22.3 * Fri Jun 11 2021 Alexey Shabalin <shaba@altlinux.org> 1.21.1-alt1 - 1.21.1 * Tue May 18 2021 Alexey Shabalin <shaba@altlinux.org> 1.20.1-alt1 - 1.20.1 * Fri Mar 12 2021 Alexey Shabalin <shaba@altlinux.org> 1.19.8-alt1 - 1.19.8 * Fri Jan 29 2021 Alexey Shabalin <shaba@altlinux.org> 1.19.2-alt1 - 1.19.2 * Tue Dec 08 2020 Alexey Shabalin <shaba@altlinux.org> 1.18.0-alt1 - 1.18.0 * Tue Nov 10 2020 Alexey Shabalin <shaba@altlinux.org> 1.16.5-alt1 - 1.16.5 * Sat Sep 19 2020 Alexey Shabalin <shaba@altlinux.org> 1.16.1-alt2 - add tzdata to Requires * Thu Sep 17 2020 Alexey Shabalin <shaba@altlinux.org> 1.16.1-alt1 - new version 1.16.1 - Add(): fix handling of relative paths with no ContextDir * Wed Sep 09 2020 Alexey Shabalin <shaba@altlinux.org> 1.16.0-alt1 - new version 1.16.0 * Thu Jun 18 2020 Alexey Shabalin <shaba@altlinux.org> 1.15.0-alt1 - new version 1.15.0 * Fri May 15 2020 Alexey Shabalin <shaba@altlinux.org> 1.14.9-alt1 - new version 1.14.9 * Fri May 01 2020 Alexey Shabalin <shaba@altlinux.org> 1.14.8-alt1 - new version 1.14.8 * Thu Apr 02 2020 Alexey Shabalin <shaba@altlinux.org> 1.14.5-alt1 - new version 1.14.5 (Fixes: CVE-2020-10696) * Wed Mar 25 2020 Alexey Shabalin <shaba@altlinux.org> 1.14.3-alt1 - new version 1.14.3 * Thu Feb 20 2020 Alexey Shabalin <shaba@altlinux.org> 1.14.0-alt1 - 1.14.0 * Tue Jan 21 2020 Alexey Shabalin <shaba@altlinux.org> 1.13.1-alt1 - 1.13.1 * Sun Dec 22 2019 Alexey Shabalin <shaba@altlinux.org> 1.12.0-alt1 - 1.12.0 * Wed Dec 11 2019 Alexey Shabalin <shaba@altlinux.org> 1.11.6-alt1 - 1.11.6 * Mon Oct 07 2019 Alexey Shabalin <shaba@altlinux.org> 1.11.3-alt1 - 1.11.3 * Sun Sep 15 2019 Alexey Shabalin <shaba@altlinux.org> 1.11.2-alt1 - Initial build for ALT |