Branch: master

046b0859 2014-10-01 17:31:31 François Andriot
RPM Packaging: update avahi-tqt
M redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
index 736d4e8..3edaa68 100644
--- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
+++ b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
@@ -51,6 +51,8 @@
 BuildRequires:	libtool
 
 BuildRequires:	gettext-devel
+
+# GLIB2 support
 BuildRequires:	glib2-devel
 
 # DBUS support
@@ -184,7 +186,17 @@
   --disable-dependency-tracking \
   \
   --enable-compat-libdns_sd \
-  --with-systemdsystemunitdir=/lib/systemd/system
+  --with-systemdsystemunitdir=/lib/systemd/system \
+%if 0%{?suse_release}
+  --with-distro=suse \
+%endif
+%if 0%{?fedora} || 0%{?rhel}
+  --with-distro=fedora \
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+  --with-distro=mandriva \
+%endif
+
 
 %__make %{?_smp_mflags}