X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2Flustre.spec.in;h=6161778c7a1f28520717e867892b55cf6ebdb5f1;hp=3345eacf5eec9763c6775d71c29be5271953a065;hb=8b614f2095e84caf6160fcd1f7d861ee6afa0310;hpb=94c07aa7fbec47d5d07bdad49c330a33af0134b4 diff --git a/build/lustre.spec.in b/build/lustre.spec.in index 3345eac..6161778 100644 --- a/build/lustre.spec.in +++ b/build/lustre.spec.in @@ -10,8 +10,8 @@ License: GPL Group: Utilities/System Source: lustre-%{version}.tar.gz URL: http://clusterfs.com/ -BuildRoot: /var/tmp/lustre-%{version}-root -Obsoletes: lustre-lite, lustre-lite-utils, lustre-ldap +BuildRoot: %{_tmppath}/lustre-%{version}-root +Obsoletes: lustre-lite, lustre-lite-utils, lustre-ldap nfs-utils-lustre Provides: lustre-lite = %{version}, lustre-lite-utils = %{version} %description @@ -125,6 +125,10 @@ if [ -f $RPM_BUILD_ROOT%{_libdir}/liblustre.so ] ; then echo '%attr(-, root, root) %{_libdir}/liblustre.so' >>lustre.files fi +if [ -f $RPM_BUILD_DIR/lustre-%{version}/lustre/utils/libiam.c ] ; then + echo '%attr(-, root, root) %{_libdir}/libiam.a' >>lustre.files +fi + if [ -d $RPM_BUILD_ROOT%{_libdir}/lustre/snmp ] ; then echo '%attr(-, root, root) %{_libdir}/lustre/snmp' >>lustre.files echo '%attr(-, root, root) %{_datadir}/lustre/snmp/mibs' >>lustre.files