Make sure create glance user/group before install api
This commit is contained in:
parent
015e2c0cde
commit
1ce57b6759
@ -1,6 +1,6 @@
|
||||
Name: openstack-glance
|
||||
Version: 22.0.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: OpenStack Image Service (Glance)
|
||||
License: ASL 2.0
|
||||
URL: https://docs.openstack.org/glance
|
||||
@ -257,7 +257,7 @@ mv %{buildroot}%{_prefix}%{_sysconfdir}/glance/metadefs/* %{buildroot}%{_sysconf
|
||||
# Remove duplicate files under /usr/etc
|
||||
rm -rf %{buildroot}%{_prefix}%{_sysconfdir}/glance
|
||||
|
||||
%pre
|
||||
%pre api
|
||||
%openstack_pre_user_group_create glance glance /sbin/nologin
|
||||
|
||||
%check
|
||||
@ -322,6 +322,9 @@ stestr run --black-regex 'glance.tests.unit.common.test_format_inspector.TestFor
|
||||
%{python3_sitelib}/glance/tests
|
||||
|
||||
%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
|
||||
- Remove useless temp file creat action
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user