forked from pool/mono-core
-
OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=107
This commit is contained in:
parent
4e45c32909
commit
13890efb43
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 14:10:35 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- Remove hardcoded lib directory from the config, this unbreaks
|
||||
running GDI+ programs on 64bit.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 24 21:12:42 UTC 2013 - mailaender@opensuse.org
|
||||
|
||||
|
@ -155,28 +155,38 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# Remove hardcoded lib directory from the config
|
||||
sed -i s,%{_prefix}/lib/,,g %{buildroot}%{_sysconfdir}/mono/config
|
||||
|
||||
# remove .la files (they are generally bad news)
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
# remove Windows-only stuff
|
||||
rm -rf %{buildroot}%{_prefix}/lib/mono/*/Mono.Security.Win32*
|
||||
rm -f %{buildroot}%{_libdir}/libMonoSupportW.*
|
||||
|
||||
# remove .a files for libraries that are really only for us
|
||||
rm -f %{buildroot}%{_libdir}/libMonoPosixHelper.a
|
||||
rm -f %{buildroot}%{_libdir}/libikvm-native.a
|
||||
rm -f %{buildroot}%{_libdir}/libmono-llvm.a
|
||||
|
||||
# remove libgc cruft
|
||||
rm -rf %{buildroot}%{_datadir}/libgc-mono
|
||||
|
||||
# remove stuff that we don't package
|
||||
rm -f %{buildroot}%{_bindir}/cilc
|
||||
rm -f %{buildroot}%{_mandir}/man1/cilc.1*
|
||||
rm -f %{buildroot}%{_prefix}/lib/mono/*/browsercaps-updater.exe*
|
||||
rm -f %{buildroot}%{_prefix}/lib/mono/*/culevel.exe*
|
||||
rm -f %{buildroot}%{_prefix}/lib/mono/2.0/cilc.exe*
|
||||
|
||||
# brp-compress doesn't search _mandir
|
||||
# so we cheat it
|
||||
ln -s . %{buildroot}%{_prefix}%{_prefix}
|
||||
RPM_BUILD_ROOT=%{buildroot}%{_prefix} /usr/lib/rpm/brp-compress
|
||||
rm %{buildroot}%{_prefix}%{_prefix}
|
||||
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%find_lang mcs
|
||||
%if %sgen == no
|
||||
|
Loading…
Reference in New Issue
Block a user