https://bugzilla.novell.com/show_bug.cgi?id=325313

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=325313#c7





--- Comment #7 from Wade Berrier <[EMAIL PROTECTED]>  2008-04-18 11:08:31 MST 
---
I don't know of any way to automatically provide architecture information to
the mono-find-requires script.

What you could do though is provide an env variable, ie, IGNORE_CONFIG_SCAN,
and we could make that section conditional on that var.

For all my .spec files, I do:

%define __find_provides env sh -c 'filelist=($(grep -v SharpZipLib)) && {
printf "%s\\n" "[EMAIL PROTECTED]" | /usr/lib/rpm/find-provides && printf 
"%s\\n"
"[EMAIL PROTECTED]" | /usr/bin/mono-find-provides ; } | sort | uniq'

%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n"
"[EMAIL PROTECTED]" | /usr/lib/rpm/find-requires && printf "%s\\n"
"[EMAIL PROTECTED]" | /usr/bin/mono-find-requires ; } | sort | uniq'

You may be able to use this in only your noarch .spec files:

%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n"
"[EMAIL PROTECTED]" | /usr/lib/rpm/find-requires && printf "%s\\n"
"[EMAIL PROTECTED]" | IGNORE_CONFIG_SCAN=1 /usr/bin/mono-find-requires ; } | 
sort
| uniq'


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to