X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=shibboleth.spec.in;h=2b8358bc9c89c3132f75946ee9f3417afdbf9552;hb=0be30f99443afe2e68b02d629856b3dca8be7cf1;hp=8edd2a8b155e728e792eac2730e63c70bbae3a33;hpb=041526672230ca756fea5e4caca7234e002ca64d;p=shibboleth%2Fsp.git diff --git a/shibboleth.spec.in b/shibboleth.spec.in index 8edd2a8..2b8358b 100644 --- a/shibboleth.spec.in +++ b/shibboleth.spec.in @@ -1,7 +1,7 @@ Name: shibboleth Summary: Open source system to enable inter-institutional resource sharing Version: @-VERSION-@ -Release: 5 +Release: 6 #Copyright: Internet2 Group: System Environment/Libraries License: Apache style @@ -66,7 +66,7 @@ Shibboleth Library API documentation generated by doxygen. %install [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT +%{__make} install NOKEYGEN=1 DESTDIR=$RPM_BUILD_ROOT %if "%{_vendor}" == "suse" %{__sed} -i "s/\/var\/log\/httpd/\/var\/log\/apache2/g" \ @@ -130,6 +130,10 @@ fi fi %endif +# Key generation +cd %{_sysconfdir}/%{name} +sh ./keygen.sh -b + %postun %ifnos solaris2.8 solaris2.9 solaris2.10 /sbin/ldconfig @@ -172,6 +176,7 @@ fi %{_sysconfdir}/%{name}/shibd-redhat %{_sysconfdir}/%{name}/shibd-debian %{_sysconfdir}/%{name}/shibd-osx.plist +%{_sysconfdir}/%{name}/keygen.sh %docdir %{_datadir}/doc/%{name} %{_datadir}/doc/%{name}/CREDITS.txt %{_datadir}/doc/%{name}/FASTCGI.LICENSE