summaryrefslogtreecommitdiff
path: root/packaging/librpm-tizen.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/librpm-tizen.spec')
-rw-r--r--packaging/librpm-tizen.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/librpm-tizen.spec b/packaging/librpm-tizen.spec
index 21b0b0592..308d6c357 100644
--- a/packaging/librpm-tizen.spec
+++ b/packaging/librpm-tizen.spec
@@ -119,6 +119,11 @@ install -d %{buildroot}%{python_sitearch}
cp -ax tmp_install/%{_libdir}/%{name} %{buildroot}%{_libdir}/
cp -ax tmp_install/%{python_sitearch}/%{python_mod_name} %{buildroot}%{python_sitearch}/
+# Install extra sources
+install -m644 %{SOURCE4} %{buildroot}%{_libdir}/%{name}/rpm/tizen_macros
+install -d %{buildroot}%{_libdir}/%{name}/rpm/tizen
+ln -s ../tizen_macros %{buildroot}%{_libdir}/%{name}/rpm/tizen/macros
+
# Delete unwanted development files etc.
find %{buildroot} -name "*.la" | xargs rm -f --
find %{buildroot}/%{_libdir}/%{name} -name "*.so" | xargs rm -f --