Accepting request 544849 from GNOME:Factory

- Replace references to /var/adm/fillup-templates with new 
  %_fillupdir macro (boo#1069468)

- Replace references to /var/adm/fillup-templates with new 
  %_fillupdir macro (boo#1069468)

- Replace references to /var/adm/fillup-templates with new 
  %_fillupdir macro (boo#1069468)

- Replace references to /var/adm/fillup-templates with new 
  %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/avahi?expand=0&rev=119
This commit is contained in:
Dominique Leuenberger 2017-11-30 15:31:59 +00:00 committed by Git OBS Bridge
commit 94dea4fec8
8 changed files with 72 additions and 28 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:37:38 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 21 14:31:18 UTC 2013 - dimstar@opensuse.org Sat Sep 21 14:31:18 UTC 2013 - dimstar@opensuse.org

View File

@ -16,6 +16,11 @@
# #
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
Name: avahi-glib2 Name: avahi-glib2
# Do not edit this auto generated file! Edit avahi.spec. # Do not edit this auto generated file! Edit avahi.spec.
%define _name avahi %define _name avahi
@ -338,7 +343,7 @@ avahi-autoipd is an implementation of Dynamic Configuration of IPv4
Link-Local Addresses. Link-Local Addresses.
avahi-autoipd doesn't depend on any other Avahi library, hence it makes avahi-autoipd doesn't depend on any other Avahi library, hence it makes
sense to install it even if Avahi itself is not installed. sense to install it even if Avahi itself is not installed.
%package utils %package utils
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
@ -910,8 +915,8 @@ ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-daemon
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-dnsconfd ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-dnsconfd
install -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi install -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
install -d %{buildroot}/%{_datadir}/pixmaps install -d %{buildroot}/%{_datadir}/pixmaps
install -d %{buildroot}/var/adm/fillup-templates install -d %{buildroot}%{_fillupdir}
install -m 644 sysconfig.avahi* %{buildroot}/var/adm/fillup-templates/ install -m 644 sysconfig.avahi* %{buildroot}%{_fillupdir}/
%if ! %build_glib2 %if ! %build_glib2
# Note: This file is intentionally installed here. It is needed for avahi-utils-gtk and python-avahi-gtk: # Note: This file is intentionally installed here. It is needed for avahi-utils-gtk and python-avahi-gtk:
install -d %{buildroot}/%{_datadir}/avahi/interfaces install -d %{buildroot}/%{_datadir}/avahi/interfaces
@ -973,9 +978,9 @@ getent passwd avahi >/dev/null || %{_sbindir}/useradd -r -s /bin/false -c "User
# bnc#853845,bnc#851953: do not start by default under # bnc#853845,bnc#851953: do not start by default under
# sysconfig as this breaks vlan,bridge,bonding setups # sysconfig as this breaks vlan,bridge,bonding setups
# in pre to revert old default setting from template. # in pre to revert old default setting from template.
if test -f var/adm/fillup-templates/sysconfig.avahi-autoipd -a \ if test -f %{_fillupdir}/sysconfig.avahi-autoipd -a \
-f etc/sysconfig/avahi ; then -f etc/sysconfig/avahi ; then
. var/adm/fillup-templates/sysconfig.avahi-autoipd . %{_fillupdir}/sysconfig.avahi-autoipd
if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then
sed -i etc/sysconfig/avahi \ sed -i etc/sysconfig/avahi \
-e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/' -e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/'
@ -1104,7 +1109,7 @@ chown -R avahi-autoipd:avahi-autoipd %{_localstatedir}/lib/avahi-autoipd
%dir %{_datadir}/avahi/ %dir %{_datadir}/avahi/
%{_datadir}/avahi/interfaces %{_datadir}/avahi/interfaces
/etc/sysconfig/network/*/avahi-daemon /etc/sysconfig/network/*/avahi-daemon
/var/adm/fillup-templates/sysconfig.avahi %{_fillupdir}/sysconfig.avahi
%files lang -f %{name}.lang %files lang -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
@ -1147,7 +1152,7 @@ chown -R avahi-autoipd:avahi-autoipd %{_localstatedir}/lib/avahi-autoipd
%{_sbindir}/avahi-autoipd %{_sbindir}/avahi-autoipd
%{_sysconfdir}/avahi/avahi-autoipd.action %{_sysconfdir}/avahi/avahi-autoipd.action
/etc/sysconfig/network/*/avahi-autoipd /etc/sysconfig/network/*/avahi-autoipd
/var/adm/fillup-templates/sysconfig.avahi-autoipd %{_fillupdir}/sysconfig.avahi-autoipd
%files utils %files utils
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:37:31 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 13:49:59 UTC 2017 - bwiedemann@suse.com Fri Apr 21 13:49:59 UTC 2017 - bwiedemann@suse.com

View File

@ -16,6 +16,11 @@
# #
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
Name: avahi-mono Name: avahi-mono
# Do not edit this auto generated file! Edit avahi.spec. # Do not edit this auto generated file! Edit avahi.spec.
%define _name avahi %define _name avahi
@ -337,7 +342,7 @@ avahi-autoipd is an implementation of Dynamic Configuration of IPv4
Link-Local Addresses. Link-Local Addresses.
avahi-autoipd doesn't depend on any other Avahi library, hence it makes avahi-autoipd doesn't depend on any other Avahi library, hence it makes
sense to install it even if Avahi itself is not installed. sense to install it even if Avahi itself is not installed.
%package utils %package utils
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
@ -910,8 +915,8 @@ ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-daemon
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-dnsconfd ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-dnsconfd
install -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi install -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
install -d %{buildroot}/%{_datadir}/pixmaps install -d %{buildroot}/%{_datadir}/pixmaps
install -d %{buildroot}/var/adm/fillup-templates install -d %{buildroot}%{_fillupdir}
install -m 644 sysconfig.avahi* %{buildroot}/var/adm/fillup-templates/ install -m 644 sysconfig.avahi* %{buildroot}%{_fillupdir}/
%if ! %build_glib2 %if ! %build_glib2
# Note: This file is intentionally installed here. It is needed for avahi-utils-gtk and python-avahi-gtk: # Note: This file is intentionally installed here. It is needed for avahi-utils-gtk and python-avahi-gtk:
install -d %{buildroot}/%{_datadir}/avahi/interfaces install -d %{buildroot}/%{_datadir}/avahi/interfaces
@ -973,9 +978,9 @@ getent passwd avahi >/dev/null || %{_sbindir}/useradd -r -s /bin/false -c "User
# bnc#853845,bnc#851953: do not start by default under # bnc#853845,bnc#851953: do not start by default under
# sysconfig as this breaks vlan,bridge,bonding setups # sysconfig as this breaks vlan,bridge,bonding setups
# in pre to revert old default setting from template. # in pre to revert old default setting from template.
if test -f var/adm/fillup-templates/sysconfig.avahi-autoipd -a \ if test -f %{_fillupdir}/sysconfig.avahi-autoipd -a \
-f etc/sysconfig/avahi ; then -f etc/sysconfig/avahi ; then
. var/adm/fillup-templates/sysconfig.avahi-autoipd . %{_fillupdir}/sysconfig.avahi-autoipd
if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then
sed -i etc/sysconfig/avahi \ sed -i etc/sysconfig/avahi \
-e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/' -e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/'
@ -1104,7 +1109,7 @@ chown -R avahi-autoipd:avahi-autoipd %{_localstatedir}/lib/avahi-autoipd
%dir %{_datadir}/avahi/ %dir %{_datadir}/avahi/
%{_datadir}/avahi/interfaces %{_datadir}/avahi/interfaces
/etc/sysconfig/network/*/avahi-daemon /etc/sysconfig/network/*/avahi-daemon
/var/adm/fillup-templates/sysconfig.avahi %{_fillupdir}/sysconfig.avahi
%files lang -f %{name}.lang %files lang -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
@ -1147,7 +1152,7 @@ chown -R avahi-autoipd:avahi-autoipd %{_localstatedir}/lib/avahi-autoipd
%{_sbindir}/avahi-autoipd %{_sbindir}/avahi-autoipd
%{_sysconfdir}/avahi/avahi-autoipd.action %{_sysconfdir}/avahi/avahi-autoipd.action
/etc/sysconfig/network/*/avahi-autoipd /etc/sysconfig/network/*/avahi-autoipd
/var/adm/fillup-templates/sysconfig.avahi-autoipd %{_fillupdir}/sysconfig.avahi-autoipd
%files utils %files utils
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:37:26 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 17 13:52:41 UTC 2011 - jengelh@medozas.de Sat Sep 17 13:52:41 UTC 2011 - jengelh@medozas.de

View File

@ -16,6 +16,11 @@
# #
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
Name: avahi-qt4 Name: avahi-qt4
# Do not edit this auto generated file! Edit avahi.spec. # Do not edit this auto generated file! Edit avahi.spec.
%define _name avahi %define _name avahi
@ -340,7 +345,7 @@ avahi-autoipd is an implementation of Dynamic Configuration of IPv4
Link-Local Addresses. Link-Local Addresses.
avahi-autoipd doesn't depend on any other Avahi library, hence it makes avahi-autoipd doesn't depend on any other Avahi library, hence it makes
sense to install it even if Avahi itself is not installed. sense to install it even if Avahi itself is not installed.
%package utils %package utils
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
@ -912,8 +917,8 @@ ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-daemon
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-dnsconfd ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-dnsconfd
install -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi install -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
install -d %{buildroot}/%{_datadir}/pixmaps install -d %{buildroot}/%{_datadir}/pixmaps
install -d %{buildroot}/var/adm/fillup-templates install -d %{buildroot}%{_fillupdir}
install -m 644 sysconfig.avahi* %{buildroot}/var/adm/fillup-templates/ install -m 644 sysconfig.avahi* %{buildroot}%{_fillupdir}/
%if ! %build_glib2 %if ! %build_glib2
# Note: This file is intentionally installed here. It is needed for avahi-utils-gtk and python-avahi-gtk: # Note: This file is intentionally installed here. It is needed for avahi-utils-gtk and python-avahi-gtk:
install -d %{buildroot}/%{_datadir}/avahi/interfaces install -d %{buildroot}/%{_datadir}/avahi/interfaces
@ -975,9 +980,9 @@ getent passwd avahi >/dev/null || %{_sbindir}/useradd -r -s /bin/false -c "User
# bnc#853845,bnc#851953: do not start by default under # bnc#853845,bnc#851953: do not start by default under
# sysconfig as this breaks vlan,bridge,bonding setups # sysconfig as this breaks vlan,bridge,bonding setups
# in pre to revert old default setting from template. # in pre to revert old default setting from template.
if test -f var/adm/fillup-templates/sysconfig.avahi-autoipd -a \ if test -f %{_fillupdir}/sysconfig.avahi-autoipd -a \
-f etc/sysconfig/avahi ; then -f etc/sysconfig/avahi ; then
. var/adm/fillup-templates/sysconfig.avahi-autoipd . %{_fillupdir}/sysconfig.avahi-autoipd
if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then
sed -i etc/sysconfig/avahi \ sed -i etc/sysconfig/avahi \
-e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/' -e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/'
@ -1106,7 +1111,7 @@ chown -R avahi-autoipd:avahi-autoipd %{_localstatedir}/lib/avahi-autoipd
%dir %{_datadir}/avahi/ %dir %{_datadir}/avahi/
%{_datadir}/avahi/interfaces %{_datadir}/avahi/interfaces
/etc/sysconfig/network/*/avahi-daemon /etc/sysconfig/network/*/avahi-daemon
/var/adm/fillup-templates/sysconfig.avahi %{_fillupdir}/sysconfig.avahi
%files lang -f %{name}.lang %files lang -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
@ -1149,7 +1154,7 @@ chown -R avahi-autoipd:avahi-autoipd %{_localstatedir}/lib/avahi-autoipd
%{_sbindir}/avahi-autoipd %{_sbindir}/avahi-autoipd
%{_sysconfdir}/avahi/avahi-autoipd.action %{_sysconfdir}/avahi/avahi-autoipd.action
/etc/sysconfig/network/*/avahi-autoipd /etc/sysconfig/network/*/avahi-autoipd
/var/adm/fillup-templates/sysconfig.avahi-autoipd %{_fillupdir}/sysconfig.avahi-autoipd
%files utils %files utils
%defattr(-,root,root) %defattr(-,root,root)

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:37:18 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 1 08:37:54 UTC 2017 - jengelh@inai.de Thu Jun 1 08:37:54 UTC 2017 - jengelh@inai.de

View File

@ -16,6 +16,11 @@
# #
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
Name: avahi Name: avahi
# WARNING: After editing this file please call Re, rpmbuild or # WARNING: After editing this file please call Re, rpmbuild or
# bash avahi_spec-prepare.sh "$PWD" avahi # bash avahi_spec-prepare.sh "$PWD" avahi
@ -340,7 +345,7 @@ avahi-autoipd is an implementation of Dynamic Configuration of IPv4
Link-Local Addresses. Link-Local Addresses.
avahi-autoipd doesn't depend on any other Avahi library, hence it makes avahi-autoipd doesn't depend on any other Avahi library, hence it makes
sense to install it even if Avahi itself is not installed. sense to install it even if Avahi itself is not installed.
%package utils %package utils
Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour Summary: Command Line Utilities for D-BUS Service for Zeroconf and Bonjour
@ -912,8 +917,8 @@ ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-daemon
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-dnsconfd ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcavahi-dnsconfd
install -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi install -m 644 %{S:3} %{buildroot}/%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/avahi
install -d %{buildroot}/%{_datadir}/pixmaps install -d %{buildroot}/%{_datadir}/pixmaps
install -d %{buildroot}/var/adm/fillup-templates install -d %{buildroot}%{_fillupdir}
install -m 644 sysconfig.avahi* %{buildroot}/var/adm/fillup-templates/ install -m 644 sysconfig.avahi* %{buildroot}%{_fillupdir}/
%if ! %build_glib2 %if ! %build_glib2
# Note: This file is intentionally installed here. It is needed for avahi-utils-gtk and python-avahi-gtk: # Note: This file is intentionally installed here. It is needed for avahi-utils-gtk and python-avahi-gtk:
install -d %{buildroot}/%{_datadir}/avahi/interfaces install -d %{buildroot}/%{_datadir}/avahi/interfaces
@ -975,9 +980,9 @@ getent passwd avahi >/dev/null || %{_sbindir}/useradd -r -s /bin/false -c "User
# bnc#853845,bnc#851953: do not start by default under # bnc#853845,bnc#851953: do not start by default under
# sysconfig as this breaks vlan,bridge,bonding setups # sysconfig as this breaks vlan,bridge,bonding setups
# in pre to revert old default setting from template. # in pre to revert old default setting from template.
if test -f var/adm/fillup-templates/sysconfig.avahi-autoipd -a \ if test -f %{_fillupdir}/sysconfig.avahi-autoipd -a \
-f etc/sysconfig/avahi ; then -f etc/sysconfig/avahi ; then
. var/adm/fillup-templates/sysconfig.avahi-autoipd . %{_fillupdir}/sysconfig.avahi-autoipd
if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then
sed -i etc/sysconfig/avahi \ sed -i etc/sysconfig/avahi \
-e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/' -e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/'
@ -1106,7 +1111,7 @@ chown -R avahi-autoipd:avahi-autoipd %{_localstatedir}/lib/avahi-autoipd
%dir %{_datadir}/avahi/ %dir %{_datadir}/avahi/
%{_datadir}/avahi/interfaces %{_datadir}/avahi/interfaces
/etc/sysconfig/network/*/avahi-daemon /etc/sysconfig/network/*/avahi-daemon
/var/adm/fillup-templates/sysconfig.avahi %{_fillupdir}/sysconfig.avahi
%files lang -f %{name}.lang %files lang -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
@ -1149,7 +1154,7 @@ chown -R avahi-autoipd:avahi-autoipd %{_localstatedir}/lib/avahi-autoipd
%{_sbindir}/avahi-autoipd %{_sbindir}/avahi-autoipd
%{_sysconfdir}/avahi/avahi-autoipd.action %{_sysconfdir}/avahi/avahi-autoipd.action
/etc/sysconfig/network/*/avahi-autoipd /etc/sysconfig/network/*/avahi-autoipd
/var/adm/fillup-templates/sysconfig.avahi-autoipd %{_fillupdir}/sysconfig.avahi-autoipd
%files utils %files utils
%defattr(-,root,root) %defattr(-,root,root)