|
Bugzilla – Full Text Bug Listing |
| Summary: | rpmbuild prints error about Unknown option ? in suse_update_desktop_file | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Petr Mladek <pmladek> |
| Component: | Development | Assignee: | Michael Schröder <mls> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | thorsten.stettin |
| Version: | Beta 8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SuSE Linux 10.1 | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Petr Mladek
2006-02-23 12:33:48 UTC
Reassigned to Rudi. yes, I'll have to test it with "()" instead of "(:-:)" might even work with current rpm. nope, doesn't help: -error: Unknown option ? in suse_update_desktop_file(:-:) +suse_update_desktop_file: invalid option -- G +error: Unknown option ? in suse_update_desktop_file() we'll have to hack this into rpm probably ... Micha: any way to suppress the error message if the option string is ":-:" ? (In reply to comment #3) Hai! Using the macro from SuSE 10.0 solves the problem: The current macro definition %suse_update_desktop_file(:-:) \ /usr/lib/rpm/suse_update_desktop_file.sh %{**} || exit 1 \ %nil The old macro definition %suse_update_desktop_file(cinrud) \ /usr/lib/rpm/suse_update_desktop_file.sh %{**} || exit 1 \ %nil It seems to have something to do with ":-:" in the new macro definition. After changing the macro definition I had no problems anymore. BTW: What the hell does ":-:" mean? Regards otto06217 ":-:" is a getopt internal to pass all flags "as is"
it was used to avoid having to adapt the macro whenever a new option
to suse_update_desktop_file.sh is added.
using the new macro def now:
%suse_update_desktop_file(cinrudD:N:C:G:) \
/usr/lib/rpm/suse_update_desktop_file.sh %{-c:-c} %{-i:-i} %{-n:-n} \ %{-r:-r} %{-u:-u} %{-d:-d} %{-D:-D %{-D*}} %{-N:-N %{-N*}} %{-G:-G %{-G*}} \ %{-C:-C %{-C*}} %* || exit 1 \
%nil
|