aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2023-11-22 22:17:57 +0200
committerJani Välimaa <wally@mageia.org>2023-11-22 22:17:57 +0200
commit69d1e430eafbabe3ba148538c28f2bf771370ab2 (patch)
treeaa1df86663da3163a094a549a5993dddb60430ea
parent9e8070f0c7594da003839d865658b83c200704ff (diff)
downloadrpm-setup-69d1e430eafbabe3ba148538c28f2bf771370ab2.tar
rpm-setup-69d1e430eafbabe3ba148538c28f2bf771370ab2.tar.gz
rpm-setup-69d1e430eafbabe3ba148538c28f2bf771370ab2.tar.bz2
rpm-setup-69d1e430eafbabe3ba148538c28f2bf771370ab2.tar.xz
rpm-setup-69d1e430eafbabe3ba148538c28f2bf771370ab2.zip
Mangle script shebangs
-rw-r--r--NEWS2
-rwxr-xr-xautogen.sh2
-rwxr-xr-xbrp-mangle-shebangs2
-rwxr-xr-xfind-provides.in2
-rwxr-xr-xfind-requires.in2
-rwxr-xr-xfix-libtool-from-moving-options-after-libs2
-rwxr-xr-xforce-as-needed-for-shared-lib-in-libtool2
-rwxr-xr-xtests.sh2
-rwxr-xr-xtests/macros.sh2
9 files changed, 10 insertions, 8 deletions
diff --git a/NEWS b/NEWS
index 36a0b3a..bd5602e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- mangle script shebangs
+
Version 2.73 - 22 November 2023, by Jani Välimaa
- macros: include RUSTFLAGS in %set_build_flags
- macros: set -g when building Vala applications
diff --git a/autogen.sh b/autogen.sh
index 2120288..05af284 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
aclocal
libtoolize --force --copy
automake -a -c
diff --git a/brp-mangle-shebangs b/brp-mangle-shebangs
index ab7af60..5343519 100755
--- a/brp-mangle-shebangs
+++ b/brp-mangle-shebangs
@@ -1,4 +1,4 @@
-#!/bin/bash -eu
+#!/usr/bin/bash -eu
# If using normal root, avoid changing anything.
if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
diff --git a/find-provides.in b/find-provides.in
index 598e099..4feab0a 100755
--- a/find-provides.in
+++ b/find-provides.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
# This script reads filenames from STDIN and outputs any relevant provides
# information that needs to be included in the package.
diff --git a/find-requires.in b/find-requires.in
index b15c42c..2cdbe13 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/bash
#
# Auto-generate requirements for ELF executables and library
diff --git a/fix-libtool-from-moving-options-after-libs b/fix-libtool-from-moving-options-after-libs
index e8db899..134a2e3 100755
--- a/fix-libtool-from-moving-options-after-libs
+++ b/fix-libtool-from-moving-options-after-libs
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
CONFIGURE_TOP="${1:-.}"
if [ -e $CONFIGURE_TOP/configure ] && grep -q -F '$deplibs $compiler_flags' $CONFIGURE_TOP/configure; then
diff --git a/force-as-needed-for-shared-lib-in-libtool b/force-as-needed-for-shared-lib-in-libtool
index 2694273..27b691c 100755
--- a/force-as-needed-for-shared-lib-in-libtool
+++ b/force-as-needed-for-shared-lib-in-libtool
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
# replaces
# tmp_sharedflag='-shared' ;;
diff --git a/tests.sh b/tests.sh
index 2ffdd96..72b490e 100755
--- a/tests.sh
+++ b/tests.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
allerrs=0
diff --git a/tests/macros.sh b/tests/macros.sh
index 972ceca..44f0df9 100755
--- a/tests/macros.sh
+++ b/tests/macros.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/sh
RPMEVAL=./rpmeval