diff --git a/alsa-info-no-update-for-distro-script.patch b/alsa-info-no-update-for-distro-script.patch new file mode 100644 index 0000000..9c0c654 --- /dev/null +++ b/alsa-info-no-update-for-distro-script.patch @@ -0,0 +1,24 @@ +From: Takashi Iwai +Subject: alsa-info: Suppress the automatic update +Patch-mainline: Never, distro specific +References: bsc#1185280 + +We don't want to modify the script distributed in the standard package. + +Signed-off-by: Takashi Iwai + +--- +--- a/alsa-info/alsa-info.sh ++++ b/alsa-info/alsa-info.sh +@@ -720,11 +720,6 @@ if [ -s "$TEMPDIR/alsa-usbmixer.tmp" ]; then + echo "" >> $FILE + fi + +-#If no command line options are specified, then run as though --with-all was specified +-if [ -z "$1" ]; then +- update +-fi +- + fi # proceed + + #loop through command line arguments, until none are left. diff --git a/alsa-utils.changes b/alsa-utils.changes index a9ec977..3519d48 100644 --- a/alsa-utils.changes +++ b/alsa-utils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 26 10:34:15 CEST 2021 - tiwai@suse.de + +- Suppress automatic update of alsa-info.sh (bsc#1185280): + alsa-info-no-update-for-distro-script.patch + ------------------------------------------------------------------- Thu Mar 18 08:40:22 CET 2021 - tiwai@suse.de diff --git a/alsa-utils.spec b/alsa-utils.spec index 66af5d4..8e7df37 100644 --- a/alsa-utils.spec +++ b/alsa-utils.spec @@ -52,6 +52,7 @@ Patch22: 0022-alsamixer-remove-dead-fcn-widget_handle_key-in-widge.patch Patch23: 0023-alsamixer-remove-unused-variable-y-in-display_scroll.patch Patch24: 0024-alsamixer-fix-shift-in-parse_words.patch Patch25: 0025-aplay-fix-the-test-position-test-for-playback-avail-.patch +Patch100: alsa-info-no-update-for-distro-script.patch Patch101: alsa-utils-configure-version-revert.patch BuildRequires: alsa-devel %ifarch %ix86 x86_64 %arm aarch64 ppc64le riscv64 @@ -117,6 +118,7 @@ and test audio before and after PM state changes. %patch23 -p1 %patch24 -p1 %patch25 -p1 +%patch100 -p1 %if 0%{?do_autoreconf} %patch101 -p1 # fix stupid automake's automatic action