Dominique Leuenberger 2014-04-28 08:32:38 +00:00 committed by Git OBS Bridge
parent 88b03ea2b6
commit a6b3862abd
4 changed files with 8 additions and 26 deletions

View File

@ -111,7 +111,6 @@ BuildRequires: libtool
%define python_sitelib %{py_sitedir}
%endif
%if %build_core
BuildRequires: gnome-icon-theme
PreReq: pwdutils
%if %suse_version >= 1140
PreReq: sysvinit(network)
@ -915,9 +914,6 @@ ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dn
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
# network-wired icon is available only in GNOME. Install network-wired.png as fallback system-wide icon. (Avahi#365)
# The icon is installed as part of core, as any of %%build_glib2 subpackages can be installed separately.
install -m 644 /usr/share/icons/gnome/48x48/devices/network-wired.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/network-wired.png
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/
%if ! %build_glib2
@ -1116,8 +1112,6 @@ fi
%files
%defattr(-,root,root)
%doc LICENSE docs/*
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
%{_datadir}/pixmaps/network-wired.png
%dir %{_libdir}/avahi/
# Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils:
%{_libdir}/avahi/service-types.db

View File

@ -111,7 +111,6 @@ BuildRequires: libtool
%define python_sitelib %{py_sitedir}
%endif
%if %build_core
BuildRequires: gnome-icon-theme
PreReq: pwdutils
%if %suse_version >= 1140
PreReq: sysvinit(network)
@ -914,9 +913,6 @@ ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dn
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
# network-wired icon is available only in GNOME. Install network-wired.png as fallback system-wide icon. (Avahi#365)
# The icon is installed as part of core, as any of %%build_glib2 subpackages can be installed separately.
install -m 644 /usr/share/icons/gnome/48x48/devices/network-wired.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/network-wired.png
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/
%if ! %build_glib2
@ -1115,8 +1111,6 @@ fi
%files
%defattr(-,root,root)
%doc LICENSE docs/*
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
%{_datadir}/pixmaps/network-wired.png
%dir %{_libdir}/avahi/
# Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils:
%{_libdir}/avahi/service-types.db

View File

@ -111,7 +111,6 @@ BuildRequires: libtool
%define python_sitelib %{py_sitedir}
%endif
%if %build_core
BuildRequires: gnome-icon-theme
PreReq: pwdutils
%if %suse_version >= 1140
PreReq: sysvinit(network)
@ -917,9 +916,6 @@ ln -s %{_sysconfdir}/init.d/avahi-dnsconfd $RPM_BUILD_ROOT%{_sbindir}/rcavahi-dn
install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
ln -s %{_sysconfdir}/init.d/avahi-bookmarks $RPM_BUILD_ROOT%{_sbindir}/rcavahi-bookmarks
install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
# network-wired icon is available only in GNOME. Install network-wired.png as fallback system-wide icon. (Avahi#365)
# The icon is installed as part of core, as any of %%build_glib2 subpackages can be installed separately.
install -m 644 /usr/share/icons/gnome/48x48/devices/network-wired.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/network-wired.png
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -m 644 sysconfig.avahi* $RPM_BUILD_ROOT/var/adm/fillup-templates/
%if ! %build_glib2
@ -1118,8 +1114,6 @@ fi
%files
%defattr(-,root,root)
%doc LICENSE docs/*
# Note: This file is intentionally packaged here. It is needed for avahi-utils-gtk and python-avahi-gtk:
%{_datadir}/pixmaps/network-wired.png
%dir %{_libdir}/avahi/
# Note: This file is intentionally packaged here. It is needed for python-avahi and avahi-utils:
%{_libdir}/avahi/service-types.db

View File

@ -1,14 +1,14 @@
-------------------------------------------------------------------
Sat Apr 26 20:06:15 UTC 2014 - dmueller@suse.com
- do not depend on gnome-icon-theme:
* the network-wired icon is meanwhile available in
faenza, gnome, mate, nimbus oxygen and tango icon theme
* the dependency causes avahi depending on gtk3, which
causes a build loop with gtk2
* the avahi-desktop.patch causes these desktop files to
be only shown in GTK based desktops, which have any of
those icon themes available
- Do not depend on gnome-icon-theme:
+ the network-wired icon is meanwhile available in faenza, gnome,
mate, nimbus oxygen and tango icon theme.
+ the dependency causes avahi depending on gtk3, which causes a
build loop with gtk2.
+ the avahi-desktop.patch causes these desktop files to be only
shown in GTK based desktops, which have any of those icon
themes available.
-------------------------------------------------------------------
Tue Apr 15 15:55:46 UTC 2014 - aj@suse.com