diff --git a/python-torch.spec b/python-torch.spec index 5318e07..09d6699 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -67,7 +67,7 @@ Version: %{pypi_version}^git%{date0}.%{shortcommit0} %else Version: %{pypi_version} %endif -Release: %autorelease +Release: 1%{?dist} Summary: PyTorch AI/ML framework # See license.txt for license details License: BSD-3-Clause AND BSD-2-Clause AND 0BSD AND Apache-2.0 AND MIT AND BSL-1.0 AND GPL-3.0-or-later AND Zlib @@ -127,11 +127,11 @@ Source100: https://github.com/protocolbuffers/protobuf/archive/refs/tags/v% %global st_ver 80.9.0 Source110: https://github.com/pypa/setuptools/archive/refs/tags/v%{st_ver}.tar.gz -%global pt_arches x86_64 aarch64 -ExclusiveArch: %pt_arches %global toolchain gcc %global _lto_cflags %nil +ExclusiveArch: x86_64 + BuildRequires: cmake BuildRequires: cpuinfo-devel %if %{with eigen3}