forked from pool/mono-core
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
This commit is contained in:
parent
3e264b8f69
commit
af0d872e9e
@ -278,9 +278,11 @@ make
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
# install the rpm file attributes to arm the dependency scanner
|
# install the rpm file attributes to arm the dependency scanner
|
||||||
mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
|
mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
|
||||||
install %{SOURCE3} %{buildroot}%{_rpmconfigdir}/fileattrs/mono.attr
|
install %{SOURCE3} %{buildroot}%{_rpmconfigdir}/fileattrs/mono.attr
|
||||||
|
%endif
|
||||||
|
|
||||||
# Remove hardcoded lib directory from the config
|
# Remove hardcoded lib directory from the config
|
||||||
sed -i 's,\$mono_libdir/,,g' %{buildroot}%{_sysconfdir}/mono/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-info
|
||||||
%{_bindir}/mono-api-html
|
%{_bindir}/mono-api-html
|
||||||
%{_bindir}/mono-cil-strip
|
%{_bindir}/mono-cil-strip
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
%{_rpmconfigdir}/fileattrs/mono.attr
|
%{_rpmconfigdir}/fileattrs/mono.attr
|
||||||
|
%endif
|
||||||
|
|
||||||
%{_bindir}/mono-find-provides
|
%{_bindir}/mono-find-provides
|
||||||
%{_bindir}/mono-find-requires
|
%{_bindir}/mono-find-requires
|
||||||
%{_bindir}/mono-heapviz
|
%{_bindir}/mono-heapviz
|
||||||
|
Loading…
Reference in New Issue
Block a user