From 05cb528662ff1c68a70e38783320a0c45c7a7575 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Wed, 1 May 2019 10:58:41 +0100 Subject: [PATCH] Fix ARM rpm mangle issue --- x264.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/x264.spec b/x264.spec index 3494adc..0436e99 100644 --- a/x264.spec +++ b/x264.spec @@ -7,7 +7,7 @@ %global gver .%{gitdate}git%{gitversion} %global branch stable -%global _with_bootstrap 1 +#global _with_bootstrap 1 %{?_with_bootstrap: %global _without_gpac 1 @@ -27,11 +27,14 @@ %ifarch ppc64 %global slibdir %{_libdir}/altivec %endif +%ifarch armv7hl armv7hnl +%global __brp_mangle_shebangs_exclude_from x264|libx26410b.so.%{api}|libx264.so.%{api} +%endif Summary: H264/AVC video streams encoder Name: x264 Version: 0.%{api} -Release: 6%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist} +Release: 7%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist} License: GPLv2+ URL: https://www.videolan.org/developers/x264.html Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2 @@ -207,6 +210,9 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/ %endif %changelog +* Wed May 01 2019 Leigh Scott - 0.157-7.20190303git72db437 +- Fix ARM rpm mangle issue + * Tue Apr 30 2019 Sérgio Basto - 0.157-6.20190303git72db437_bootstrap - Bootstrap to fix arm builds