Bug 3426

Summary: [FR] %post_control one-line usage description would be nice
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: controlAssignee: Dmitry V. Levin <ldv>
Status: ASSIGNED --- QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P5 CC: ldv, mithraen, placeholder
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
control.txt none

Description Michael Shigorin 2004-01-04 17:16:52 MSK
It would be very nice to see an inline example in /etc/rpm/macros.d/control so
as not to guess the way macro parameters get substituted; like:

%post_control -s wheelonly %name x%name

Thanks for the macro itself, my specs bloat begins to decrease once more :)
Comment 1 Michael Shigorin 2006-09-27 22:56:06 MSD
btw, there's http://wiki.sisyphus.ru/devel/control/print developer's docs page now
Comment 2 Dmitry V. Levin 2007-09-11 20:48:08 MSD
I'd like to include it in
%doc devel.txt
form but links -dump form is not suitable.
Comment 3 Michael Shigorin 2007-09-17 13:20:39 MSD
well, %doc README.html would be better than nothing...

2 mithraen: severely broken page headers on f.i:
  <meta http-equiv="content-type" content="text/html; charset=" />
Comment 4 Michael Shigorin 2007-11-10 22:08:57 MSK
Created attachment 2261 [details]
control.txt

This more or less worked:

lynx -assume_charset windows-1251 -dump
http://www.freesource.info/wiki/ALTLinux/Sisyphus/devel/control/print

or

links2 -codepage koi8-r -html-assume-codepage windows-1251 -dump
http://www.freesource.info/wiki/ALTLinux/Sisyphus/devel/control/print

Attaching the latter (somewhat fixed by hand, textareas broke).
Comment 5 Michael Shigorin 2007-11-10 22:10:32 MSK
whoops, s/\[IMG\]//g would be nice :o)
Comment 6 Michael Shigorin 2008-01-20 02:09:51 MSK
Er, so are we comfortable with a few-liner and an attach?  Hope to see that
included in 4.1 to be a bit more developer-friendly yet :)