From 1b1e4060db7bf5e1f96890bf2052704d4b99d643 Mon Sep 17 00:00:00 2001 From: Haikel Guemar Date: Sep 03 2015 11:21:37 +0000 Subject: Workaround to fix FTFBS in Fedora older than F24 --- diff --git a/subunit.spec b/subunit.spec index 5989cb5..f0a06fc 100644 --- a/subunit.spec +++ b/subunit.spec @@ -2,6 +2,15 @@ %global with_py3 1 %endif +# FIXME: workaround to prevent FTBFS on older Fedora +%if 0%{?fedora} && 0%{?fedora} < 24 +%global __os_install_post /usr/lib/rpm/brp-compress \ + %{!?__debug_package:/usr/lib/rpm/brp-strip %{__strip}} \ + /usr/lib/rpm/brp-strip-static-archive %{__strip} \ + /usr/lib/rpm//brp-strip-comment-note %{__strip} %{__objdump} \ + /usr/lib/rpm/brp-python-hardlink +%endif + Name: subunit Version: 1.1.0 Release: 5%{?dist}