>From 4599b88989ee56343c25554b3198689279d2be0a Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Fri, 31 Jul 2015 14:09:25 +0200 Subject: [PATCH] SPEC: Workaround for build with rpm 4.13 If the tarball is generated with minimal dependencies extracted from spec file then translated manual pages are not generated due to missing script po4a. This step is not necessary for regular nightly/developer builds. The tarball is created faster without such step. However rpm >= 4.13 will fail due to empty manifest file. Resolves: https://fedorahosted.org/sssd/ticket/2738 --- contrib/sssd.spec.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 0606e5e4f6a2f5ff7677b1e142816e459bb5805a..5ca26495bf5cd21da0f652d8f5ff78aa3b0c9067 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -12,6 +12,9 @@ %define __provides_exclude_from %{python2_sitearch}/.*\.so$ %define __provides_exclude_from %{python3_sitearch}/.*\.so$ +# workaround for rpm 4.13 +%define _empty_manifest_terminate_build 0 + %if (0%{?fedora} || 0%{?rhel} >= 7) %global use_systemd 1 %endif -- 2.4.6