Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package patterns-wsl for openSUSE:Factory checked in at 2024-04-03 17:19:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/patterns-wsl (Old) and /work/SRC/openSUSE:Factory/.patterns-wsl.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "patterns-wsl" Wed Apr 3 17:19:05 2024 rev:6 rq:1163142 version:20240327 Changes: -------- --- /work/SRC/openSUSE:Factory/patterns-wsl/patterns-wsl.changes 2023-11-16 20:30:27.624569920 +0100 +++ /work/SRC/openSUSE:Factory/.patterns-wsl.new.1905/patterns-wsl.changes 2024-04-03 17:19:45.740051208 +0200 @@ -1,0 +2,16 @@ +Wed Mar 27 15:17:12 UTC 2024 - Scott Bradnick <[email protected]> + +- Adjusting %{_tmpfilesdir}/wslg.conf to be provided by a new package + named patterns-wsl-tmpfiles which is required by patterns-wsl-systemd + * WSL uses '/etc/zypp/zypp.conf:solver.onlyRequires = true' by default + +------------------------------------------------------------------- +Fri Mar 22 17:19:23 UTC 2024 - Scott Bradnick <[email protected]> + +- Update to version 20240322 + * Adding scriptlet code to create %{_tmpfilesdir}/wslg.conf iff + it doesn't exist + - This should take care of missing /tmp/.X11-unix symlink after + the wsl_systemd pattern is installed, so it works 'out-of-the-box' + +------------------------------------------------------------------- New: ---- wslg.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ patterns-wsl.spec ++++++ --- /var/tmp/diff_new_pack.koFcsb/_old 2024-04-03 17:19:46.504079359 +0200 +++ /var/tmp/diff_new_pack.koFcsb/_new 2024-04-03 17:19:46.508079507 +0200 @@ -1,7 +1,7 @@ # # spec file for package patterns-wsl # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: patterns-wsl -Version: 20221221 +Version: 20240327 Release: 0 Summary: Recommended packages for Windows Subsystem for Linux, WSL, WSLg License: MIT @@ -33,7 +33,6 @@ of the installation source setup. Installation of this package does not make sense. - # ---- %package base @@ -86,8 +85,8 @@ fi %files base -%dir /usr/share/doc/packages/patterns -/usr/share/doc/packages/patterns/wsl_base.txt +%dir %{_docdir}/patterns +%{_docdir}/patterns/wsl_base.txt # ---- @@ -144,8 +143,8 @@ fi %files gui -%dir /usr/share/doc/packages/patterns -/usr/share/doc/packages/patterns/wsl_gui.txt +%dir %{_docdir}/patterns +%{_docdir}/patterns/wsl_gui.txt # ---- @@ -158,6 +157,7 @@ #Provides: pattern-order() = ? Provides: pattern-visible() Requires: systemd +Requires: patterns-wsl-tmpfiles %description systemd This package contains the wsl_systemd pattern: adjusts or provides %{_sysconfdir}/wsl.conf and /sbin/init symlink where required. @@ -217,8 +217,23 @@ fi %files systemd -%dir /usr/share/doc/packages/patterns -/usr/share/doc/packages/patterns/wsl_systemd.txt +%dir %{_docdir}/patterns +%{_docdir}/patterns/wsl_systemd.txt + +# ---- + +%package tmpfiles +Summary: Setup WSLg tmpfiles.d configuration +Source0: wslg.conf + +%description tmpfiles +The package installs %{_tmpfilesdir}/wslg.conf so the proper symlink to /mnt/wslg/.X11-unix exists at boot. + +%post tmpfiles +%tmpfiles_create %{_tmpfilesdir}/wslg.conf + +%files tmpfiles +%{_tmpfilesdir}/wslg.conf # ---- @@ -227,10 +242,12 @@ %build %install -mkdir -p %{buildroot}/usr/share/doc/packages/patterns/ -echo 'This file marks the pattern wsl_base to be installed.' > %{buildroot}/usr/share/doc/packages/patterns/wsl_base.txt -mkdir -p %{buildroot}/usr/share/doc/packages/patterns/ -echo 'This file marks the pattern wsl_gui to be installed.' > %{buildroot}/usr/share/doc/packages/patterns/wsl_gui.txt -mkdir -p %{buildroot}/usr/share/doc/packages/patterns/ -echo 'This file marks the pattern wsl_systemd to be installed.' > %{buildroot}/usr/share/doc/packages/patterns/wsl_systemd.txt +mkdir -p %{buildroot}%{_docdir}/patterns/ +echo 'This file marks the pattern wsl_base to be installed.' > %{buildroot}%{_docdir}/patterns/wsl_base.txt +mkdir -p %{buildroot}%{_docdir}/patterns/ +echo 'This file marks the pattern wsl_gui to be installed.' > %{buildroot}%{_docdir}/patterns/wsl_gui.txt +mkdir -p %{buildroot}%{_docdir}/patterns/ +echo 'This file marks the pattern wsl_systemd to be installed.' > %{buildroot}%{_docdir}/patterns/wsl_systemd.txt +mkdir -vp %{buildroot}%{_tmpfilesdir} +install -Dm644 %{SOURCE0} %{buildroot}%{_tmpfilesdir}/wslg.conf ++++++ wslg.conf ++++++ # Added by patterns-wsl-tmpfiles # Type Path Mode UID GID Age Argument L+ /tmp/.X11-unix - - - - /mnt/wslg/.X11-unix
