rpmds.h | rpmds.h | |||
---|---|---|---|---|
skipping to change at line 75 | skipping to change at line 75 | |||
RPMSENSE_SCRIPT_PRE | \ | RPMSENSE_SCRIPT_PRE | \ | |||
RPMSENSE_SCRIPT_POST | \ | RPMSENSE_SCRIPT_POST | \ | |||
RPMSENSE_SCRIPT_PREUN | \ | RPMSENSE_SCRIPT_PREUN | \ | |||
RPMSENSE_SCRIPT_POSTUN | \ | RPMSENSE_SCRIPT_POSTUN | \ | |||
RPMSENSE_SCRIPT_VERIFY | \ | RPMSENSE_SCRIPT_VERIFY | \ | |||
RPMSENSE_FIND_REQUIRES | \ | RPMSENSE_FIND_REQUIRES | \ | |||
RPMSENSE_RPMLIB | \ | RPMSENSE_RPMLIB | \ | |||
RPMSENSE_KEYRING | \ | RPMSENSE_KEYRING | \ | |||
RPMSENSE_PRETRANS | \ | RPMSENSE_PRETRANS | \ | |||
RPMSENSE_POSTTRANS | \ | RPMSENSE_POSTTRANS | \ | |||
RPMSENSE_PREREQ) | RPMSENSE_PREREQ | \ | |||
RPMSENSE_MISSINGOK) | ||||
#define _notpre(_x) ((_x) & ~RPMSENSE_PREREQ) | #define _notpre(_x) ((_x) & ~RPMSENSE_PREREQ) | |||
#define _INSTALL_ONLY_MASK \ | #define _INSTALL_ONLY_MASK \ | |||
_notpre(RPMSENSE_SCRIPT_PRE|RPMSENSE_SCRIPT_POST|RPMSENSE_RPMLIB|RPMSEN SE_KEYRING|RPMSENSE_PRETRANS|RPMSENSE_POSTTRANS) | _notpre(RPMSENSE_SCRIPT_PRE|RPMSENSE_SCRIPT_POST|RPMSENSE_RPMLIB|RPMSEN SE_KEYRING|RPMSENSE_PRETRANS|RPMSENSE_POSTTRANS) | |||
#define _ERASE_ONLY_MASK \ | #define _ERASE_ONLY_MASK \ | |||
_notpre(RPMSENSE_SCRIPT_PREUN|RPMSENSE_SCRIPT_POSTUN) | _notpre(RPMSENSE_SCRIPT_PREUN|RPMSENSE_SCRIPT_POSTUN) | |||
#define isLegacyPreReq(_x) (((_x) & _ALL_REQUIRES_MASK) == RPMSENSE _PREREQ) | #define isLegacyPreReq(_x) (((_x) & _ALL_REQUIRES_MASK) == RPMSENSE _PREREQ) | |||
#define isInstallPreReq(_x) ((_x) & _INSTALL_ONLY_MASK) | #define isInstallPreReq(_x) ((_x) & _INSTALL_ONLY_MASK) | |||
#define isErasePreReq(_x) ((_x) & _ERASE_ONLY_MASK) | #define isErasePreReq(_x) ((_x) & _ERASE_ONLY_MASK) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||