X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=trust_router.spec;h=40dcc68bfb1a405e3ab8ff126f96994ec6569e30;hb=12871263d1e0b6daf27ce7b3f9b6c240f9046832;hp=ddfee6e4548abfd2681961f155d487b3f6278a2d;hpb=001b0911fd812ba5923ae0eae80e2b9e06a5b8df;p=trust_router.git diff --git a/trust_router.spec b/trust_router.spec index ddfee6e..40dcc68 100644 --- a/trust_router.spec +++ b/trust_router.spec @@ -1,7 +1,7 @@ %global optflags %{optflags} -Wno-parentheses Name: trust_router -Version: 1.5.1 -Release: 2%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Moonshot Trust Router Group: System Environment/Libraries @@ -10,10 +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 -BuildRequires: systemd +BuildRequires: sqlite-devel, openssl-devel, libtalloc-devel, libevent-devel +%{?el7:BuildRequires: systemd} Requires: moonshot-gss-eap >= 0.9.3, sqlite %description @@ -43,7 +43,7 @@ packages that wish trust_router functionality. %prep %setup -q - +autoreconf -f -i %build %configure --disable-static @@ -94,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 @@ -113,13 +113,19 @@ chmod 770 /var/log/trust_router %files %defattr(-,root,root,-) %doc README +#%{_bindir}/tidc +#%{_bindir}/tidc-wrapper +#%{_bindir}/tids +#%{_bindir}/tids-wrapper +#%{_bindir}/trust_router +#%{_bindir}/trust_router-wrapper %{_bindir}/* %{_datadir}/trust_router/schema.sql %{_initrddir}/tids %{_initrddir}/trust_router -%{_unitdir}/tids.service +%{?el7:%{_unitdir}/tids.service} %config(noreplace) %{_sysconfdir}/sysconfig/tids %config(noreplace) %{_sysconfdir}/sysconfig/trust_router