From 9d3cc18add64b339406f7c56330a6066a2e2d88a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Tue, 7 Sep 2021 20:18:15 +0300 Subject: build.macros: remove .la files before mangling shebangs Avoid warnings like: + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/lib64/libfoo.la is executable but has no shebang, removing executable bit + /usr/lib/rpm/brp-remove-la-files --- build.macros.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.macros.in b/build.macros.in index 8ad302f..34466d4 100644 --- a/build.macros.in +++ b/build.macros.in @@ -436,8 +436,8 @@ fi } \ %{?py_auto_byte_compile:%{?__brp_python_bytecompile}} \ %{?__brp_check_rpaths} \ - %{?__brp_mangle_shebangs} \ %{?__brp_remove_la_files} \ + %{?__brp_mangle_shebangs} \ %{nil} %__spec_install_post\ -- cgit v1.2.1