Dependency generators for Python RPMs
Go to file
Kalev Lember 47a0b37ac0 Generate provides for /app-installed flatpak builds
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.
2023-04-20 04:23:47 +02:00
tests CI: Run pytest via script to make it easier to reuse it in python-packaging 2023-04-19 20:27:07 +02:00
.gitignore Update the test data sources 2023-01-05 09:39:19 +01:00
COPYING Fork upstream generators 2018-02-11 00:50:54 +01:00
python-rpm-generators.spec Generate provides for /app-installed flatpak builds 2023-04-20 04:23:47 +02:00
python.attr Generate provides for /app-installed flatpak builds 2023-04-20 04:23:47 +02:00
pythonbundles.py Ignore environment markers in pythonbundles.py 2023-03-07 17:35:06 +01:00
pythondist.attr Generate provides for /app-installed flatpak builds 2023-04-20 04:23:47 +02:00
pythondistdeps.py https://fedoraproject.org/wiki/Changes/Prevent-Providing-python3dist(pkg)=0 2023-01-05 09:39:19 +01:00
pythonname.attr From python3-foo packages automatically generate python3.X-foo Obsoletes tags on CentOS/RHEL 2022-01-26 17:07:05 +01:00
rpminspect.yaml Add rpminspect file 2022-02-02 15:24:19 +00:00
sources Update the test data sources 2023-01-05 09:39:19 +01:00
update-test-sources.sh pythondistdeps.py: Compare extras as lowercase 2021-03-11 13:41:25 +01:00