From: Scott Cantor Date: Fri, 9 Nov 2007 05:01:36 +0000 (+0000) Subject: Handle conditional test inclusion. X-Git-Tag: 2.0-beta2~10 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=commitdiff_plain;h=4bd39bb4a522b633f527bae55e204d9bc5aadf9e Handle conditional test inclusion. --- diff --git a/opensaml.spec.in b/opensaml.spec.in index 449d2f9..a9dadca 100644 --- a/opensaml.spec.in +++ b/opensaml.spec.in @@ -1,14 +1,15 @@ Name: opensaml Summary: Open source SAML library Version: @-VERSION-@ -Release: 3 +Release: 4 Group: System Environment/Libraries Vendor: Internet2 License: Apache 2.0 URL: http://www.opensaml.org/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: xerces%{?xercesver}-c-devel >= 2.8.0, xml-security-c-devel >= 1.4.0 +BuildRequires: xerces%{?xercesver}-c-devel >= 2.8.0 +BuildRequires: xml-security-c-devel >= 1.4.0 BuildRequires: xmltooling-devel %{?_with_log4cpp:BuildRequires: log4cpp-devel >= 1.0} %{!?_with_log4cpp:BuildRequires: log4shib-devel} @@ -51,6 +52,8 @@ OpenSAML Library API documentation generated by doxygen. %install [ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT/%{_bindir} -type f | + %{__sed} -e "s|$RPM_BUILD_ROOT||" | sort > rpm.binlist %check || : %{__make} check @@ -66,13 +69,11 @@ OpenSAML Library API documentation generated by doxygen. %postun -p /sbin/ldconfig %endif -%files +%files -f rpm.binlist %defattr(-,root,root,-) -%{_bindir}/samlsign %{_libdir}/libsaml.so.* %dir %{_datadir}/xml/%{name} %{_datadir}/xml/%{name} -%exclude %{_bindir}/samltest %docdir %{_datadir}/doc/%{name} %{_datadir}/doc/%{name}/LICENSE.txt %{_datadir}/doc/%{name}/NOTICE.txt @@ -88,6 +89,9 @@ OpenSAML Library API documentation generated by doxygen. %doc %{_datadir}/doc/%{name}/api %changelog +* Thu Nov 08 2007 Scott Cantor - 2.0-4 +- Second public beta. + * Thu Aug 16 2007 Scott Cantor - 2.0-3 - First public beta.