diff options
author | Slava Barinov <v.barinov@samsung.com> | 2021-01-28 11:41:43 +0300 |
---|---|---|
committer | Slava Barinov <v.barinov@samsung.com> | 2021-01-28 14:59:20 +0300 |
commit | c45a409a56462d50c0a39c4cf52b756903355edd (patch) | |
tree | 94ee30120e244461e6853a5c302dc47381f6f70e | |
parent | 38cdf5113127519d0a13b7789166ed57c0e821a5 (diff) | |
download | rpm-c45a409a56462d50c0a39c4cf52b756903355edd.tar.gz rpm-c45a409a56462d50c0a39c4cf52b756903355edd.tar.bz2 rpm-c45a409a56462d50c0a39c4cf52b756903355edd.zip |
fixingsandbox/vbarinov/arch
Change-Id: Ief8df366a4142fb0eee60b4f673cfb1c2473a208
-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 |