Package crtools-ovz: 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 | %def_without check %define optflags_lto %nil Name: crtools-ovz Version: 3.15.4.7 Release: alt1 Summary: Utility to checkpoint/restore tasks for OpenVZ containers License: GPL-2.0-only Group: System/Configuration/Other Url: http://criu.org Vcs: https://src.openvz.org/scm/ovz/criu.git Packager: Andrew A. Vasilyev <andy@altlinux.org> Source: criu-%version.tar Provides: criu-ovz = %EVR Conflicts: crtools ExclusiveArch: x86_64 BuildRequires: libnet2-devel BuildRequires: libprotobuf-c-devel %_bindir/protoc-c BuildRequires: libprotobuf-devel protobuf-compiler BuildRequires: asciidoc xmlto %_bindir/a2x BuildRequires: libnftables-devel BuildRequires: libgnutls-devel BuildRequires: glibc-devel BuildRequires: libnl-devel BuildRequires: libcap-devel BuildRequires: python3-base # BuildRequires: libselinux-devel BuildRequires(pre): rpm-build-python3 %if_with check BuildRequires: rpm-build-vm-run BuildRequires: vzkernel BuildRequires: libaio-devel BuildRequires: python3-module-future python3-module-yaml python3-module-protobuf BuildRequires: libbsd-devel BuildRequires: iproute2 iptables iputils openvswitch %endif Requires: nftables util-linux ipset %description An utility to checkpoint/restore tasks for OpenVZ containers. %prep %setup -n criu-%version %build export CFLAGS="%optflags -fcommon -Wno-stringop-overflow" export PYTHON=python3 %make_build \ PREFIX=%prefix V=1 all docs %install export PYTHON=python3 %makeinstall_std \ PREFIX=%prefix LIBDIR=%_libdir LIBEXECDIR=%_libexecdir SYSTEMDUNITDIR=%_unitdir mv %buildroot%_sbindir/criu{,-ovz} ln -s criu-ovz %buildroot%_sbindir/criu ln -s criu-ovz %buildroot%_sbindir/crtools ln -s criu.8 %buildroot%_man8dir/crtools.8 find %buildroot -name 'lib*.a' -delete rm -f %buildroot%_bindir/crit rm -rf %buildroot%python3_sitelibdir_noarch rm -f %buildroot%_man1dir/crit.1* rm -f %buildroot%_libdir/libcriu.so.2* rm -f %buildroot%_libdir/libcompel.so.1* rm -rf %buildroot%_includedir/criu rm -rf %buildroot%_includedir/compel rm -f %buildroot%_libdir/*.so rm -f %buildroot%_pkgconfigdir/criu.pc %check vm-run --kvm=cond --sbin --udevd make test || : %files %doc README.md COPYING CREDITS %_sbindir/criu %_sbindir/criu-ovz %_sbindir/crtools %_bindir/compel %_libexecdir/criu %_libexecdir/compel %_man1dir/compel.1* %_man8dir/criu.8* %_man8dir/crtools.8* %changelog * Thu May 12 2022 Andrew A. Vasilyev <andy@altlinux.org> 3.15.4.7-alt1 - 3.15.4.7 * Mon May 09 2022 Andrew A. Vasilyev <andy@altlinux.org> 3.15.4.6-alt1 - 3.15.4.6 * Wed Apr 27 2022 Andrew A. Vasilyev <andy@altlinux.org> 3.15.4.5-alt1 - 3.15.4.5 * Tue Mar 01 2022 Andrew A. Vasilyev <andy@altlinux.org> 3.15.4.3-alt1 - 3.15.4.3 * Fri Jan 21 2022 Andrew A. Vasilyev <andy@altlinux.org> 3.15.4.1-alt1 - 3.15.4.1 * Tue Dec 21 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.3.11-alt1 - 3.15.3.11 * Wed Nov 10 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.3.6-alt1 - 3.15.3.6 * Wed Sep 22 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.2.9-alt4 - FTBFS: gcc11: false stringop-overflow * Mon Sep 20 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.2.9-alt3 - protobuf: remove leading underscores from protobuf structs (from criu upstream) * Thu Sep 16 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.2.9-alt2 - FTBFS: remove leading underscores in structs * Tue Aug 24 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.2.9-alt1 - 3.15.2.9 - disable LTO * Fri Aug 06 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.2.6-alt1 - 3.15.2.6 * Thu Jul 08 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.2.5-alt1 - 3.15.2.5 * Fri Jun 04 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.2.2-alt1 - 3.15.2.2 * Tue Apr 13 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.1.27-alt1 - 3.15.1.27 * Thu Apr 08 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.1.26-alt1 - 3.15.1.26 * Mon Mar 08 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.1.23-alt1 - 3.15.1.23 * Fri Feb 19 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.1.22-alt1 - 3.15.1.22 * Mon Feb 01 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.1.15-alt1 - 3.15.1.15 * Sat Jan 02 2021 Andrew A. Vasilyev <andy@altlinux.org> 3.15.0.15-alt1 - 3.15.0.15 * Fri Dec 25 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.15.0.14-alt1 - 3.15.0.14 * Tue Dec 08 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.15.0.9-alt1 - 3.15.0.9 * Mon Nov 09 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.12.5.52-alt1 - 3.12.5.52 - cherry-picked commit 86a386a0171eb553d5d3bcb5db92ff13b1f60ad4 from criu real upstream: "Update test_bit() and test_and_set_bit() implementation with recent version from the Linux kernel to fix the warning." * Fri Oct 30 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.12.5.50-alt1 - 3.12.5.50 * Mon Oct 12 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.12.5.46-alt1 - 3.12.5.46 * Mon Oct 05 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.12.5.44-alt1 - 3.12.5.44 * Fri Oct 02 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.12.5.43-alt1 - 3.12.5.43 * Wed Sep 30 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.12.5.41-alt1 - 3.12.5.41 - remove all extra packages not needed for OpenVZ * Mon Sep 14 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.12.5.40-alt1 - 3.12.5.40 * Fri Sep 11 2020 Andrew A. Vasilyev <andy@altlinux.org> 3.12.5.38-alt1 - Initial build for ALT from Virtuozzo fork of criu, spec based on crtool. |