forked from pool/pulseaudio
Accepting request 670183 from home:alarrosa:branches:multimedia:libs
- Make /var/lib/gdm %ghost again in pulseaudio-gdm-hooks so we don't create the directory when installing the package. gdm was just changed to create that directory as %ghost too to keep both packages in sync. - Add /var/lib/pulseaudio (which is already created by systemd-tmpfiles) as %ghost so users can easily query who created the directory, it gets uninstalled on package removal and rpmlint doesn't complain about it. OBS-URL: https://build.opensuse.org/request/show/670183 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=199
This commit is contained in:
parent
b0bac42ba6
commit
a1d2593a4f
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 30 16:49:19 UTC 2019 - alarrosa@suse.com
|
||||||
|
|
||||||
|
- Make /var/lib/gdm %ghost again in pulseaudio-gdm-hooks so we don't
|
||||||
|
create the directory when installing the package. gdm was just
|
||||||
|
changed to create that directory as %ghost too to keep both
|
||||||
|
packages in sync.
|
||||||
|
|
||||||
|
- Add /var/lib/pulseaudio (which is already created by systemd-tmpfiles)
|
||||||
|
as %ghost so users can easily query who created the directory,
|
||||||
|
it gets uninstalled on package removal and rpmlint doesn't complain
|
||||||
|
about it.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 15 12:46:45 CET 2019 - tiwai@suse.de
|
Tue Jan 15 12:46:45 CET 2019 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -408,7 +408,6 @@ install -m 644 %{SOURCE7} %{buildroot}%{_prefix}/lib/tmpfiles.d/pulseaudio.conf
|
|||||||
install -m 644 %{SOURCE8} %{buildroot}%{_prefix}/lib/tmpfiles.d/pulseaudio-gdm-hooks.conf
|
install -m 644 %{SOURCE8} %{buildroot}%{_prefix}/lib/tmpfiles.d/pulseaudio-gdm-hooks.conf
|
||||||
mkdir -p %{buildroot}%{_prefix}/share/factory/var/lib/gdm/.pulse
|
mkdir -p %{buildroot}%{_prefix}/share/factory/var/lib/gdm/.pulse
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_prefix}/share/factory/var/lib/gdm/.pulse/default.pa
|
install -m 644 %{SOURCE1} %{buildroot}%{_prefix}/share/factory/var/lib/gdm/.pulse/default.pa
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/lib/gdm
|
|
||||||
ln -s esdcompat %{buildroot}%{_bindir}/esd
|
ln -s esdcompat %{buildroot}%{_bindir}/esd
|
||||||
# install firewall rule on SUSE
|
# install firewall rule on SUSE
|
||||||
%if %{defined suse_version}
|
%if %{defined suse_version}
|
||||||
@ -594,6 +593,7 @@ exit 0
|
|||||||
%{_userunitdir}/%{name}.service
|
%{_userunitdir}/%{name}.service
|
||||||
%{_userunitdir}/%{name}.socket
|
%{_userunitdir}/%{name}.socket
|
||||||
%{_prefix}/lib/tmpfiles.d/pulseaudio.conf
|
%{_prefix}/lib/tmpfiles.d/pulseaudio.conf
|
||||||
|
%ghost %dir %{_localstatedir}/lib/pulseaudio
|
||||||
|
|
||||||
%if %{defined suse_version}
|
%if %{defined suse_version}
|
||||||
%config(noreplace) %{_fwdefdir}/pulseaudio-server
|
%config(noreplace) %{_fwdefdir}/pulseaudio-server
|
||||||
@ -608,7 +608,7 @@ exit 0
|
|||||||
%{_mandir}/man1/esdcompat.1*
|
%{_mandir}/man1/esdcompat.1*
|
||||||
|
|
||||||
%files gdm-hooks
|
%files gdm-hooks
|
||||||
%attr(0750, gdm, gdm) %dir %{_localstatedir}/lib/gdm
|
%attr(0750, gdm, gdm) %ghost %dir %{_localstatedir}/lib/gdm
|
||||||
%attr(0700, gdm, gdm) %ghost %dir %{_localstatedir}/lib/gdm/.pulse
|
%attr(0700, gdm, gdm) %ghost %dir %{_localstatedir}/lib/gdm/.pulse
|
||||||
%attr(0600, gdm, gdm) %ghost %{_localstatedir}/lib/gdm/.pulse/default.pa
|
%attr(0600, gdm, gdm) %ghost %{_localstatedir}/lib/gdm/.pulse/default.pa
|
||||||
%dir %{_prefix}/share/factory/var
|
%dir %{_prefix}/share/factory/var
|
||||||
|
Loading…
x
Reference in New Issue
Block a user