diff --git a/pypy3.spec b/pypy3.spec index 1f45c89..b781dfb 100644 --- a/pypy3.spec +++ b/pypy3.spec @@ -688,7 +688,6 @@ install -m0644 -p -D -t %{buildroot}/%{_rpmconfigdir}/macros.d %{SOURCE2} # Remove files we don't want: rm -f %{buildroot}%{_libdir}/%{name}-%{basever}.tar.bz2 \ - %{buildroot}%{pypyprefix}/LICENSE \ %{buildroot}%{pypyprefix}/README.rst # wtf? This is probably masking some bigger problem, but let's do this for now @@ -828,18 +827,19 @@ CheckPyPy %{name}-stackless %endif # run_selftests # Because there's a bunch of binary subpackages and creating -# /usr/share/licenses/pypy3-this and /usr/share/licenses/pypy3-that +# /usr/share/doc/pypy3-this and /usr/share/doc/pypy3-that # is just confusing for the user. %global _docdir_fmt %{name} %files libs -%license LICENSE %doc README.rst %dir %{pypyprefix} %dir %{pypyprefix}/lib-python +%license %{pypyprefix}/LICENSE %{pypyprefix}/lib-python/%{pylibver}/ %{pypyprefix}/lib_pypy/ +%license %{pypyprefix}/lib_pypy/*/LICENSE %{pypyprefix}/site-packages/ %if %{with_emacs} %{_emacs_sitelispdir}/pypy3trace-mode.el @@ -847,7 +847,6 @@ CheckPyPy %{name}-stackless %endif %files -%license LICENSE %doc README.rst %{_bindir}/pypy3 %{_bindir}/pypy%{pyversion} @@ -862,7 +861,6 @@ CheckPyPy %{name}-stackless %if 0%{with_stackless} %files stackless -%license LICENSE %doc README.rst %{_bindir}/pypy-stackless %endif