1
1

%defattr actually takes a 4th parameter

This commit was SVN r9910.
Этот коммит содержится в:
Jeff Squyres 2006-05-12 11:03:01 +00:00
родитель 0d092abb81
Коммит 33e6d986be

8
contrib/dist/linux/openmpi.spec поставляемый
Просмотреть файл

@ -414,7 +414,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
# #
%files %files
%defattr(-, root, root) %defattr(-, root, root, -)
%{_prefix} %{_prefix}
# If we're not installing in /opt, then the prefix is /usr, but the # If we're not installing in /opt, then the prefix is /usr, but the
# sysconfdir is /etc -- so list them both. Otherwise, we install in # sysconfdir is /etc -- so list them both. Otherwise, we install in
@ -448,7 +448,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
# #
%files runtime -f runtime.files %files runtime -f runtime.files
%defattr(-, root, root) %defattr(-, root, root, -)
%dir %{_prefix} %dir %{_prefix}
# If we're not installing in /opt, then the prefix is /usr, but the # If we're not installing in /opt, then the prefix is /usr, but the
# sysconfdir is /etc -- so list them both. Otherwise, we install in # sysconfdir is /etc -- so list them both. Otherwise, we install in
@ -482,7 +482,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%{_bindir}/orted %{_bindir}/orted
%files devel -f devel.files %files devel -f devel.files
%defattr(-, root, root) %defattr(-, root, root, -)
%{_includedir} %{_includedir}
%{_bindir}/mpicc %{_bindir}/mpicc
%{_bindir}/mpiCC %{_bindir}/mpiCC
@ -497,7 +497,7 @@ test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
# (e.g., foo.1.gz or foo.1.bz2) -- and we therefore don't know the # (e.g., foo.1.gz or foo.1.bz2) -- and we therefore don't know the
# exact filenames. # exact filenames.
%files docs %files docs
%defattr(-, root, root) %defattr(-, root, root, -)
%{_mandir} %{_mandir}
%endif %endif