To get the RPMs to
build on S390 I need to make the following changes to the spec file.
---
mono-orig.spec 2003-02-19 14:46:59.000000000
-0500
+++ mono.spec 2003-01-24 16:30:52.000000000 -0500
@@ -35,10 +35,11 @@
+++ mono.spec 2003-01-24 16:30:52.000000000 -0500
@@ -35,10 +35,11 @@
%install
rm -rf %{buildroot}
(cd mono*;
%makeinstall
+cp mono/interpreter/mint %{buildroot}/usr/bin/mono
)
rm -rf %{buildroot}
(cd mono*;
%makeinstall
+cp mono/interpreter/mint %{buildroot}/usr/bin/mono
)
%clean
rm -rf %{buildroot}
rm -rf %{buildroot}
@@ -57,11
+58,11
@@
%{_bindir}/monosn
%{_bindir}/mint
%{_bindir}/mcs
%{_bindir}/mcs.exe
%{_bindir}/monoresgen.exe
-%{_libdir}/*.so.*
+# %{_libdir}/*.so.*
%{_libdir}/*.dll
%{_mandir}/man1/mono.*
%{_mandir}/man1/mcs.*
%{_mandir}/man1/monostyle.*
%{_mandir}/man1/monoburg.*
@@ -69,12 +70,12 @@
%{_mandir}/man1/mint.*
%{_mandir}/man5/*
%{_bindir}/monosn
%{_bindir}/mint
%{_bindir}/mcs
%{_bindir}/mcs.exe
%{_bindir}/monoresgen.exe
-%{_libdir}/*.so.*
+# %{_libdir}/*.so.*
%{_libdir}/*.dll
%{_mandir}/man1/mono.*
%{_mandir}/man1/mcs.*
%{_mandir}/man1/monostyle.*
%{_mandir}/man1/monoburg.*
@@ -69,12 +70,12 @@
%{_mandir}/man1/mint.*
%{_mandir}/man5/*
%files devel
%defattr(-, root, root)
-%{_libdir}/*.a
-%{_libdir}/*.la
-%{_libdir}/*.so
+# %{_libdir}/*.a
+# %{_libdir}/*.la
+# %{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_datadir}/%{name}/*
%defattr(-, root, root)
-%{_libdir}/*.a
-%{_libdir}/*.la
-%{_libdir}/*.so
+# %{_libdir}/*.a
+# %{_libdir}/*.la
+# %{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_includedir}/*
%{_datadir}/%{name}/*
How can I
incorporate these changes to the base spec files? I tried doing things
like:
#ifnarch
s390
%{_libdir}/*.so
#endif
But it didn't appear
to work.
Neale Ferguson
R&D Fellow
Software AG
Ferguson, Neale.vcf
Description: Binary data
