diff --git a/python-zVMCloudConnector.spec b/python-zVMCloudConnector.spec index 2a9f5b63cf7c3266c37c17c54d69b2a1c29c64b9..3eba67a06982ac6b5b54fc51c1c459f1f26b1bd4 100644 --- a/python-zVMCloudConnector.spec +++ b/python-zVMCloudConnector.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-zVMCloudConnector Version: 1.4.1 -Release: 1 +Release: 2 Summary: z/VM cloud management library in Python License: ASL 2.0 URL: https://github.com/mfcloud/python-zvm-sdk @@ -70,9 +70,6 @@ fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi -if [ -d etc ]; then - echo "/etc/*" >> filelist.lst -fi if [ -d lib ]; then echo "/lib/*" >> filelist.lst fi @@ -87,14 +84,19 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . - %files -n python3-zvmcloudconnector -f filelist.lst %dir %{python3_sitelib}/* +%config(noreplace) /etc/sudoers.d/sudoers-zvmsdk +%config(noreplace) /etc/zvmsdk/uwsgi-zvmsdk.conf +%config(noreplace) /etc/zvmsdk/zvmsdk.conf.sample %files help -f doclist.lst %{_docdir}/* %changelog +* Thu Jun 01 2023 Han Guangyu - 1.4.1-2 +- Fix config file packing + * Mon Feb 14 2022 OpenStack_SIG - 1.4.1-1 - Init package python3-zvmcloudconnector of version 1.4.1