!25 【轻量级 PR】:Make sure create glance user/group before install api
From: @huangtianhua Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
e35cf2f85e
@ -1,6 +1,6 @@
|
|||||||
Name: openstack-glance
|
Name: openstack-glance
|
||||||
Version: 22.0.0
|
Version: 22.0.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: OpenStack Image Service (Glance)
|
Summary: OpenStack Image Service (Glance)
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://docs.openstack.org/glance
|
URL: https://docs.openstack.org/glance
|
||||||
@ -257,7 +257,7 @@ mv %{buildroot}%{_prefix}%{_sysconfdir}/glance/metadefs/* %{buildroot}%{_sysconf
|
|||||||
# Remove duplicate files under /usr/etc
|
# Remove duplicate files under /usr/etc
|
||||||
rm -rf %{buildroot}%{_prefix}%{_sysconfdir}/glance
|
rm -rf %{buildroot}%{_prefix}%{_sysconfdir}/glance
|
||||||
|
|
||||||
%pre
|
%pre api
|
||||||
%openstack_pre_user_group_create glance glance /sbin/nologin
|
%openstack_pre_user_group_create glance glance /sbin/nologin
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -322,6 +322,9 @@ stestr run --black-regex 'glance.tests.unit.common.test_format_inspector.TestFor
|
|||||||
%{python3_sitelib}/glance/tests
|
%{python3_sitelib}/glance/tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 26 2021 huangtianhua <huangtianhua@huawei.com> - 22.0.0-3
|
||||||
|
- Make sure create glance user/group before install api
|
||||||
|
|
||||||
* Mon Aug 23 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 22.0.0-2
|
* Mon Aug 23 2021 wangxiyuan <wangxiyuan1007@gmail.com> - 22.0.0-2
|
||||||
- Remove useless temp file creat action
|
- Remove useless temp file creat action
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user