integ/python/python-django/centos/meta_patches/fix-build-failures-due-to-unwanted-sgid.patch
SidneyAn 9f41b6d9db Revert "upgrade python-django to CentOS 7.6 version"
This reverts commit d0e1110fda670d329aabf21fcfd6ee672e198618.

Patch [2/2]
Revert Reason
As part of CentOS 7.6 upgrade tasks, I have upgraded python-django from
1.8.14-1 to 1.11.13 from 3rd-party repo
"https://dl.fedoraproject.org/pub/epel/testing/7/SRPMS/Packages/p/"
However lately CentOS repo made a refreshment and we noticed in official
repo, python-django still keeps version 1.8.14-1.
“http://vault.centos.org/7.6.1810/cloud/Source/openstack-pike/common/”

so we revert previous change d0e1110fda670d329aabf21fcfd6ee672e198618.

Story: 2004522
Task: 28853

Depends-On: https://review.openstack.org/#/c/629970/
Change-Id: Iadd18f4293e82cd50493a524bde96af455765b04
2019-01-15 02:00:27 +00:00

27 lines
750 B
Diff

From 8b52d5a27b4c288aa2167968b1d570e3caba6245 Mon Sep 17 00:00:00 2001
From: Scott Little <scott.little@windriver.com>
Date: Fri, 18 Nov 2016 14:02:39 -0500
Subject: [PATCH 1/1] python-django-bash-completion: fix build failures due to
unwanted sgid bit
---
SPECS/python-django.spec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/SPECS/python-django.spec b/SPECS/python-django.spec
index 5cf8579..79557de 100644
--- a/SPECS/python-django.spec
+++ b/SPECS/python-django.spec
@@ -421,6 +421,8 @@ popd
%doc docs/_build/html/*
%files bash-completion
+%dir %attr(0755,root,root) %{_datadir}/bash-completion
+%dir %attr(0755,root,root) %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion
%if 0%{?with_python3}
--
1.8.3.1