From 3212b226851e9ebecc1b5523afac4e6694154358 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 11 Oct 2016 11:58:18 -0500 Subject: [PATCH] patch to find /usr/libexec/utempter/utempter --- kf5-kpty.spec | 8 +++++++- kpty-5.27.0-utempter_path.patch | 11 +++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 kpty-5.27.0-utempter_path.patch diff --git a/kf5-kpty.spec b/kf5-kpty.spec index 1cf81b1..8b59824 100755 --- a/kf5-kpty.spec +++ b/kf5-kpty.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.27.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: KDE Frameworks 5 Tier 2 module providing Pty abstraction License: LGPLv2+ and GPLv2+ @@ -17,6 +17,9 @@ URL: https://quickgit.kde.org/?p=%{framework}.git %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz +## upstreamable patches +Patch100: kpty-5.27.0-utempter_path.patch + BuildRequires: extra-cmake-modules >= %{version} BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: kf5-kcoreaddons-devel >= %{version} @@ -76,6 +79,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %changelog +* Tue Oct 11 2016 Rex Dieter - 5.27.0-3 +- patch to find /usr/libexec/utempter/utempter + * Fri Oct 07 2016 Rex Dieter - 5.27.0-2 - respin, Requieres: libutempter diff --git a/kpty-5.27.0-utempter_path.patch b/kpty-5.27.0-utempter_path.patch new file mode 100644 index 0000000..5fe0813 --- /dev/null +++ b/kpty-5.27.0-utempter_path.patch @@ -0,0 +1,11 @@ +diff -up kpty-5.27.0/cmake/FindUTEMPTER.cmake.utempter kpty-5.27.0/cmake/FindUTEMPTER.cmake +--- kpty-5.27.0/cmake/FindUTEMPTER.cmake.utempter 2016-10-06 15:57:41.000000000 -0500 ++++ kpty-5.27.0/cmake/FindUTEMPTER.cmake 2016-10-11 11:57:04.624010919 -0500 +@@ -36,6 +36,7 @@ find_program (UTEMPTER_EXECUTABLE utempt + ${KDE_INSTALL_FULL_LIBEXECDIR}/utempter + ${KDE_INSTALL_FULL_LIBDIR}/utempter + /usr/libexec/utempter ++ /usr/libexec/utempter/utempter + ) + + if (UTEMPTER_EXECUTABLE)