X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=trust_router.spec;h=5b2e2641eeb0dc02243cef137f5a8869de9c1287;hb=7b8f06ede21c614637e8bdc322bac9a95a44996e;hp=39b229cd3a56039026c902dd5ee6cb03e394b897;hpb=4689fdfb8300cd1fbbf24ed58af15a4db97f1578;p=trust_router.git diff --git a/trust_router.spec b/trust_router.spec index 39b229c..5b2e264 100644 --- a/trust_router.spec +++ b/trust_router.spec @@ -1,6 +1,6 @@ %global optflags %{optflags} -Wno-parentheses Name: trust_router -Version: 1.5.1 +Version: 1.5.2 Release: 1%{?dist} Summary: Moonshot Trust Router @@ -10,9 +10,10 @@ URL: http://www.project-moonshot.org/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: krb5-devel , glib-devel +BuildRequires: krb5-devel, glib2-devel BuildRequires: jansson-devel >= 2.4 BuildRequires: sqlite-devel, openssl-devel, libtalloc-devel +%{?el7:BuildRequires: systemd} Requires: moonshot-gss-eap >= 0.9.3, sqlite %description @@ -93,7 +94,7 @@ exit 0 %post # Data directory tr_home=/var/lib/trust_router -tr_schema=${tr_home}/.schema_1.5.1 +tr_schema=${tr_home}/.schema_1.5.2 test -d ${tr_home} ||mkdir ${tr_home} chown trustrouter:trustrouter ${tr_home} test -e $tr_schema || rm -f $tr_home/keys @@ -114,11 +115,12 @@ chmod 770 /var/log/trust_router %doc README %{_bindir}/* %{_datadir}/trust_router/schema.sql -#/lib/systemd/system/tids.service %{_initrddir}/tids %{_initrddir}/trust_router +%{?el7:%{_unitdir}/tids.service} + %config(noreplace) %{_sysconfdir}/sysconfig/tids %config(noreplace) %{_sysconfdir}/sysconfig/trust_router