diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-18 11:04:14 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-18 12:07:35 +0200 |
commit | 0850d30edca55ee96d0b1d658f756163e91b5603 (patch) | |
tree | a0f30ef971d88d64dd5642fa302b3f1452d782e6 /URPM.xs | |
parent | 6e128db1e5f5a817dfa807e765abe758c6eebd84 (diff) | |
download | perl-URPM-0850d30edca55ee96d0b1d658f756163e91b5603.tar perl-URPM-0850d30edca55ee96d0b1d658f756163e91b5603.tar.gz perl-URPM-0850d30edca55ee96d0b1d658f756163e91b5603.tar.bz2 perl-URPM-0850d30edca55ee96d0b1d658f756163e91b5603.tar.xz perl-URPM-0850d30edca55ee96d0b1d658f756163e91b5603.zip |
restore rpm-4.11.x compatibility
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -119,6 +119,14 @@ typedef struct s_Package* URPM__Package; #define FILTER_MODE_DOC_FILES 1 #define FILTER_MODE_CONF_FILES 2 +#ifdef RPM4_11_0 +#ifndef RPM4_12_0 +#define RPMTAG_RECOMMENDNAME RPMTAG_SUGGESTSNAME +#define RPMTAG_RECOMMENDFLAGS RPMTAG_SUGGESTSFLAGS +#define RPMTAG_RECOMMENDVERSION RPMTAG_SUGGESTSVERSION +#endif +#endif + static ssize_t write_nocheck(int fd, const void *buf, size_t count) { return write(fd, buf, count); } |