Changes conf path to /hal/share/alsa 57/252657/2 accepted/tizen/unified/20210216.125148 submit/tizen/20210216.070346
authorJaechul Lee <jcsing.lee@samsung.com>
Mon, 1 Feb 2021 06:38:30 +0000 (15:38 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Mon, 1 Feb 2021 06:42:01 +0000 (15:42 +0900)
Change-Id: I29933b6e04d85ce1a727f6057454daa2eca6ff3b
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/alsa-lib.spec

index 9fc2e79aac66eea5d3db49724e3948277aeb6364..675f58d9a7d5903d30e6fa53752be4283140abdd 100644 (file)
@@ -1,12 +1,13 @@
 Name:           alsa-lib
 Version:        1.0.29
-Release:        0
+Release:        1
 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_datadir}/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