-
Notifications
You must be signed in to change notification settings - Fork 359
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
export environment variable for package on which depgen is run #502
Comments
@n3npq that's implementation detail (envvar vs macro). |
@n3npq imagine that you split -devel into -devel + -static packages. My idea was to add pkg-config file to both packages, but make sure that -devel depends on Requires stuff while -static depends on both Requires and Requires.private. There are more use-cases in Python / Rust worlds, but this pkg-config was the simplest one I could come up with. |
well, you already have |
Fixes: rpm-software-management#502 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Fixes: rpm-software-management#502 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Fixes: rpm-software-management#502 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Fixes: rpm-software-management#502 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Fixes: rpm-software-management#502 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
After offline discussion with @ffesti and @Conan-Kudo, it seems that RPM runs depgens per package and seems that rpmfc has information on which package it runs depgen. So we can just export some environment variables which would represent a package so depgens can take advantage of knowing this information.
I will try to hack some impl for this.
The text was updated successfully, but these errors were encountered: