From cef7d60827a6c9eb8b3fddaf475ef0182ce53736 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:42:43 +0100 Subject: [PATCH] avahi: require python-avahi for avahi-discover [release 0.6.31-7mamba;Tue Nov 04 2014] --- avahi.spec | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/avahi.spec b/avahi.spec index 27a0b82..db20ea1 100644 --- a/avahi.spec +++ b/avahi.spec @@ -5,7 +5,7 @@ Name: avahi Version: 0.6.31 -Release: 6mamba +Release: 7mamba Summary: A system which facilitates service discovery on a local network Group: Applications/Networking Vendor: openmamba @@ -79,6 +79,7 @@ BuildRequires: python-dbus-devel BuildRequires: systemd-devel Requires: libnss_mdns Requires: libavahi = %{?epoch:%epoch:}%{version}-%{release} +Requires: python-avahi = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -189,12 +190,14 @@ Requires: avahi = %{?epoch:%epoch:}%{version}-%{release} Avahi is a system which facilitates service discovery on a local network. This means that you can plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. This kind of technology is already found in Apple MacOS X (branded Rendezvous, Bonjour and sometimes Zeroconf) and is very convenient. This package contains the bindings for the mono language. -%package python +%package -n python-avahi Summary: A system which facilitates service discovery on a local network Group: System/Libraries Requires: avahi = %{?epoch:%epoch:}%{version}-%{release} +Provides: avahi-python +Obsoletes: avahi-python -%description python +%description -n python-avahi Avahi is a system which facilitates service discovery on a local network. This means that you can plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared. This kind of technology is already found in Apple MacOS X (branded Rendezvous, Bonjour and sometimes Zeroconf) and is very convenient. This package contains the bindings for the python language. @@ -473,7 +476,7 @@ exit 0 %{_libdir}/libavahi-qt4.so %{_libdir}/pkgconfig/avahi-qt4.pc -%files python +%files -n python-avahi %defattr(-,root,root) %{python_sitelib}/avahi/ServiceTypeDatabase.py %{python_sitelib}/avahi/__init__.py @@ -542,6 +545,9 @@ exit 0 %{_libdir}/pkgconfig/libdns_sd.pc %changelog +* Tue Nov 04 2014 Silvan Calarco 0.6.31-7mamba +- avahi: require python-avahi for avahi-discover + * Wed Apr 30 2014 Silvan Calarco 0.6.31-7mamba - pass --localstatedir=/ to configure to use /run everywhere - add "mdns_minimal [NOTFOUND=return]" in nsswitch.conf on installation