diff options
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | packaging/librpm-tizen.spec | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index a1fdc32e9..30870a74f 100755 --- a/debian/rules +++ b/debian/rules @@ -22,6 +22,10 @@ override_dh_auto_configure: override_dh_auto_install: dh_auto_install --destdir=debian/tmp + # Install extra sources + install -m644 packaging/rpm-tizen_macros debian/tmp/usr/lib/librpm-tizen/rpm/tizen_macros + install -d debian/tmp/usr/lib/librpm-tizen/rpm/tizen + ln -s ../tizen_macros debian/tmp/usr/lib/librpm-tizen/rpm/tizen/macros override_dh_python2: dh_python2 --no-guessing-versions 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 -- |