summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/avahi-tqt
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-10 23:29:53 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-10 23:29:53 +0200
commita6fb26841dd725f7ecbb5d3053747670fa0041cf (patch)
tree1156f25f1e705aa06fa8ce68c165ae03a6c76c90 /redhat/dependencies/avahi-tqt
parent439dfafdda0af87268760245b5016df2c06228cb (diff)
downloadtde-packaging-a6fb26841dd725f7ecbb5d3053747670fa0041cf.tar.gz
tde-packaging-a6fb26841dd725f7ecbb5d3053747670fa0041cf.zip
RPM Packaging: update packages R14
Diffstat (limited to 'redhat/dependencies/avahi-tqt')
-rw-r--r--redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec19
1 files changed, 6 insertions, 13 deletions
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 42c73bff1..58400a76d 100644
--- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
+++ b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
@@ -1,7 +1,7 @@
#
# spec file for package avahi-tqt
#
-# Copyright (c) 2014 François Andriot <francois.andriot@free.fr>
+# Copyright (c) 2014 Trinity Desktop Environment
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -66,11 +66,12 @@ BuildRequires: dbus-devel
# AVAHI support
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}avahi-client-devel
+%define avahi_devel %{_lib}avahi-client-devel
%endif
%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora}
-BuildRequires: avahi-devel
+%define avahi_devel avahi-devel
%endif
+%{?avahi_devel:BuildRequires: %{avahi_devel}}
# EXPAT support
%if 0%{?rhel} || 0%{?fedora}
@@ -141,18 +142,11 @@ Provides: libavahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libtqt4-devel >= 2:4.2.0
+%{?avahi_devel:Requires: %{avahi_devel}}
Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-# AVAHI support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-Requires: %{_lib}avahi-client-devel
-%endif
-%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora}
-Requires: avahi-devel
-%endif
-
%description -n %{libavahi}-tqt-devel
Avahi is a fully LGPL framework for Multicast DNS Service Discovery.
It allows programs to publish and discover services and hosts
@@ -214,8 +208,7 @@ export PATH="%{tde_bindir}:${PATH}"
--with-distro=mandriva \
%endif
-
-%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} || %__make
%install