Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-installation for openSUSE:Factory checked in at 2023-07-12 17:26:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old) and /work/SRC/openSUSE:Factory/.yast2-installation.new.8922 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation" Wed Jul 12 17:26:19 2023 rev:522 rq:1098142 version:4.6.5 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes 2023-06-21 22:37:00.553342083 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-installation.new.8922/yast2-installation.changes 2023-07-12 17:26:26.790177904 +0200 @@ -1,0 +2,7 @@ +Tue Jul 11 07:20:29 UTC 2023 - Ladislav Slezák <lsle...@suse.com> + +- Fixed yupdate script to properly run pre/post scripts + when patching from GitHub (bsc#1213197) +- 4.6.5 + +------------------------------------------------------------------- Old: ---- yast2-installation-4.6.4.tar.bz2 New: ---- yast2-installation-4.6.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-installation.spec ++++++ --- /var/tmp/diff_new_pack.wZMtMR/_old 2023-07-12 17:26:27.902184387 +0200 +++ /var/tmp/diff_new_pack.wZMtMR/_new 2023-07-12 17:26:27.910184433 +0200 @@ -17,7 +17,7 @@ Name: yast2-installation -Version: 4.6.4 +Version: 4.6.5 Release: 0 Summary: YaST2 - Installation Parts License: GPL-2.0-only ++++++ yast2-installation-4.6.4.tar.bz2 -> yast2-installation-4.6.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.6.4/bin/yupdate new/yast2-installation-4.6.5/bin/yupdate --- old/yast2-installation-4.6.4/bin/yupdate 2023-06-20 10:58:04.000000000 +0200 +++ new/yast2-installation-4.6.5/bin/yupdate 2023-07-11 14:43:05.000000000 +0200 @@ -717,7 +717,9 @@ # add the default "yast" GitHub organization if missing repo = "yast/#{repo}" unless repo.include?("/") downloader = GithubDownloader.new(repo, branch) - install_tar(downloader) + # the GitHub tarballs have all content in a "<repo>-<branch>" subdirectory + dir = repo.split("/", 2).last + "-" + branch + install_tar(downloader, dir) end def install_from_tar(url) @@ -766,12 +768,15 @@ raise "Script #{File.basename(script)} failed" unless system(script) end - def install_tar(downloader) + # extract the tarball into a temporary directory and install it + # @param downloader the downloader to use + # @param subdir subdirectory in the source tarball + def install_tar(downloader, subdir = "") Dir.mktmpdir do |download_dir| downloader.extract_to(download_dir) - run_pre_script(download_dir) + run_pre_script(File.join(download_dir, subdir)) install_sources(download_dir) - run_post_script(download_dir) + run_post_script(File.join(download_dir, subdir)) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.6.4/package/yast2-installation.changes new/yast2-installation-4.6.5/package/yast2-installation.changes --- old/yast2-installation-4.6.4/package/yast2-installation.changes 2023-06-20 10:58:04.000000000 +0200 +++ new/yast2-installation-4.6.5/package/yast2-installation.changes 2023-07-11 14:43:05.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 11 07:20:29 UTC 2023 - Ladislav Slezák <lsle...@suse.com> + +- Fixed yupdate script to properly run pre/post scripts + when patching from GitHub (bsc#1213197) +- 4.6.5 + +------------------------------------------------------------------- Thu Jun 15 15:01:13 UTC 2023 - Stefan Hundhammer <shundham...@suse.com> - Don't always enable sshd and open the ssh port (bsc#1211764) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-installation-4.6.4/package/yast2-installation.spec new/yast2-installation-4.6.5/package/yast2-installation.spec --- old/yast2-installation-4.6.4/package/yast2-installation.spec 2023-06-20 10:58:04.000000000 +0200 +++ new/yast2-installation-4.6.5/package/yast2-installation.spec 2023-07-11 14:43:05.000000000 +0200 @@ -16,7 +16,7 @@ # Name: yast2-installation -Version: 4.6.4 +Version: 4.6.5 Release: 0 Summary: YaST2 - Installation Parts License: GPL-2.0-only