From 85fe1601d3578eef9d244e860b9881347a112859 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Aug 05 2015 09:40:00 +0000 Subject: 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 Reviewed-by: Jakub Hrozek --- diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 0606e5e..5ca2649 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