libtorch.aarch64: W: description-shorter-than-summary The package description should be longer than the summary. be a bit more verbose, please. pytorch-examples.noarch: W: files-duplicate /usr/share/doc/packages/python-torch/imagenet_trainer.py /usr/share/doc/packages/python-torch/resnet50_trainer.py python-torch.src:227: W: macro-in-comment %check python-torch.src:224: W: macro-in-comment %{__grep} python-torch.src:219: W: macro-in-comment %{_libdir} python-torch.src:228: W: macro-in-comment %{_libdir} python-torch.src:218: W: macro-in-comment %{buildroot} python-torch.src:219: W: macro-in-comment %{buildroot} python-torch.src:223: W: macro-in-comment %{buildroot} python-torch.src:228: W: macro-in-comment %{buildroot} python-torch.src:229: W: macro-in-comment %{buildroot} python-torch.src:218: W: macro-in-comment %{python_sitearch} python-torch.src:223: W: macro-in-comment %{python_sitearch} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. libtorch.aarch64: W: no-version-in-last-changelog python-torch.src: W: no-version-in-last-changelog python3-torch-devel.aarch64: W: no-version-in-last-changelog python3-torch.aarch64: W: no-version-in-last-changelog pytorch-converters.noarch: W: no-version-in-last-changelog pytorch-examples.noarch: W: no-version-in-last-changelog The latest changelog entry doesn't contain a version. Please insert the version that is coherent with the version of the package and rebuild it. python3-torch.aarch64: W: non-executable-script /usr/lib64/python3.6/site-packages/caffe2/contrib/aten/gen_op.py 644 /bin/env python python3-torch.aarch64: W: non-executable-script /usr/lib64/python3.6/site-packages/caffe2/contrib/gloo/gloo_test.py 644 /usr/bin/env python python3-torch.aarch64: W: non-executable-script /usr/lib64/python3.6/site-packages/caffe2/core/nomnigraph/op_gen.py 644 /usr/bin/env python python3-torch.aarch64: W: non-executable-script /usr/lib64/python3.6/site-packages/caffe2/python/allcompare_test.py 644 /usr/bin/env python python3-torch.aarch64: W: non-executable-script /usr/lib64/python3.6/site-packages/caffe2/python/benchmark_generator.py 644 /usr/bin/env python python3-torch.aarch64: W: non-executable-script /usr/lib64/python3.6/site-packages/caffe2/python/operator_test/alias_with_name_test.py 644 /usr/bin/env python3 python3-torch.aarch64: W: non-executable-script /usr/lib64/python3.6/site-packages/caffe2/python/test/inference_lstm_op_test.py 644 /usr/bin/env python3 python3-torch.aarch64: W: non-executable-script /usr/lib64/python3.6/site-packages/torch/utils/hipify/hipify_python.py 644 /usr/bin/env python This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. libtorch.aarch64: W: shared-lib-calls-exit /usr/lib64/libc10.so exit@GLIBC_2.17 libtorch.aarch64: W: shared-lib-calls-exit /usr/lib64/libcaffe2_detectron_ops.so exit@GLIBC_2.17 libtorch.aarch64: W: shared-lib-calls-exit /usr/lib64/libcaffe2_observers.so exit@GLIBC_2.17 libtorch.aarch64: W: shared-lib-calls-exit /usr/lib64/libtorch.so exit@GLIBC_2.17 libtorch.aarch64: W: shared-lib-calls-exit /usr/lib64/libtorch_python.so _exit@GLIBC_2.17 python3-torch.aarch64: W: shared-lib-calls-exit /usr/lib64/python3.6/site-packages/torch/lib/libc10.so exit@GLIBC_2.17 python3-torch.aarch64: W: shared-lib-calls-exit /usr/lib64/python3.6/site-packages/torch/lib/libcaffe2_detectron_ops.so exit@GLIBC_2.17 python3-torch.aarch64: W: shared-lib-calls-exit /usr/lib64/python3.6/site-packages/torch/lib/libcaffe2_observers.so exit@GLIBC_2.17 python3-torch.aarch64: W: shared-lib-calls-exit /usr/lib64/python3.6/site-packages/torch/lib/libtorch.so exit@GLIBC_2.17 python3-torch.aarch64: W: shared-lib-calls-exit /usr/lib64/python3.6/site-packages/torch/lib/libtorch_python.so _exit@GLIBC_2.17 This library package calls exit() or _exit(), probably in a non-fork() context. Doing so from a library is strongly discouraged - when a library function calls exit(), it prevents the calling program from handling the error, reporting it to the user, closing files properly, and cleaning up any state that the program has. It is preferred for the library to return an actual error code and let the calling program decide how to handle the situation. libtorch.aarch64: W: shlib-policy-missing-suffix Your package containing shared libraries does not end in a digit and should probably be split. python3-torch.aarch64: W: zero-length /usr/lib64/python3.6/site-packages/torch/cuda/error.py python3-torch-devel.aarch64: W: zero-length /usr/lib64/python3.6/site-packages/torch/include/ATen/cudnn/Exceptions.h python3-torch.aarch64: W: zero-length /usr/lib64/python3.6/site-packages/torch/py.typed python3-torch.aarch64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/python3.6/site-packages/torch/include/THCUNN/generic/THCUNN.h python3-torch.aarch64: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib64/python3.6/site-packages/torch/include/THNN/generic/THNN.h A file that is needed only e.g. when developing or building software is included in a non-devel package. These files should go in devel packages. pytorch-examples.noarch: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/python-torch/__init__.py pytorch-examples.noarch: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/python-torch/char_rnn.py pytorch-examples.noarch: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/python-torch/imagenet_trainer.py pytorch-examples.noarch: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/python-torch/lmdb_create_example.py pytorch-examples.noarch: E: spurious-executable-perm (Badness: 50) /usr/share/doc/packages/python-torch/resnet50_trainer.py The file is installed with executable permissions, but was identified as one that probably should not be executable. Verify if the executable bits are desired, and remove if not. NOTE: example scripts should be packaged under %docdir/examples, which will avoid this warning. 6 packages and 0 specfiles checked; 7 errors, 41 warnings.