Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter argparse-manpage from autogenerated requires #4826

Closed
vashirov opened this issue Jul 2, 2021 · 0 comments · Fixed by #4827
Closed

Filter argparse-manpage from autogenerated requires #4826

vashirov opened this issue Jul 2, 2021 · 0 comments · Fixed by #4827
Assignees
Milestone

Comments

@vashirov
Copy link
Member

vashirov commented Jul 2, 2021

python3-argparse-manpage is a buildtime only dependency. But because it's mentioned in setup.py and requirements.txt it gets picked up by RPM dependency generators:

rpm -q --requires python3-lib389 | grep argparse 
python3.9dist(argparse-manpage)

We should exclude it from runtime dependencies list.

@vashirov vashirov added this to the 2.0.0 milestone Jul 2, 2021
@vashirov vashirov self-assigned this Jul 2, 2021
vashirov added a commit that referenced this issue Jul 2, 2021
Bug Description:
RPM dependency generators add argparse-manpage to the list of runtime
dependencies. But it's a buildtime only dependency.

Fix Description:
Use requires filter macro in the spec file.

Fixes: #4826

Reviewed by: @mreynolds389 (Thanks!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant