From a7079b01bd65cc93b333fbc717915cc1b1a83bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Sun, 5 Aug 2018 19:37:49 +0300 Subject: build.macros: allow redefinition of __brp_python_hardlink in __os_instal_post --- NEWS | 1 + build.macros.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index b1654ad..b4ac334 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ - fix python bytecompile in __os_instal_post as __brp_python_bytecompile is now defined by rpm upstream +- allow redefinition of __brp_python_hardlink in __os_instal_post Version 2.28 - 26 May 2018, by Jani Välimaa diff --git a/build.macros.in b/build.macros.in index 3b82f77..09fec9a 100644 --- a/build.macros.in +++ b/build.macros.in @@ -290,7 +290,7 @@ fi %__os_install_post \ %{?__spec_helper_post}%{?!__spec_helper_post:/usr/share/spec-helper/spec-helper} \ %{?__brp_python_bytecompile} - %{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \ + %{?__brp_python_hardlink}%{!?__brp_python_hardlink:/usr/lib/rpm/brp-python-hardlink} \ %{nil} -- cgit v1.2.1