Move main %files to the top

This commit is contained in:
Miro Hrončok 2022-02-09 17:54:33 +01:00
parent c6e52d457c
commit 9779ff55f4

View File

@ -713,6 +713,12 @@ CheckPyPy pypy%{pyversion}-c
# is just confusing for the user.
%global _docdir_fmt %{name}
%files
%doc README.rst
%{?with_main_pypy3:%{_bindir}/pypy3}
%{_bindir}/pypy%{pyversion}
%files libs
%doc README.rst
%license %{pypylibdir}/LICENSE
@ -732,12 +738,6 @@ CheckPyPy pypy%{pyversion}-c
%endif
%files
%doc README.rst
%{?with_main_pypy3:%{_bindir}/pypy3}
%{_bindir}/pypy%{pyversion}
%files devel
%dir %{_includedir}/pypy%{pyversion}
%{_includedir}/pypy%{pyversion}/*.h