To fix some spec parsing failures.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
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
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 --