Now, RPM is built without build-id files

This commit is contained in:
2019-02-22 17:25:12 +01:00
parent 6dfa3ad4f3
commit d0d68f6728

View File

@@ -1,6 +1,12 @@
# Attention: Before you can build this package, you must install venvctrl package through pip: # Attention: Before you can build this package, you must install venvctrl package through pip:
# pip install venvctrl # 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 # Macros
%define name polemarch %define name polemarch
%define shortname polemarch %define shortname polemarch
@@ -12,8 +18,6 @@
%define __prelink_undo_cmd %{nil} %define __prelink_undo_cmd %{nil}
%define _binaries_in_noarch_packages_terminate_build 0 %define _binaries_in_noarch_packages_terminate_build 0
%define unmangled_version %{version} %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} Name: %{name}
Version: %{version} Version: %{version}