From 698743eef643a32891bd729749aa2f6681935232 Mon Sep 17 00:00:00 2001 From: han-guangyu Date: Sun, 30 Oct 2022 14:01:45 +0000 Subject: [PATCH] Fix element not found - Move file packaging of `%{_datadir}/*` to python3-ironic-python-agent-builder from help. - Remove help subpackage because it was empty. Closes-Issue: #I5YG5M (cherry picked from commit a2ae37444408dc3a8a4d30c3f4e69ac6a323847c) --- python-ironic-python-agent-builder.spec | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/python-ironic-python-agent-builder.spec b/python-ironic-python-agent-builder.spec index 74169cf..cf1168e 100644 --- a/python-ironic-python-agent-builder.spec +++ b/python-ironic-python-agent-builder.spec @@ -1,7 +1,7 @@ %global _empty_manifest_terminate_build 0 Name: python-ironic-python-agent-builder Version: 2.7.0 -Release: 1 +Release: 2 Summary: Tools and scripts to build Ironic Python Agent License: ASL 2.0 URL: https://docs.openstack.org/ironic-python-agent-builder/latest/ @@ -11,6 +11,8 @@ BuildArch: noarch Requires: diskimage-builder %description +This package contains a script to build an ironic-python-agent builder, as well +as a diskimage-builder element for it. %package -n python3-ironic-python-agent-builder @@ -24,13 +26,6 @@ BuildRequires: python3-pbr %description -n python3-ironic-python-agent-builder - -%package help -Summary: Development documents and examples for ironic-python-agent-builder -Provides: python3-ironic-python-agent-builder-doc -%description help - - %prep %autosetup -n ironic-python-agent-builder-%{version} @@ -57,21 +52,19 @@ fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi -touch doclist.lst -if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst -fi popd mv %{buildroot}/filelist.lst . -mv %{buildroot}/doclist.lst . %files -n python3-ironic-python-agent-builder -f filelist.lst %dir %{python3_sitelib}/* - -%files help -f doclist.lst %{_datadir}/* + %changelog +* Sun Oct 30 2022 Han Guangyu - 2.7.0-2 +- Move file packaging of `%{_datadir}/*` to python3-ironic-python-agent-builder from help +- Remove help subpackage because it was empty + * Fri Aug 20 2021 liksh 2.7.0-1 - Update to 2.7.0 -- Gitee