https://bugzilla.redhat.com/show_bug.cgi?id=1872427
--- Comment #16 from Neal Gompa <ngompa13(a)gmail.com> ---
(In reply to Mohamed Aboubakr from comment #14)
Question related to
%py3_build_egg
%py3_install_egg
I receive this error
error: Installed (but unpackaged) file(s) found:
/usr/config/hibinit-config.cfg
You should probably fix this in the code, because this is a legitimate error.
You have made a setup.py that installs a config file in the wrong place. Either
don't have the setup.py install the file, or adjust it to install it to the
correct location.
/usr/lib/python3.6/site-packages/ec2_hibinit_agent-1.0.2-py3.6.egg-info/PKG-
INFO
/usr/lib/python3.6/site-packages/ec2_hibinit_agent-1.0.2-py3.6.egg-info/
SOURCES.txt
/usr/lib/python3.6/site-packages/ec2_hibinit_agent-1.0.2-py3.6.egg-info/
dependency_links.txt
/usr/lib/python3.6/site-packages/ec2_hibinit_agent-1.0.2-py3.6.egg-info/
top_level.txt
I did this fix under %file section
%{python3_sitelib}/ec2_hibinit_agent-%{version}-py3.*.egg-info/*
%{python3_sitelib}/ec2_hibinit_agent-%{version}-py3.*.egg-info/._SOURCES.txt
%{python3_sitelib}/ec2_hibinit_agent-%{version}-py3.*.egg-info/.
_dependency_links.txt
The feedback that I received
All the files in
`%{python3_sitelib}/ec2_hibinit_agent-%{version}-py3.*.egg-info` are owned,
but that directory is not [3].
[3]
https://docs.fedoraproject.org/en-US/packaging-guidelines/UnownedDirector...
#_wildcarding_files_inside_a_created_directory
I confused little here, what should I do ?
If I shouldn't use py3_build_egg and use py3_build, what should I do in the
above error ?
You can just do the following for the Python metadata files:
%{python3_sitelib}/ec2_hibinit_agent-%{version}-*.egg-info/
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component