From fc33f5b3fa964d8eb7ced8b24150bf93717d392f Mon Sep 17 00:00:00 2001 From: Steven A. Falco Date: Jun 02 2021 23:07:47 +0000 Subject: Remove illegal/invalid RPATH --- diff --git a/kicad.spec b/kicad.spec index 293bbb3..b53b159 100644 --- a/kicad.spec +++ b/kicad.spec @@ -1,6 +1,6 @@ Name: kicad Version: 5.1.10 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Summary: EDA software suite for creation of schematic diagrams and PCBs @@ -21,6 +21,7 @@ Patch1: 0001-Do-not-strip-executables.patch ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64le BuildRequires: cmake +BuildRequires: chrpath BuildRequires: desktop-file-utils BuildRequires: doxygen BuildRequires: gcc-c++ @@ -140,6 +141,12 @@ popd # KiCad application %cmake_install +# Binaries must be executable to be detected by find-debuginfo.sh +chmod +x %{buildroot}%{_prefix}/lib/python%{python3_version}/site-packages/_pcbnew.so + +# Binaries are not allowed to contain rpaths +chrpath --delete %{buildroot}%{_prefix}/lib/python%{python3_version}/site-packages/_pcbnew.so + # Localization pushd %{name}-i18n-%{version}/build/ %cmake_install @@ -212,6 +219,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata %changelog +* Wed Jun 02 2021 Steven A. Falco - 1:5.1.10-3 +- Remove illegal rpath + * Fri May 28 2021 Steven A. Falco - 1:5.1.10-2 - Remove provides and obsoletes