Hello community, here is the log from the commit of package yast2-sound for openSUSE:Leap:15.2 checked in at 2020-05-04 08:22:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/yast2-sound (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2-sound.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-sound" Mon May 4 08:22:36 2020 rev:16 rq:799266 version:4.2.4 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/yast2-sound/yast2-sound.changes 2020-01-15 16:32:23.840884106 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2-sound.new.2738/yast2-sound.changes 2020-05-04 08:22:37.580360516 +0200 @@ -1,0 +2,14 @@ +Wed Apr 29 14:19:50 UTC 2020 - [email protected] + +- avoid attempts to build sound card database if no kernel + available (related to jsc#SLE-11862) +- 4.2.4 + +------------------------------------------------------------------- +Thu Apr 16 08:53:21 UTC 2020 - Michal Filka <[email protected]> + +- jsc#SLE-11862 + - dropped conditional build to unify SLE and OS builds +- 4.2.3 + +------------------------------------------------------------------- Old: ---- yast2-sound-4.2.2.tar.bz2 New: ---- yast2-sound-4.2.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-sound.spec ++++++ --- /var/tmp/diff_new_pack.6CWypX/_old 2020-05-04 08:22:38.164361768 +0200 +++ /var/tmp/diff_new_pack.6CWypX/_new 2020-05-04 08:22:38.164361768 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2-sound # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,30 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: yast2-sound -Version: 4.2.2 +Version: 4.2.4 Release: 0 Summary: YaST2 - Sound Configuration License: GPL-2.0-or-later Group: System/YaST -Url: https://github.com/yast/yast-sound +URL: https://github.com/yast/yast-sound Source0: %{name}-%{version}.tar.bz2 -# FIXME: SLE-12/15 builds packages for x86 and s390 (both 32 bit), -# but no runnable kernel, so this package cannot be built there. -%if !0%{?is_opensuse} -ExcludeArch: %ix86 s390 -%endif - BuildRequires: alsa-devel BuildRequires: doxygen BuildRequires: gcc-c++ -BuildRequires: kernel-default BuildRequires: libtool BuildRequires: perl-XML-Writer BuildRequires: ruby @@ -45,6 +38,11 @@ BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-testsuite +# workaround for OS builds, see jsc#SLE-11862 +%ifnarch i586 +BuildRequires: kernel-default +%endif + # Fixed handling of Kernel modules loaded on boot Requires: alsa # For proc_modules.scr ++++++ yast2-sound-4.2.2.tar.bz2 -> yast2-sound-4.2.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.2.2/.travis.yml new/yast2-sound-4.2.4/.travis.yml --- old/yast2-sound-4.2.2/.travis.yml 2019-08-27 19:41:00.000000000 +0200 +++ new/yast2-sound-4.2.4/.travis.yml 2020-04-30 09:37:05.000000000 +0200 @@ -8,5 +8,5 @@ script: # the "yast-travis-cpp" script is included in the base yastdevel/cpp image # see https://github.com/yast/docker-yast-cpp/blob/master/yast-travis-cpp - - docker run -it yast-sound-image yast-travis-cpp + - docker run -it --privileged yast-sound-image yast-travis-cpp - docker run -it yast-sound-image bash -c "rake check:syntax && rake check:pot" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.2.2/CONTRIBUTING.md new/yast2-sound-4.2.4/CONTRIBUTING.md --- old/yast2-sound-4.2.2/CONTRIBUTING.md 2019-08-27 19:41:00.000000000 +0200 +++ new/yast2-sound-4.2.4/CONTRIBUTING.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,89 +0,0 @@ -YaST Contribution Guidelines -============================ - -YaST is an open source project and as such it welcomes all kinds of -contributions. If you decide to contribute, please follow these guidelines to -ensure the process is effective and pleasant both for you and the YaST maintainers. - -There are two main forms of contribution: reporting bugs and performing code -changes. - -Bug Reports ------------ - -If you find a problem, please report it either using -[Bugzilla](https://bugzilla.suse.com/enter_bug.cgi?format=guided&product=openSUSE+Factory&component=YaST2) -or [GitHub issues](../../issues). (For Bugzilla, use the [simplified -registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp) -if you don't have an account yet.) - -When creating a bug report, please follow our [bug reporting -guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug). - -We can't guarantee that every bug will be fixed, but we'll try. - -Code Changes ------------- - -We welcome all kinds of code contributions, from simple bug fixes to significant -refactorings and implementation of new features. However, before making any -non-trivial contribution, get in touch with us first — this can prevent wasted -effort on both sides. Also, have a look at our [development -documentation](http://en.opensuse.org/openSUSE:YaST_development). - -To send us your code change, use GitHub pull requests. The workflow is as -follows: - - 1. Fork the project. - - 2. Create a topic branch based on `master`. - - 3. Implement your change, including tests (if possible). Make sure you adhere - to the [Ruby style - guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md). - - 4. Update the package version (in `packages/*.spec`, usually by - `rake version:bump`) and add a new entry to the `package/*.changes` file - (by `osc vc package`). - For bigger changes or changes which need longer discussion it is advised to - add this as a separate last commit so it can be easily updated when another - change is merged in the meantime. - - 5. Make sure your change didn't break anything by building the RPM package - (`rake osc:build`). The build process includes running the full testsuite. - - 6. Publish the branch and create a pull request. - - 7. YaST developers will review your change and possibly point out issues. - Adapt the code under their guidance until they are all resolved. - - 8. Finally, the pull request will get merged or rejected. - -See also [GitHub's guide on -contributing](https://help.github.com/articles/fork-a-repo). - -If you want to do multiple unrelated changes, use separate branches and pull -requests. - -### Commits - -Each commit in the pull request should do only one thing, which is clearly -described by its commit message. Especially avoid mixing formatting changes and -functional changes into one commit. When writing commit messages, adhere to -[widely used -conventions](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). - -If your commit is related to a bug in Bugzilla or an issue on GitHub, make sure -you mention it in the commit message for cross-reference. Use format like -bnc#775814 or gh#yast/yast-foo#42. See also [GitHub -autolinking](https://help.github.com/articles/github-flavored-markdown#references) -and [openSUSE abbreviation -reference](http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_abbreviations). - -Additional Information ----------------------- - -If you have any question, feel free to ask at the [development mailing -list](http://lists.opensuse.org/yast-devel/) or at the -[#yast](http://webchat.freenode.net/?channels=%23yast) IRC channel on freenode. -We'll do our best to provide a timely and accurate answer. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.2.2/Dockerfile new/yast2-sound-4.2.4/Dockerfile --- old/yast2-sound-4.2.2/Dockerfile 2019-08-27 19:41:00.000000000 +0200 +++ new/yast2-sound-4.2.4/Dockerfile 2020-04-30 09:37:05.000000000 +0200 @@ -1,4 +1,4 @@ -FROM registry.opensuse.org/yast/head/containers/yast-cpp:latest +FROM registry.opensuse.org/yast/sle-15/sp2/containers/yast-cpp RUN zypper --gpg-auto-import-keys --non-interactive in --no-recommends \ alsa-devel \ kernel-default \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.2.2/Rakefile new/yast2-sound-4.2.4/Rakefile --- old/yast2-sound-4.2.2/Rakefile 2019-08-27 19:41:00.000000000 +0200 +++ new/yast2-sound-4.2.4/Rakefile 2020-04-30 09:37:05.000000000 +0200 @@ -1,5 +1,7 @@ require "yast/rake" +Yast::Tasks.submit_to :sle15sp2 + Yast::Tasks.configuration do |conf| #lets ignore license check for now conf.skip_license_check << /.*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.2.2/data/generate_soundcard_db.rb new/yast2-sound-4.2.4/data/generate_soundcard_db.rb --- old/yast2-sound-4.2.2/data/generate_soundcard_db.rb 2019-08-27 19:41:00.000000000 +0200 +++ new/yast2-sound-4.2.4/data/generate_soundcard_db.rb 2020-04-30 09:37:05.000000000 +0200 @@ -4,9 +4,12 @@ require File.join(File.dirname(__FILE__), "alsa_drivers.rb") require File.join(File.dirname(__FILE__), "sound_db_generator.rb") -# generate the database for the first kernel found -kernel_path = Dir['/lib/modules/*'].first + '/kernel/sound/' - -# write the database to a file -puts SoundCardDBGenerator.generate_sound_card_db kernel_path +if Dir['/lib/modules/*'].first.nil? + STDERR.puts "No kernel installed, skipping building of the sound card database" +else + # generate the database for the first kernel found + kernel_path = Dir['/lib/modules/*'].first + '/kernel/sound/' + # write the database to a file + puts SoundCardDBGenerator.generate_sound_card_db kernel_path +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.2.2/package/yast2-sound.changes new/yast2-sound-4.2.4/package/yast2-sound.changes --- old/yast2-sound-4.2.2/package/yast2-sound.changes 2019-08-27 19:41:00.000000000 +0200 +++ new/yast2-sound-4.2.4/package/yast2-sound.changes 2020-04-30 09:37:05.000000000 +0200 @@ -1,4 +1,18 @@ ------------------------------------------------------------------- +Wed Apr 29 14:19:50 UTC 2020 - [email protected] + +- avoid attempts to build sound card database if no kernel + available (related to jsc#SLE-11862) +- 4.2.4 + +------------------------------------------------------------------- +Thu Apr 16 08:53:21 UTC 2020 - Michal Filka <[email protected]> + +- jsc#SLE-11862 + - dropped conditional build to unify SLE and OS builds +- 4.2.3 + +------------------------------------------------------------------- Tue Aug 27 18:36:49 CEST 2019 - [email protected] - Set X-SuSE-YaST-AutoInstResource in desktop file (bsc#144894). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-sound-4.2.2/package/yast2-sound.spec new/yast2-sound-4.2.4/package/yast2-sound.spec --- old/yast2-sound-4.2.2/package/yast2-sound.spec 2019-08-27 19:41:00.000000000 +0200 +++ new/yast2-sound-4.2.4/package/yast2-sound.spec 2020-04-30 09:37:05.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-sound -Version: 4.2.2 +Version: 4.2.4 Release: 0 Summary: YaST2 - Sound Configuration License: GPL-2.0-or-later @@ -26,16 +26,9 @@ Source0: %{name}-%{version}.tar.bz2 -# FIXME: SLE-12/15 builds packages for x86 and s390 (both 32 bit), -# but no runnable kernel, so this package cannot be built there. -%if !0%{?is_opensuse} -ExcludeArch: %ix86 s390 -%endif - BuildRequires: alsa-devel BuildRequires: doxygen BuildRequires: gcc-c++ -BuildRequires: kernel-default BuildRequires: libtool BuildRequires: perl-XML-Writer BuildRequires: ruby @@ -45,6 +38,11 @@ BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-testsuite +# workaround for OS builds, see jsc#SLE-11862 +%ifnarch i586 +BuildRequires: kernel-default +%endif + # Fixed handling of Kernel modules loaded on boot Requires: alsa # For proc_modules.scr
