[packages/python-django] package missing top level dir

glen glen at pld-linux.org
Sun Apr 23 23:52:47 CEST 2017


commit 3890c26f18b7f4566f6c9d1736037326581aa753
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Apr 24 00:52:40 2017 +0300

    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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django.git/commitdiff/3890c26f18b7f4566f6c9d1736037326581aa753



More information about the pld-cvs-commit mailing list