summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-07-31 14:09:25 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-08-05 15:33:43 +0200
commit7dd51b427d4e5c047c831d82456a3d8769c30e04 (patch)
tree61416579ee3cfe86fec6d5fe106d4863c0934c3f
parent4b5c6ec89b74f5d37164f4e2544a36a32abcd075 (diff)
downloadsssd-1-12.tar.gz
sssd-1-12.tar.xz
sssd-1-12.zip
SPEC: Workaround for build with rpm 4.13sssd-1-12
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 <jhrozek@redhat.com>
-rw-r--r--contrib/sssd.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 2600438f3..0828bb8df 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -4,6 +4,9 @@
# we don't want to provide private python extension libs
%define __provides_exclude_from %{python_sitearch}/.*\.so$
+# workaround for rpm 4.13
+%define _empty_manifest_terminate_build 0
+
%if (0%{?fedora} || 0%{?rhel} >= 7)
%global use_systemd 1
%endif