Skip to content

[WIP] ...#3519

Draft
debarshiray wants to merge 2 commits intocandlepin:mainfrom
debarshiray:wip/rishi/cloud-what-noarch
Draft

[WIP] ...#3519
debarshiray wants to merge 2 commits intocandlepin:mainfrom
debarshiray:wip/rishi/cloud-what-noarch

Conversation

@debarshiray
Copy link
Contributor

...

@debarshiray debarshiray marked this pull request as draft February 25, 2025 19:45
The term 'sitelib' is used for locations where pure-Python modules are
installed, and 'sitearch' is where Python extension modules (written in
C or C++) are.  eg., Fedora uses the RPM macros python3_sitelib and
python3_sitearch [1].

In this case, the PYTHON_SITELIB build flag was being used to denote the
'sitearch' location because it was being assigned the value of Fedora's
python_sitearch.  Therefore, rename PYTHON_SITELIB as PYTHON_SITEARCH to
make the name of the flag match its purpose.

Fallout from f445b64

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/
The location specified by the DNF_PLUGIN_PYTHON_SITELIB build flag was
not specific to DNF plugins.  It was the top-level 'sitelib' location
where pure-Python modules are installed.  Therefore, rename the flag as
PYTHON_SITELIB to make the name of the flag match its purpose.

Fallout from 5e488ac
@debarshiray debarshiray force-pushed the wip/rishi/cloud-what-noarch branch from 360aca4 to 5653f4c Compare February 25, 2025 20:04
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 this pull request may close these issues.

1 participant