X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=trust_router.spec;h=098779d36a4fcdaa98b83f6d9e77891926df1281;hb=83419eca8f3e8f520a3b3ddf28034d15ade33a1f;hp=8a0cef3337394148464346bf4a148afdc5c617a4;hpb=5aeb22471d8d6d4a6c2348af8b221a8ff9b62184;p=trust_router.git diff --git a/trust_router.spec b/trust_router.spec index 8a0cef3..098779d 100644 --- a/trust_router.spec +++ b/trust_router.spec @@ -13,7 +13,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: krb5-devel, glib2-devel BuildRequires: jansson-devel >= 2.4 BuildRequires: sqlite-devel, openssl-devel, libtalloc-devel -BuildRequires: systemd +%{?el7:BuildRequires: systemd} Requires: moonshot-gss-eap >= 0.9.3, sqlite %description @@ -119,7 +119,7 @@ chmod 770 /var/log/trust_router %{_initrddir}/tids %{_initrddir}/trust_router -%{_unitdir}/tids.service +%{?el7:%{_unitdir}/tids.service} %config(noreplace) %{_sysconfdir}/sysconfig/tids %config(noreplace) %{_sysconfdir}/sysconfig/trust_router