diff --git a/mono-core.spec b/mono-core.spec index 5602557..ca76a29 100644 --- a/mono-core.spec +++ b/mono-core.spec @@ -278,9 +278,11 @@ make %install %make_install +%if 0%{?suse_version} > 1500 # install the rpm file attributes to arm the dependency scanner mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs install %{SOURCE3} %{buildroot}%{_rpmconfigdir}/fileattrs/mono.attr +%endif # Remove hardcoded lib directory from the config sed -i 's,\$mono_libdir/,,g' %{buildroot}%{_sysconfdir}/mono/config @@ -1298,7 +1300,11 @@ Mono development tools. %{_bindir}/mono-api-info %{_bindir}/mono-api-html %{_bindir}/mono-cil-strip + +%if 0%{?suse_version} > 1500 %{_rpmconfigdir}/fileattrs/mono.attr +%endif + %{_bindir}/mono-find-provides %{_bindir}/mono-find-requires %{_bindir}/mono-heapviz