mark that package contain directory explicitly

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2017-09-05 19:56:42 +02:00
parent 9e2c4475a7
commit 6cdd7f0099

View File

@ -89,14 +89,14 @@ tox --sitepackages -e py27,py%{python3_version_nodots}
%files -n python2-%{realname} %files -n python2-%{realname}
%doc README %doc README
%license COPYING %license COPYING
%{python_sitelib}/%{realname} %{python_sitelib}/%{realname}/
%{python_sitelib}/%{realname}-%{version}-*.egg-info %{python_sitelib}/%{realname}-%{version}-*.egg-info
%if 0%{?rhel} == 0 %if 0%{?rhel} == 0
%files -n python3-%{realname} %files -n python3-%{realname}
%doc README %doc README
%license COPYING %license COPYING
%{python3_sitelib}/%{realname} %{python3_sitelib}/%{realname}/
%{python3_sitelib}/%{realname}-%{version}-*.egg-info %{python3_sitelib}/%{realname}-%{version}-*.egg-info
%endif %endif