diff --git a/devscripts.changes b/devscripts.changes index 30488ff..b71314e 100644 --- a/devscripts.changes +++ b/devscripts.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue May 21 10:43:58 UTC 2024 - Dominique Leuenberger + +- Mark %{buildroot}%{_bindir}/checkbashisms executable: sed … > + %{buildroot}%{_bindir}/checkbashisms creates a non-executable, + regular file. + ------------------------------------------------------------------- Mon Feb 26 07:58:09 UTC 2024 - Dominique Leuenberger diff --git a/devscripts.spec b/devscripts.spec index b809c9e..3e53e95 100644 --- a/devscripts.spec +++ b/devscripts.spec @@ -1,7 +1,7 @@ # # spec file for package devscripts # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -118,6 +118,7 @@ make %{?_smp_mflags} V=1 \ %if "%{flavor}" == "checkbashisms" mkdir -p %{buildroot}%{_bindir} sed -e "s/###VERSION###/%{version}/" scripts/checkbashisms.pl > %{buildroot}%{_bindir}/checkbashisms +chmod a+x %{buildroot}%{_bindir}/checkbashisms install -D -m755 scripts/checkbashisms.bash_completion %{buildroot}%{_datadir}/bash-completion/completions/checkbashisms %endif