From 3890c26f18b7f4566f6c9d1736037326581aa753 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 24 Apr 2017 00:52:40 +0300 Subject: [PATCH] package missing top level dir --- python-django.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.44.0