Bug 2972 - macroize control?
: macroize control?
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/control)
: unstable
: all Linux
: P4 enhancement
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2003-09-12 00:21 by
Modified: 2005-07-13 15:45 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-09-12 00:21:31
/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 From 2003-09-22 00:31:56 -------
Could you suggest names for them, please? 
------- Comment #2 From 2003-10-29 17:25:38 -------
Implemented (slightly different) in control-0.6-alt2 
------- Comment #3 From 2003-11-02 22:55:30 -------
Thanks!