Refactoring rpm spec 33/273233/2
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 1 Apr 2022 02:06:21 +0000 (11:06 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 9 May 2022 00:49:13 +0000 (00:49 +0000)
Change-Id: I1a391efc60edd8d4d06b727b5bce42cb58160e85
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
packaging/nlp.spec

index 14e5068..2c6f3ff 100755 (executable)
@@ -68,17 +68,17 @@ rm -rf %{buildroot}
 %postun
 
 %files
-%manifest service/org.tizen.nlp.service.manifest
+%manifest service/%{name}.manifest
 %defattr(-,root,root,-)
-%attr(755,root,root) %{_app_bin_dir}/org.tizen.nlp.service
+%attr(755,root,root) %{_app_bin_dir}/%{name}
 %{_app_bin_dir}/*
-%{TZ_SYS_RO_PACKAGES}/org.tizen.nlp.service.xml
+%{TZ_SYS_RO_PACKAGES}/%{name}.xml
 %{python3_sitelib}/langdetect/*
 %{python3_sitelib}/nltk/*
 %license LICENSE
 
 %files data-en
-%manifest service/org.tizen.nlp.service.manifest
+%manifest service/%{name}.manifest
 %defattr(-,root,root,-)
 %license LICENSE
 /usr/local/lib/nltk_data/*