SHA256
1
0
forked from pool/devscripts

Accepting request 1175521 from home:dimstar:Factory

- Mark %{buildroot}%{_bindir}/checkbashisms executable: sed … >
  %{buildroot}%{_bindir}/checkbashisms creates a non-executable,
  regular file.

OBS-URL: https://build.opensuse.org/request/show/1175521
OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/devscripts?expand=0&rev=31
This commit is contained in:
Timo Jyrinki 2024-05-23 11:14:37 +00:00 committed by Git OBS Bridge
parent 7b59e0b8ea
commit 0f853a5619
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue May 21 10:43:58 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <dimstar@opensuse.org>

View File

@ -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