Hi,
if you look here:
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.gansser@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
-- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue