Dependency generators for Python RPMs
The generator deliberately does not use %{_prefix} in order to avoid
generating provides for packages that set a custom prefix. This is done
to ensure that provides are only generated for paths where the Python
interpreter actually loads modules from.
As we can't use %{_prefix} (which would make it all much simpler), this
commit adds a conditional to look in /app only when the %flatpak macro
is defined, and /usr otherwise.
This should fix provides generation for /app-installed flatpak builds.
|
||
|---|---|---|
| tests | ||
| .gitignore | ||
| COPYING | ||
| python-rpm-generators.spec | ||
| python.attr | ||
| pythonbundles.py | ||
| pythondist.attr | ||
| pythondistdeps.py | ||
| pythonname.attr | ||
| rpminspect.yaml | ||
| sources | ||
| update-test-sources.sh | ||