Bug 497981

Summary: Installed files outside the data directory intended for kmymoney
Product: [Applications] kmymoney Reporter: Ralf Habacker <ralf.habacker>
Component: buildsystemAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.90   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ralf Habacker 2024-12-28 13:00:30 UTC
STEPS TO REPRODUCE
1. check https://build.opensuse.org/projects/KDE:Unstable:Extra/packages/kmymoney/files/kmymoney.spec?expand=1
2. in the `%files` section consider used paths starting with %{_kf6_sharedir}

OBSERVED RESULT
In the %files section there is `%{_kf6_sharedir}/kmymoney` where kmymoney related files are located, but also `%{_kf6_sharedir}/checkprinting/` which uses a directory outside the previously mentioned path for storing templates for transfer printing. 

EXPECTED RESULT
The templates should be installed under %{_kf6_sharedir}/kmymoney.

ADDITIONAL INFORMATIONS
This apply also to KF5 builds, see https://build.opensuse.org/projects/openSUSE:Leap:16.0/packages/kmymoney/files/kmymoney.spec?expand=1

Here an additional directory outside the kmymoney namespace is used  `%{_kf5_appsdir}/kbanking/`