diff options
-rw-r--r-- | packaging/baselibs.conf | 10 | ||||
-rw-r--r-- | packaging/rpm.spec | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 000000000..43b17ce61 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1,10 @@ +arch armv7l targets armv7hl:armv7hl + +rpm + autoreqprov off + +/ + +rpm-build + autoreqprov off + +/ + diff --git a/packaging/rpm.spec b/packaging/rpm.spec index 9bb1322fe..497b9a21a 100644 --- a/packaging/rpm.spec +++ b/packaging/rpm.spec @@ -253,6 +253,17 @@ rm -f %{_dbpath}/Filemd5s \ %{_dbpath}/Requireversion \ %{_dbpath}/Provideversion +%ifarch armv7l +sed -e s/armv7l-tizen-linux-gnueabi/armv7hl-tizen-linux-gnueabihf/g -i /usr/lib/rpm/macros +sed -e s/armv7l/armv7hl/g -i /usr/lib/rpm/macros +%endif + +%post build +%ifarch armv7l +sed -e s/armv7l-tizen-linux-gnueabi/armv7hl-tizen-linux-gnueabihf/g -i /usr/lib/rpm/macros +sed -e s/armv7l/armv7hl/g -i /usr/lib/rpm/macros +%endif + %postun /sbin/ldconfig |