aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2021-09-07 20:18:15 +0300
committerJani Välimaa <wally@mageia.org>2021-09-07 20:18:15 +0300
commit9d3cc18add64b339406f7c56330a6066a2e2d88a (patch)
tree34f8076637299b9f7e272a48a7a842e2790a281a
parentda3621e11f6895c39cd06acd5c7da9405ec1989a (diff)
downloadrpm-setup-9d3cc18add64b339406f7c56330a6066a2e2d88a.tar
rpm-setup-9d3cc18add64b339406f7c56330a6066a2e2d88a.tar.gz
rpm-setup-9d3cc18add64b339406f7c56330a6066a2e2d88a.tar.bz2
rpm-setup-9d3cc18add64b339406f7c56330a6066a2e2d88a.tar.xz
rpm-setup-9d3cc18add64b339406f7c56330a6066a2e2d88a.zip
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
-rw-r--r--build.macros.in2
1 files changed, 1 insertions, 1 deletions
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\