diff --git a/kpmcore-4.0.0-dbusdir.patch b/kpmcore-4.0.0-dbusdir.patch new file mode 100644 index 0000000..27d89c4 --- /dev/null +++ b/kpmcore-4.0.0-dbusdir.patch @@ -0,0 +1,15 @@ +diff --git a/src/util/CMakeLists.txt b/src/util/CMakeLists.txt +index d616933..b3f2ee2 100644 +--- a/src/util/CMakeLists.txt ++++ b/src/util/CMakeLists.txt +@@ -50,8 +50,8 @@ target_link_libraries(kpmcore_externalcommand + ) + + install(TARGETS kpmcore_externalcommand DESTINATION ${KAUTH_HELPER_INSTALL_DIR}) +-install( FILES util/org.kde.kpmcore.helperinterface.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d ) +-install( FILES util/org.kde.kpmcore.applicationinterface.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d ) ++install( FILES util/org.kde.kpmcore.helperinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d ) ++install( FILES util/org.kde.kpmcore.applicationinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d ) + + kauth_install_helper_files(kpmcore_externalcommand org.kde.kpmcore.externalcommand root) + kauth_install_actions(org.kde.kpmcore.externalcommand util/org.kde.kpmcore.externalcommand.actions) diff --git a/kpmcore.spec b/kpmcore.spec index 95a9443..2da1258 100644 --- a/kpmcore.spec +++ b/kpmcore.spec @@ -1,6 +1,6 @@ Name: kpmcore Version: 4.0.0 -Release: 1mamba +Release: 2mamba Summary: Library for managing partitions Group: System/Libraries Vendor: openmamba @@ -9,6 +9,7 @@ Packager: Silvan Calarco URL: https://github.com/KDE/kpmcore.git ## GITSOURCE https://github.com/KDE/kpmcore.git v2.2.1 Source: https://github.com/KDE/kpmcore.git/v%{version}/kpmcore-%{version}.tar.bz2 +Patch0: kpmcore-4.0.0-dbusdir.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -49,11 +50,11 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. - %debug_package %prep %setup -q +%patch0 -p1 %build %cmake_kde5 -d build @@ -71,14 +72,11 @@ This package contains libraries and header files for developing applications tha %files -n lib%{name} %defattr(-,root,root) -%{_sysconfdir}/dbus-1/system.d/org.kde.kpmcore.*.conf %{_libdir}/libkpmcore.so.* %{_qt5_plugindir}/libpmdummybackendplugin.so %{_qt5_plugindir}/libpmsfdiskbackendplugin.so %{_libexecdir}/kf5/kauth/kpmcore_externalcommand -%ifarch arm -%{_datadir}/dbus-1/system.d/org.kde.kpmcore.externalcommand.conf -%endif +%{_datadir}/dbus-1/system.d/org.kde.kpmcore.*.conf %{_datadir}/dbus-1/system-services/org.kde.kpmcore.externalcommand.service %{_datadir}/polkit-1/actions/org.kde.kpmcore.externalcommand.policy @@ -91,6 +89,9 @@ This package contains libraries and header files for developing applications tha %{_libdir}/libkpmcore.so %changelog +* Sat Oct 05 2019 Silvan Calarco 4.0.0-2mamba +- added a patch from arch to fix dbus files installation directory + * Sun May 26 2019 Automatic Build System 4.0.0-1mamba - automatic version update by autodist