Changes conf path to /hal/share/alsa 50/251650/2
authorJaechul Lee <jcsing.lee@samsung.com>
Mon, 18 Jan 2021 06:38:25 +0000 (15:38 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Mon, 18 Jan 2021 06:40:35 +0000 (15:40 +0900)
[Version] 1.0.28-7
[Issue Type] None

Change-Id: Ic2c50d88b37163a491851c49b0a5ad4ed80824d9
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/alsa-lib.spec

index 79d3739..1be51bd 100644 (file)
@@ -1,12 +1,13 @@
 Name:           alsa-lib
 Version:        1.0.28
-Release:        6
+Release:        7
 License:        LGPL-2.1+
 Summary:        The Advanced Linux Sound Architecture (ALSA) library
 Url:            http://www.alsa-project.org/
 Group:          System/Audio
 Source0:        ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}.tar.bz2
 Source1001:    alsa-lib.manifest
+%define confdir /hal/share/alsa
 
 %description
 The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
@@ -42,7 +43,8 @@ cp %{SOURCE1001} .
     --disable-alisp \
     --disable-python \
     --with-gnu-ld \
-    --with-pcm-plugins=rate,route,linear,plug,dmix,dsnoop,asym,mmap,ioplug,null,empty
+    --with-pcm-plugins=rate,route,linear,plug,dmix,dsnoop,asym,mmap,ioplug,null,empty \
+    --with-configdir=%{confdir}
 
 make %{?_smp_mflags}
 
@@ -62,7 +64,7 @@ rm -f %{buildroot}/%{_bindir}/aserver
 %license COPYING
 %{_libdir}/lib*.so.*
 %{_libdir}/alsa-lib/smixer/*.so
-%{_datadir}/alsa/*
+%{confdir}/*
 
 %files -n libasound-devel
 %manifest %{name}.manifest