From d0d68f6728a59c24338529d0b4ebc6ab8e370624 Mon Sep 17 00:00:00 2001 From: Daniel Steiner Date: Fri, 22 Feb 2019 17:25:12 +0100 Subject: [PATCH] Now, RPM is built without build-id files --- fedora/SPECS/polemarch.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/fedora/SPECS/polemarch.spec b/fedora/SPECS/polemarch.spec index 8edab1a..0c81543 100644 --- a/fedora/SPECS/polemarch.spec +++ b/fedora/SPECS/polemarch.spec @@ -1,6 +1,12 @@ # Attention: Before you can build this package, you must install venvctrl package through pip: # pip install venvctrl +# Globals +%global __os_install_post %{nil} +# prevents the building of /usr/lib/.build-id directories and files: +# this only happens, if you are using python virtualenv +%global _build_id_links none + # Macros %define name polemarch %define shortname polemarch @@ -12,8 +18,6 @@ %define __prelink_undo_cmd %{nil} %define _binaries_in_noarch_packages_terminate_build 0 %define unmangled_version %{version} -# Globals -%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') Name: %{name} Version: %{version}