[Mono-bugs] [Bug 545858] RPMs build using monovs on SLES w/Mono-X do not pick up mono-addon RPMs as dependencies.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Oct 13 17:26:09 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=545858
User mchristensen at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=545858#c3
--- Comment #3 from Marc Christensen <mchristensen at novell.com> 2009-10-13 15:25:59 MDT ---
So we've talked a bit about what needs to happen here. Here are a few ideas
and/or points we talked about:
1) We need to ask at build time or possibly have an option in the advanced tab
where the user can specify what the target runtime platform for the RPM is
(SLE/RHEL, openSUSE, etc.)
2) Andrew was going to look into seeing if logical OR statements could be used
in Requires: field. Turns out that they can't which makes a universal RPM
impossible.
3) Runtime scripts need to be added which dynamically determine if
/opt/novell/mono/bin/mono-addon-environment.sh exists and if so, we're on
Mono-X and to set the environment to differently.
Something like this (all on one line, '\' escapes a carriage return):
#!/bin/sh
[ -e /opt/novell/mono/bin/mono-addon-environment.sh ] && \
source /opt/novell/mono/bin/mono-addon-environment.sh
# Rest of code for start up here...
4) Different spec templates could be used for the different platforms.
Anything I left out???
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list