Hi, In rebuilding the KDE packages, I've ran into a strangeness on several packages, and I think I need to find out if I'm fixing them right.
Several packages (powerdevil,plasma-desktop,sddm-kcm,kwalletmanager5 and others) have the following in their %files section of their spec file
%{_sysconfdir}/dbus-1/system.d/org.kde<package specific stuff>
The problem is, during build on RHEL8, these end up getting put in /usr/share/dbus-1 or in other words
%{_datadir}/dbus-1/system.d/org.kde<package specific stuff>
I am building these from the latest F30 builds. But on some of them, in Master they have already been changed to %{_datadir}/dbus-1
To fix the builds, I have been changing them to %{_datadir}/dbus-1/ ... because that is where the files are located. And I figured if that's where the build/install thinks they should be, then that's where they should be.
But, am I doing those wrong? Or does it really matter where they go.
Troy
Troy Dawson wrote:
Hi, In rebuilding the KDE packages, I've ran into a strangeness on several packages, and I think I need to find out if I'm fixing them right.
Several packages (powerdevil,plasma-desktop,sddm-kcm,kwalletmanager5 and others) have the following in their %files section of their spec file
%{_sysconfdir}/dbus-1/system.d/org.kde<package specific stuff>
The problem is, during build on RHEL8, these end up getting put in /usr/share/dbus-1 or in other words
%{_datadir}/dbus-1/system.d/org.kde<package specific stuff>
I am building these from the latest F30 builds. But on some of them, in Master they have already been changed to %{_datadir}/dbus-1
To fix the builds, I have been changing them to %{_datadir}/dbus-1/ ... because that is where the files are located. And I figured if that's where the build/install thinks they should be, then that's where they should be.
But, am I doing those wrong? Or does it really matter where they go.
I believe it's a matter of building against kf5 5.59 or not. Prior to 5.59 the default path was under %{_sysconfdir}/dbus-1/ and starting with 5.59 that's now %{_datadir}/dbus-1/
The latter is more correct, imho, so is a "good thinag(tm)"
-- Rex