diff --git a/kauth-include-polkitqt.patch b/kauth-include-polkitqt.patch deleted file mode 100644 index 44fd931..0000000 --- a/kauth-include-polkitqt.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/src/ConfigureChecks.cmake b/src/ConfigureChecks.cmake -index 70b9f7d..01346e4 100644 ---- a/src/ConfigureChecks.cmake -+++ b/src/ConfigureChecks.cmake -@@ -146,7 +146,9 @@ elseif(KAUTH_BACKEND_NAME STREQUAL "POLKITQT5-1") - backends/polkit-1/Polkit1Backend.cpp - ) - -- set(KAUTH_BACKEND_LIBS PolkitQt5-1::Core Qt5::DBus Qt5::Widgets) -+ include_directories(${POLKITQT-1_INCLUDE_DIR}) -+ -+ set(KAUTH_BACKEND_LIBS polkit-qt5-core-1 Qt5::DBus Qt5::Widgets) - - # POLKITQT-1_POLICY_FILES_INSTALL_DIR has an absolute pathname, fix that. - string(REPLACE ${POLKITQT-1_INSTALL_DIR} diff --git a/kf5-kauth.spec b/kf5-kauth.spec index 516bd0e..0a6c3e6 100644 --- a/kf5-kauth.spec +++ b/kf5-kauth.spec @@ -14,8 +14,6 @@ URL: http://www.kde.org #Source0: %{name}-%{version}-%{snapshot}git.tar.bz2 Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz -Patch0: kauth-include-polkitqt.patch - BuildRequires: polkit-qt5-1-devel BuildRequires: kf5-rpm-macros @@ -43,8 +41,6 @@ developing applications that use %{name}. %prep %setup -q -n %{framework}-%{version} -%patch0 -p1 -b .polkitqt - %build mkdir -p %{_target_platform} pushd %{_target_platform}