Accepting request 230224 from home:a_jaeger:FactoryFix
Fix filelist to use /run OBS-URL: https://build.opensuse.org/request/show/230224 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/avahi?expand=0&rev=109
This commit is contained in:
parent
6b4a65b06e
commit
e4b11af716
@ -973,10 +973,21 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
||||||
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d /run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||||
%if %suse_version >= 1210
|
%if %suse_version >= 1210
|
||||||
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
||||||
%endif
|
%endif
|
||||||
|
# bnc#853845,bnc#851953: do not start by default under
|
||||||
|
# sysconfig as this breaks vlan,bridge,bonding setups
|
||||||
|
# in pre to revert old default setting from template.
|
||||||
|
if test -f var/adm/fillup-templates/sysconfig.avahi-autoipd -a \
|
||||||
|
-f etc/sysconfig/avahi ; then
|
||||||
|
. var/adm/fillup-templates/sysconfig.avahi-autoipd
|
||||||
|
if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then
|
||||||
|
sed -i etc/sysconfig/avahi \
|
||||||
|
-e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_only -n avahi}
|
%{fillup_only -n avahi}
|
||||||
@ -1112,7 +1123,7 @@ fi
|
|||||||
%{_libdir}/avahi/service-types.db
|
%{_libdir}/avahi/service-types.db
|
||||||
# avahi creates the directory itself, we do not package it
|
# avahi creates the directory itself, we do not package it
|
||||||
# since it might be on tmpfs
|
# since it might be on tmpfs
|
||||||
%attr(-,avahi,avahi) %ghost %{_localstatedir}/run/avahi-daemon
|
%attr(-,avahi,avahi) %ghost /run/avahi-daemon
|
||||||
%doc %{_mandir}/man5/*.5*
|
%doc %{_mandir}/man5/*.5*
|
||||||
%doc %{_mandir}/man8/*.8*
|
%doc %{_mandir}/man8/*.8*
|
||||||
%exclude %doc %{_mandir}/man8/avahi-autoipd*
|
%exclude %doc %{_mandir}/man8/avahi-autoipd*
|
||||||
|
@ -972,10 +972,21 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
||||||
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d /run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||||
%if %suse_version >= 1210
|
%if %suse_version >= 1210
|
||||||
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
||||||
%endif
|
%endif
|
||||||
|
# bnc#853845,bnc#851953: do not start by default under
|
||||||
|
# sysconfig as this breaks vlan,bridge,bonding setups
|
||||||
|
# in pre to revert old default setting from template.
|
||||||
|
if test -f var/adm/fillup-templates/sysconfig.avahi-autoipd -a \
|
||||||
|
-f etc/sysconfig/avahi ; then
|
||||||
|
. var/adm/fillup-templates/sysconfig.avahi-autoipd
|
||||||
|
if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then
|
||||||
|
sed -i etc/sysconfig/avahi \
|
||||||
|
-e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_only -n avahi}
|
%{fillup_only -n avahi}
|
||||||
@ -1111,7 +1122,7 @@ fi
|
|||||||
%{_libdir}/avahi/service-types.db
|
%{_libdir}/avahi/service-types.db
|
||||||
# avahi creates the directory itself, we do not package it
|
# avahi creates the directory itself, we do not package it
|
||||||
# since it might be on tmpfs
|
# since it might be on tmpfs
|
||||||
%attr(-,avahi,avahi) %ghost %{_localstatedir}/run/avahi-daemon
|
%attr(-,avahi,avahi) %ghost /run/avahi-daemon
|
||||||
%doc %{_mandir}/man5/*.5*
|
%doc %{_mandir}/man5/*.5*
|
||||||
%doc %{_mandir}/man8/*.8*
|
%doc %{_mandir}/man8/*.8*
|
||||||
%exclude %doc %{_mandir}/man8/avahi-autoipd*
|
%exclude %doc %{_mandir}/man8/avahi-autoipd*
|
||||||
|
@ -975,10 +975,21 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
||||||
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d /run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||||
%if %suse_version >= 1210
|
%if %suse_version >= 1210
|
||||||
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
||||||
%endif
|
%endif
|
||||||
|
# bnc#853845,bnc#851953: do not start by default under
|
||||||
|
# sysconfig as this breaks vlan,bridge,bonding setups
|
||||||
|
# in pre to revert old default setting from template.
|
||||||
|
if test -f var/adm/fillup-templates/sysconfig.avahi-autoipd -a \
|
||||||
|
-f etc/sysconfig/avahi ; then
|
||||||
|
. var/adm/fillup-templates/sysconfig.avahi-autoipd
|
||||||
|
if test "X$AVAHI_AUTOIPD_ENABLE" = "Xyes" ; then
|
||||||
|
sed -i etc/sysconfig/avahi \
|
||||||
|
-e 's/^\(AVAHI_AUTOIPD_ENABLE\)=.*/\1="no"/'
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{fillup_only -n avahi}
|
%{fillup_only -n avahi}
|
||||||
@ -1114,7 +1125,7 @@ fi
|
|||||||
%{_libdir}/avahi/service-types.db
|
%{_libdir}/avahi/service-types.db
|
||||||
# avahi creates the directory itself, we do not package it
|
# avahi creates the directory itself, we do not package it
|
||||||
# since it might be on tmpfs
|
# since it might be on tmpfs
|
||||||
%attr(-,avahi,avahi) %ghost %{_localstatedir}/run/avahi-daemon
|
%attr(-,avahi,avahi) %ghost /run/avahi-daemon
|
||||||
%doc %{_mandir}/man5/*.5*
|
%doc %{_mandir}/man5/*.5*
|
||||||
%doc %{_mandir}/man8/*.8*
|
%doc %{_mandir}/man8/*.8*
|
||||||
%exclude %doc %{_mandir}/man8/avahi-autoipd*
|
%exclude %doc %{_mandir}/man8/avahi-autoipd*
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 15 15:55:46 UTC 2014 - aj@suse.com
|
||||||
|
|
||||||
|
- We've moved everything to /run, adjust file list as well.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 27 18:12:43 UTC 2014 - mt@suse.com
|
Thu Feb 27 18:12:43 UTC 2014 - mt@suse.com
|
||||||
|
|
||||||
|
@ -975,7 +975,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/avahi-ui.pc
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
%{_sbindir}/groupadd -r avahi 2> /dev/null || :
|
||||||
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d %{_localstatedir}/run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
%{_sbindir}/useradd -r -s /bin/false -c "User for Avahi" -d /run/avahi-daemon -g avahi avahi 2> /dev/null || :
|
||||||
%if %suse_version >= 1210
|
%if %suse_version >= 1210
|
||||||
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
%service_add_pre avahi-dnsconfd.service avahi-daemon.service
|
||||||
%endif
|
%endif
|
||||||
@ -1125,7 +1125,7 @@ fi
|
|||||||
%{_libdir}/avahi/service-types.db
|
%{_libdir}/avahi/service-types.db
|
||||||
# avahi creates the directory itself, we do not package it
|
# avahi creates the directory itself, we do not package it
|
||||||
# since it might be on tmpfs
|
# since it might be on tmpfs
|
||||||
%attr(-,avahi,avahi) %ghost %{_localstatedir}/run/avahi-daemon
|
%attr(-,avahi,avahi) %ghost /run/avahi-daemon
|
||||||
%doc %{_mandir}/man5/*.5*
|
%doc %{_mandir}/man5/*.5*
|
||||||
%doc %{_mandir}/man8/*.8*
|
%doc %{_mandir}/man8/*.8*
|
||||||
%exclude %doc %{_mandir}/man8/avahi-autoipd*
|
%exclude %doc %{_mandir}/man8/avahi-autoipd*
|
||||||
|
Loading…
Reference in New Issue
Block a user