diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2013-02-26 10:04:13 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-06-11 17:48:02 +0300 |
commit | f8aebc11e96f2356074aba40e21d6091c2381ad2 (patch) | |
tree | 13e1b994153a6053cf58c86720ade3c0e6bf2b5f | |
parent | 63320c6233bf11a526d9c1108b367bf5278d7e99 (diff) | |
download | librpm-tizen-f8aebc11e96f2356074aba40e21d6091c2381ad2.tar.gz librpm-tizen-f8aebc11e96f2356074aba40e21d6091c2381ad2.tar.bz2 librpm-tizen-f8aebc11e96f2356074aba40e21d6091c2381ad2.zip |
packaging: Install Tizen macros
To fix some spec parsing failures.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-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 -- |