From 7afcf23c4ebe193574f4db6cd70d81aa36cbcc6e Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Thu, 9 May 2019 14:05:43 +0000 Subject: [PATCH] Revert "Fix building of python-django-horizon" This reverts commit 2c22d4b54e09007a702174eedfa51b54c486a84e. Change-Id: I121fa48d96d7c790ae89686f9a167b7f139b41b6 Depends-On: I78c10617d55bbb627b0f88a9faae87694af60ab7 Story: 2004751 Task: 30805 --- openstack/python-horizon/centos/python-django-horizon.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openstack/python-horizon/centos/python-django-horizon.spec b/openstack/python-horizon/centos/python-django-horizon.spec index 4f9a7b61..bc96c806 100755 --- a/openstack/python-horizon/centos/python-django-horizon.spec +++ b/openstack/python-horizon/centos/python-django-horizon.spec @@ -372,6 +372,7 @@ mv %{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_s #ln -s ../../../../../%{_sysconfdir}/openstack-dashboard/local_settings %{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/local/local_settings.py mv %{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/conf/*.json %{buildroot}%{_sysconfdir}/openstack-dashboard +mv %{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/conf/cinder_policy.d %{buildroot}%{_sysconfdir}/openstack-dashboard mv %{buildroot}%{_datadir}/openstack-dashboard/openstack_dashboard/conf/nova_policy.d %{buildroot}%{_sysconfdir}/openstack-dashboard @@ -474,6 +475,7 @@ systemctl daemon-reload >/dev/null 2>&1 || : %{_datadir}/openstack-dashboard/openstack_dashboard/.eslintrc %dir %attr(0750, root, apache) %{_sysconfdir}/openstack-dashboard +%dir %attr(0750, root, apache) %{_sysconfdir}/openstack-dashboard/cinder_policy.d/ %dir %attr(0750, apache, apache) %{_sharedstatedir}/openstack-dashboard %dir %attr(0750, apache, apache) %{_var}/log/horizon %config(noreplace) %{_sysconfdir}/httpd/conf.d/openstack-dashboard.conf @@ -483,6 +485,7 @@ systemctl daemon-reload >/dev/null 2>&1 || : %config(noreplace) %attr(0640, root, apache) %{_sysconfdir}/openstack-dashboard/nova_policy.json %config(noreplace) %attr(0640, root, apache) %{_sysconfdir}/openstack-dashboard/glance_policy.json %config(noreplace) %attr(0640, root, apache) %{_sysconfdir}/openstack-dashboard/neutron_policy.json +%config(noreplace) %attr(0640, root, apache) %{_sysconfdir}/openstack-dashboard/cinder_policy.d/consistencygroup.yaml %config(noreplace) %attr(0640, root, apache) %{_sysconfdir}/openstack-dashboard/nova_policy.d/api-extensions.yaml %config(noreplace) %attr(0644, root, root) %{_sysconfdir}/logrotate.d/openstack-dashboard %attr(755,root,root) %dir %{_unitdir}/httpd.service.d