Drop patch to find polkit-qt5-1

epel8
Dan Vrátil 10 years ago
parent e74a976284
commit bb1ac56cf3

@ -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}

@ -14,8 +14,6 @@ URL: http://www.kde.org
#Source0: %{name}-%{version}-%{snapshot}git.tar.bz2 #Source0: %{name}-%{version}-%{snapshot}git.tar.bz2
Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz
Patch0: kauth-include-polkitqt.patch
BuildRequires: polkit-qt5-1-devel BuildRequires: polkit-qt5-1-devel
BuildRequires: kf5-rpm-macros BuildRequires: kf5-rpm-macros
@ -43,8 +41,6 @@ developing applications that use %{name}.
%prep %prep
%setup -q -n %{framework}-%{version} %setup -q -n %{framework}-%{version}
%patch0 -p1 -b .polkitqt
%build %build
mkdir -p %{_target_platform} mkdir -p %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}

Loading…
Cancel
Save