From 23f7993294ff99363d10a55e2ef19289bd2aad66 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Tue, 28 Jun 2011 22:08:51 +0000 Subject: [PATCH] Use PreReq for schemas, add root back to file ownership --- shibboleth.spec.in | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/shibboleth.spec.in b/shibboleth.spec.in index 5b37ddc..2c359d1 100644 --- a/shibboleth.spec.in +++ b/shibboleth.spec.in @@ -1,14 +1,15 @@ Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: 1 -Summary: Open source system for attribute-based Web SSO +Summary: Open source system for attribute-based Web SSO Group: Productivity/Networking/Security -Vendor: Internet2 +Vendor: Internet2 License: Apache 2.0 URL: http://shibboleth.internet2.edu/ -Source: %{name}-sp-%{version}.tar.gz +Source: %{name}-sp-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root -Requires: openssl, xmltooling-schemas, opensaml-schemas +Requires: openssl +PreReq: xmltooling-schemas, opensaml-schemas %if 0%{?suse_version} > 1030 && 0%{?suse_version} < 1130 PreReq: %{insserv_prereq} BuildRequires: libXerces-c-devel >= 2.8.0 @@ -214,7 +215,7 @@ cd / %dir %{_libdir}/%{name} %{_libdir}/%{name}/* %exclude %{_libdir}/%{name}/*.la -%attr(0750,-,-) %dir %{_localstatedir}/log/%{name} +%attr(0750,root,root) %dir %{_localstatedir}/log/%{name} %dir %{_localstatedir}/run/%{name} %dir %{_datadir}/xml/%{name} %{_datadir}/xml/%{name}/* @@ -231,8 +232,8 @@ cd / %{_sysconfdir}/%{name}/*.dist %{_sysconfdir}/%{name}/apache*.config %{_sysconfdir}/%{name}/shibd-* -%attr(755,-,-) %{_sysconfdir}/%{name}/keygen.sh -%attr(755,-,-) %{_sysconfdir}/%{name}/metagen.sh +%attr(0755,root,root) %{_sysconfdir}/%{name}/keygen.sh +%attr(0755,root,root) %{_sysconfdir}/%{name}/metagen.sh %{_sysconfdir}/%{name}/*.xsl %doc %{pkgdocdir} %exclude %{pkgdocdir}/api -- 2.1.4