diff --git a/python-torch.spec b/python-torch.spec index 5cd6d3c..ed7b039 100644 --- a/python-torch.spec +++ b/python-torch.spec @@ -443,10 +443,10 @@ sed -i -f br.sed devel.files %{python3_sitearch}/torch/utils/model_dump/{*.js,*.mjs,*.html} %{python3_sitearch}/torchgen/packaged/ATen/native/*.yaml %{python3_sitearch}/torchgen/packaged/autograd/{*.md,*.yaml} -%if %{with gitcommit} -%{python3_sitearch}/torch/_export/serde/schema.yaml %{python3_sitearch}/torch/distributed/pipeline/sync/_balance/py.typed %{python3_sitearch}/torch/distributed/pipeline/sync/py.typed +%if %{with gitcommit} +%{python3_sitearch}/torch/_export/serde/schema.yaml %endif # egg