SHA256
1
0
forked from pool/mono-core
Ismail Dönmez 2013-03-06 14:19:56 +00:00 committed by Git OBS Bridge
parent 4e45c32909
commit 13890efb43
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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