RPM specfile: fix xmms plugin build condition
authorMarc Fournier <marc.fournier@camptocamp.com>
Sat, 19 Mar 2016 07:24:43 +0000 (08:24 +0100)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sat, 19 Mar 2016 07:24:43 +0000 (08:24 +0100)
contrib/redhat/collectd.spec

index ecdf5ea..7f56007 100644 (file)
 %define with_write_graphite 0%{!?_without_write_graphite:1}
 %define with_write_http 0%{!?_without_write_http:1}
 %define with_write_riemann 0%{!?_without_write_riemann:1}
-%define with_xmms 0%{!?_without_xmms:0%{!?_has_xmms:1}}
+%define with_xmms 0%{!?_without_xmms:0%{?_has_xmms}}
 
 # Plugins not built by default because of dependencies on libraries not
 # available in RHEL or EPEL: