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

Reply via email to