For openSUSE Leap 42.3 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aspiers/openSUSE_Leap_42.3/home:aspiers.repo
zypper refresh
zypper install xmacro
For openSUSE Leap 42.2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aspiers/openSUSE_Leap_42.2/home:aspiers.repo
zypper refresh
zypper install xmacro
For openSUSE Leap 42.1 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aspiers/openSUSE_Leap_42.1/home:aspiers.repo
zypper refresh
zypper install xmacro
For openSUSE 13.2 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aspiers/openSUSE_13.2/home:aspiers.repo
zypper refresh
zypper install xmacro
For SLE 12 SP2 Backports run the following as root:
zypper addrepo https://download.opensuse.org/repositories/home:aspiers/SLE_12_SP2_Backports/home:aspiers.repo
zypper refresh
zypper install xmacro