Bug 497981 - Installed files outside the data directory intended for kmymoney
Summary: Installed files outside the data directory intended for kmymoney
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: buildsystem (other bugs)
Version First Reported In: 5.1.90
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-28 13:00 UTC by Ralf Habacker
Modified: 2024-12-28 13:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/`