From af0d872e9ee21b2c48db3f4b2f704487f07e7b3820b35489fef5f053e643ab01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Fri, 15 May 2020 18:24:57 +0000 Subject: [PATCH] Accepting request 805762 from home:lemmy04:branches:Mono:Factory both Leap 15.1 and the upcoming Leap 15.2 still have that mono.attr file as part of rpm, so at least for those mono can't have the file. OBS-URL: https://build.opensuse.org/request/show/805762 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=208 --- mono-core.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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