From: Elan Ruusamäe Date: Sun, 23 Apr 2017 21:52:40 +0000 (+0300) Subject: package missing top level dir X-Git-Tag: auto/th/python-django-1.11-2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=3890c26f18b7f4566f6c9d1736037326581aa753;p=packages%2Fpython-django.git package missing top level dir --- diff --git a/python-django.spec b/python-django.spec index 71de762..08b9f8c 100644 --- a/python-django.spec +++ b/python-django.spec @@ -11,7 +11,7 @@ Name: python-%{module} # stay on LTS line # https://www.djangoproject.com/download/#supported-versions Version: 1.11 -Release: 1 +Release: 2 License: BSD Group: Libraries/Python Source0: https://www.djangoproject.com/m/releases/1.11/Django-%{version}.tar.gz @@ -180,6 +180,7 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_bindir}/django-admin %attr(755,root,root) %{_bindir}/py2-django-admin %attr(755,root,root) %{_bindir}/django-admin-2 +%dir %{py_sitescriptdir}/%{module} %{py_sitescriptdir}/%{module}/*.py[co] %{py_sitescriptdir}/%{module}/apps %{py_sitescriptdir}/%{module}/bin @@ -283,6 +284,7 @@ rm -rf $RPM_BUILD_ROOT %endif %attr(755,root,root) %{_bindir}/py3-django-admin %attr(755,root,root) %{_bindir}/django-admin-3 +%dir %{py3_sitescriptdir}/%{module} %{py3_sitescriptdir}/%{module}/*.py %{py3_sitescriptdir}/%{module}/__pycache__ %{py3_sitescriptdir}/%{module}/apps