Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openSUSE-repos for openSUSE:Factory checked in at 2024-12-10 23:43:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openSUSE-repos (Old) and /work/SRC/openSUSE:Factory/.openSUSE-repos.new.29675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-repos" Tue Dec 10 23:43:34 2024 rev:24 rq:1229496 version:20240712.dd8c2eb Changes: -------- --- /work/SRC/openSUSE:Factory/openSUSE-repos/openSUSE-repos.changes 2024-07-15 19:46:57.122548913 +0200 +++ /work/SRC/openSUSE:Factory/.openSUSE-repos.new.29675/openSUSE-repos.changes 2024-12-10 23:44:35.211191453 +0100 @@ -1,0 +2,16 @@ +Mon Dec 9 22:17:56 UTC 2024 - Lubos Kocman <lubos.kocman+fact...@suse.de> + +- Disable Leap flavor building on Leap Micro 6.1+ + which newly contains sle_version + +------------------------------------------------------------------- +Mon Dec 9 20:02:29 UTC 2024 - Lubos Kocman <lubos.koc...@suse.com> + +- Make new symlink and zypper addservice in postrans + * To ensure that addition of service and symlink creation + is executed only after the postun of old package. + Otherwise we end up with no service and no repoindex symlink. + * This supports migration from LeapMicro to MicroOS + * Fixes gh#openSUSE/opensuse-migration-tool#17 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openSUSE-repos.spec ++++++ --- /var/tmp/diff_new_pack.9XSj7G/_old 2024-12-10 23:44:36.767256321 +0100 +++ /var/tmp/diff_new_pack.9XSj7G/_new 2024-12-10 23:44:36.799257655 +0100 @@ -63,7 +63,7 @@ %endif # Leap 16 -%if 0%{?is_opensuse} && 0%{?suse_version} >= 1600 +%if 0%{?is_opensuse} && 0%{?suse_version} >= 1600 && !0%{?is_leapmicro} %if "%flavor" == "openSUSE-repos-Leap" %define theme Leap %define branding leap @@ -290,6 +290,24 @@ %endif %post +# Disable all non-zypp-service managed repos with default filenames +for repo_file in \ +repo-backports-debug-update.repo repo-oss.repo repo-backports-update.repo \ +repo-sle-debug-update.repo repo-debug-non-oss.repo repo-sle-update.repo \ +repo-debug.repo repo-source.repo repo-debug-update.repo repo-update.repo \ +repo-debug-update-non-oss.repo repo-update-non-oss.repo repo-non-oss.repo \ +download.opensuse.org-oss.repo download.opensuse.org-non-oss.repo download.opensuse.org-tumbleweed.repo \ +repo-openh264.repo openSUSE-*-0.repo repo-main.repo; do + if [ -f %{_sysconfdir}/zypp/repos.d/$repo_file ]; then + echo "Content of $repo_file will be newly managed by zypp-services." + echo "Storing old copy as %{_sysconfdir}/zypp/repos.d/$repo_file.rpmsave" + mv %{_sysconfdir}/zypp/repos.d/$repo_file %{_sysconfdir}/zypp/repos.d/$repo_file.rpmsave + fi +done + +# Needs to be called after postun of old package or we might endup with +# No service and no repos as there is a symlink and service removal in postun of old pkg +%posttrans %if "%{theme}" == "Tumbleweed" %ifarch %{ix86} x86_64 ln -sf opensuse-%{branding}-repoindex.xml %{_datadir}/zypp/local/service/openSUSE/repo/repoindex.xml @@ -324,28 +342,12 @@ %endif %endif -# Disable all non-zypp-service managed repos with default filenames - -for repo_file in \ -repo-backports-debug-update.repo repo-oss.repo repo-backports-update.repo \ -repo-sle-debug-update.repo repo-debug-non-oss.repo repo-sle-update.repo \ -repo-debug.repo repo-source.repo repo-debug-update.repo repo-update.repo \ -repo-debug-update-non-oss.repo repo-update-non-oss.repo repo-non-oss.repo \ -download.opensuse.org-oss.repo download.opensuse.org-non-oss.repo download.opensuse.org-tumbleweed.repo \ -repo-openh264.repo openSUSE-*-0.repo repo-main.repo; do - if [ -f %{_sysconfdir}/zypp/repos.d/$repo_file ]; then - echo "Content of $repo_file will be newly managed by zypp-services." - echo "Storing old copy as %{_sysconfdir}/zypp/repos.d/$repo_file.rpmsave" - mv %{_sysconfdir}/zypp/repos.d/$repo_file %{_sysconfdir}/zypp/repos.d/$repo_file.rpmsave - fi -done - # We hereby declare that running this will not influence existing transaction ZYPP_READONLY_HACK=1 zypper addservice %{_datadir}/zypp/local/service/openSUSE openSUSE ZYPP_READONLY_HACK=1 zypper refresh-services %if 0%{?with_nvidia} -%post NVIDIA +%posttrans NVIDIA ln -sf nvidia-%{branding}-repoindex.xml %{_datadir}/zypp/local/service/NVIDIA/repo/repoindex.xml # Disable user-defined with default filename from wiki