Accepting request 888397 from home:tiwai:branches:multimedia:libs

- Suppress automatic update of alsa-info.sh (bsc#1185280):
  alsa-info-no-update-for-distro-script.patch

OBS-URL: https://build.opensuse.org/request/show/888397
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=192
This commit is contained in:
Takashi Iwai 2021-04-26 08:44:56 +00:00 committed by Git OBS Bridge
parent 9d0f007087
commit 4267bf074f
3 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,24 @@
From: Takashi Iwai <tiwai@suse.de>
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 <tiwai@suse.de>
---
--- 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.

View File

@ -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

View File

@ -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