Bug 2972 - macroize control?
Summary: macroize control?
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: control (show other bugs)
Version: unstable
Hardware: all Linux
: P4 enhancement
Assignee: Dmitry V. Levin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-12 00:21 MSD by Michael Shigorin
Modified: 2005-07-13 15:45 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2003-09-12 00:21:31 MSD
/etc/rpm/macros/d/control could implement several useful macros:

%_sysconfdir/control.d/facilities/ (at least; or even
%_sysconfdir/control.d/facilities/%name ?)

[ $1 -eq 1 ] || /usr/sbin/control-dump %name

if [ $1 -ge 2 ]; then
        /usr/sbin/control-restore %name
else
        /usr/sbin/control %name public
fi
Comment 1 Dmitry V. Levin 2003-09-22 00:31:56 MSD
Could you suggest names for them, please? 
Comment 2 Dmitry V. Levin 2003-10-29 17:25:38 MSK
Implemented (slightly different) in control-0.6-alt2 
Comment 3 Michael Shigorin 2003-11-02 22:55:30 MSK
Thanks!