Bug 3426 - [FR] %post_control one-line usage description would be nice
Summary: [FR] %post_control one-line usage description would be nice
Status: ASSIGNED
Alias: None
Product: Sisyphus
Classification: Development
Component: control (show other bugs)
Version: unstable
Hardware: all Linux
: P5 enhancement
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 17:16 MSK by Michael Shigorin
Modified: 2008-01-20 02:09 MSK (History)
3 users (show)

See Also:


Attachments
control.txt (6.39 KB, text/plain)
2007-11-10 22:08 MSK, Michael Shigorin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 :)