Hi, if you look here: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_distro_wide_guidelines in the Mandatory macros section it explains the 'site-packages' dir. It is where all the pure python modules are installed and most likely it is where the pyproject_* macros install files by default. You should consider whether or not your files belong there.
Regards, Pavol. On Wed, Jul 16, 2025 at 3:50 PM Martin Gansser <martin.gans...@gmail.com> wrote: > if I move > export TARTUBE_PKG_STRICT=1 > in front of the line %pyproject_wheel, I get the error message: > RPM build errors: > Directory not found: > /home/martin/rpmbuild/BUILD/tartube-2.5.145-build/BUILDROOT/usr/share/tartube > > if I then comment in the %file section #%%{_datadir}/tartube/ > I get this error message, instead of being installed to /usr/share/ > it is installed to /usr/lib/python3.13/site-packages, why is that? > > error: Installed (but unpackaged) file(s) found: > > /usr/lib/python3.13/site-packages/usr/share/locale/de/LC_MESSAGES/tartube.po > > > /usr/lib/python3.13/site-packages/usr/share/locale/en_US/LC_MESSAGES/tartube.po > > /usr/lib/python3.13/site-packages/usr/share/locale/es/LC_MESSAGES/tartube.po > > /usr/lib/python3.13/site-packages/usr/share/locale/fr/LC_MESSAGES/tartube.po > > /usr/lib/python3.13/site-packages/usr/share/locale/ja/LC_MESSAGES/tartube.po > > > /usr/lib/python3.13/site-packages/usr/share/locale/ko_KR/LC_MESSAGES/tartube.po > > > /usr/lib/python3.13/site-packages/usr/share/locale/nl_NL/LC_MESSAGES/tartube.po > > /usr/lib/python3.13/site-packages/usr/share/locale/ru/LC_MESSAGES/tartube.po > > /usr/lib/python3.13/site-packages/usr/share/locale/ta/LC_MESSAGES/tartube.po > > /usr/lib/python3.13/site-packages/usr/share/locale/tr/LC_MESSAGES/tartube.po > > /usr/lib/python3.13/site-packages/usr/share/locale/vi/LC_MESSAGES/tartube.po > > > /usr/lib/python3.13/site-packages/usr/share/locale/zh_CN/LC_MESSAGES/tartube.po > > > /usr/lib/python3.13/site-packages/usr/share/locale/zh_Hant/LC_MESSAGES/tartube.po > > > /usr/lib/python3.13/site-packages/usr/share/tartube/icons/dialogue/newbie_classic_icon.png > > > /usr/lib/python3.13/site-packages/usr/share/tartube/icons/dialogue/newbie_icon_64.png > > > /usr/lib/python3.13/site-packages/usr/share/tartube/icons/dialogue/ready_icon_64.png > > > /usr/lib/python3.13/site-packages/usr/share/tartube/icons/dialogue/setup_classic_icon.png > ......... > > Regards > Martin > -- > _______________________________________________ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue >
-- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue