From 09f09c24188f04ea98d0a4a4d4f0e71a92792788 Mon Sep 17 00:00:00 2001 From: bruno Date: May 27 2016 21:32:02 +0000 Subject: Build Require systemd to get macros defined In f24 and later, we were no longer pulling systemd into the build root which resulted in %{_tmpfilesdir} and %{_unitdir} not being defined, which cause builds to fail. We should only need to exclude this from RHEL, though it will be redundant for RHEL7 and older Fedoras. --- diff --git a/files/pagure.spec b/files/pagure.spec index e32428d..e1c215f 100644 --- a/files/pagure.spec +++ b/files/pagure.spec @@ -49,6 +49,7 @@ Requires: python-sqlalchemy0.8 %else BuildRequires: python-sqlalchemy > 0.8 Requires: python-sqlalchemy > 0.8 +BuildRequires: systemd %endif Requires: py-bcrypt