diff options
author | B Stack <bgstack15@gmail.com> | 2019-03-28 20:12:39 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-03-28 20:12:39 -0400 |
commit | 6ed122483a1e350b0aeb7907f82c9d43e6c0156a (patch) | |
tree | 681f6a8baaed5fe3856ca158d8f3542012046cd0 /palemoon | |
parent | palemoon 28.4.1 rpm rc1 (diff) | |
download | stackrpms-6ed122483a1e350b0aeb7907f82c9d43e6c0156a.tar.gz stackrpms-6ed122483a1e350b0aeb7907f82c9d43e6c0156a.tar.bz2 stackrpms-6ed122483a1e350b0aeb7907f82c9d43e6c0156a.zip |
suppress binary stripping on el6
The official release does not suffer from this, but for some
reason the stackrpms release of palemoon fails the binary
stripping at the end with messages similar to:
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
BFD: /builddir/build/BUILDROOT/palemoon-stackrpms-28.4.1-1.x86_64/usr/lib64/palemoon-stackrpms-devel/sdk/lib/libxpcomglue.a(PLDHashTable.o): invalid relocation type 42
/usr/bin/strip: PLDHashTable.o: Bad value
BFD: /builddir/build/BUILDROOT/palemoon-stackrpms-28.4.1-1.x86_64/usr/lib64/palemoon-stackrpms-devel/sdk/lib/libxpcomglue_s.a(Unified_cpp_xpcom_glue0.o): invalid relocation type 42
/usr/bin/strip: Unified_cpp_xpcom_glue0.o: Bad value
BFD: /builddir/build/BUILDROOT/palemoon-stackrpms-28.4.1-1.x86_64/usr/lib64/palemoon-stackrpms-devel/sdk/lib/libmozglue.a(SSE.o): invalid relocation type 42
/usr/bin/strip: SSE.o: Bad value
BFD: /builddir/build/BUILDROOT/palemoon-stackrpms-28.4.1-1.x86_64/usr/lib64/palemoon-stackrpms-devel/sdk/lib/libmemory.a(jemalloc_config.o): invalid relocation type 42
/usr/bin/strip: jemalloc_config.o: Bad value
BFD: /builddir/build/BUILDROOT/palemoon-stackrpms-28.4.1-1.x86_64/usr/lib64/palemoon-stackrpms-devel/sdk/lib/libunicharutil_external_s.a(chariter.o): invalid relocation type 42
/usr/bin/strip: chariter.o: Bad value
BFD: /builddir/build/BUILDROOT/palemoon-stackrpms-28.4.1-1.x86_64/usr/lib64/palemoon-stackrpms-devel/sdk/lib/libcrmf.a(crmfenc.o): invalid relocation type 42
/usr/bin/strip: crmfenc.o: Bad value
error: Bad exit status from /var/tmp/rpm-tmp.pudIld (%install)
Diffstat (limited to 'palemoon')
-rw-r--r-- | palemoon/palemoon-stackrpms.spec | 5 | ||||
-rw-r--r-- | palemoon/palemoon.spec | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/palemoon/palemoon-stackrpms.spec b/palemoon/palemoon-stackrpms.spec index 9fc8c4a..ad1fc73 100644 --- a/palemoon/palemoon-stackrpms.spec +++ b/palemoon/palemoon-stackrpms.spec @@ -27,6 +27,11 @@ %define scl_buildreq devtoolset-7-toolchain %endif +# suppress binary strippping on el6 which fails for some reason +%if 0%{?el6} + %global __os_install_post %{nil} +%endif + %if 0%{stackrpms_custom} Name: palemoon-stackrpms Summary: Pale Moon web browser with stackrpms prefs diff --git a/palemoon/palemoon.spec b/palemoon/palemoon.spec index 05aca70..2b00195 100644 --- a/palemoon/palemoon.spec +++ b/palemoon/palemoon.spec @@ -27,6 +27,11 @@ %define scl_buildreq devtoolset-7-toolchain %endif +# suppress binary strippping on el6 which fails for some reason +%if 0%{?el6} + %global __os_install_post %{nil} +%endif + %if 0%{stackrpms_custom} Name: palemoon-stackrpms Summary: Pale Moon web browser with stackrpms prefs |