[Fix] Add missing file section in rpm build
authorJihoon Lee <jhoon.it.lee@samsung.com>
Wed, 17 Mar 2021 23:28:34 +0000 (08:28 +0900)
committerSangjung Woo <again4you@gmail.com>
Thu, 18 Mar 2021 01:38:42 +0000 (10:38 +0900)
As nnstreamer mata package was not containing `files` section, it led to
the recent SR fail, this patch resolves the issue.

Also add %config directive to the configuration file

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
packaging/nnstreamer.spec

index 4cfb8f1..a8bf0cf 100644 (file)
@@ -761,6 +761,8 @@ cp -r result %{buildroot}%{_datadir}/nnstreamer/unittest/
 
 %postun -p /sbin/ldconfig
 
+%files
+
 %files core
 %manifest nnstreamer.manifest
 %defattr(-,root,root,-)
@@ -775,7 +777,7 @@ cp -r result %{buildroot}%{_datadir}/nnstreamer/unittest/
 %{_libdir}/libnnstreamer.so
 
 %files configuration
-%{_sysconfdir}/nnstreamer.ini
+%config %{_sysconfdir}/nnstreamer.ini
 
 # for tensorflow
 %if 0%{?tensorflow_support}