From b7487e73d61bdf1860599180451ef1fc1b7610b3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Nov 16 2021 14:43:23 +0000 Subject: remove libdir rpath from bindir/kkc to fix FTBFS (#1987650) --- diff --git a/libkkc.spec b/libkkc.spec index 4299e5b..a5cd58f 100644 --- a/libkkc.spec +++ b/libkkc.spec @@ -2,7 +2,7 @@ Name: libkkc Version: 0.3.5 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Japanese Kana Kanji conversion library License: GPLv3+ @@ -24,6 +24,7 @@ BuildRequires: intltool BuildRequires: python3-devel BuildRequires: python3-marisa BuildRequires: make +BuildRequires: chrpath Requires: skkdic Requires: %{name}-data >= %{dataversion} @@ -84,6 +85,9 @@ make check find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +# https://bugzilla.redhat.com/show_bug.cgi?id=1987650 +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/kkc + %find_lang %{name} @@ -111,6 +115,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %changelog +* Tue Nov 16 2021 Jens Petersen - 0.3.5-21 +- delete the libdir rpath in the kkc executable for FTBFS (#1987650) + * Thu Jul 22 2021 Fedora Release Engineering - 0.3.5-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild @@ -272,4 +279,3 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' * Thu Jan 24 2013 Daiki Ueno - 0.0.1-1 - initial packaging -