Accepting request 1089211 from home:badshah400:lal_update

Fix a couple of incorrect hashbangs on executable scripts (now also fixed for Leap 15.x).

OBS-URL: https://build.opensuse.org/request/show/1089211
OBS-URL: https://build.opensuse.org/package/show/science/lal?expand=0&rev=31
This commit is contained in:
Atri Bhattacharya 2023-05-26 15:53:01 +00:00 committed by Git OBS Bridge
parent ac4e835599
commit 5451e8b2c0
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 26 14:30:47 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Fix a couple of incorrect hashbangs on executable scripts.
-------------------------------------------------------------------
Tue Apr 18 10:35:22 UTC 2023 - pgajdos@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file
# spec file for package lal
#
# Copyright (c) 2023 SUSE LLC
#
@ -195,6 +195,9 @@ find %{buildroot}%{$python_sitearch} -iname \*pyc -type f \( -exec grep 'home/ab
}
%python_expand %fdupes %{buildroot}%{$python_sitearch}/
# Fix broken hashbang
sed -Ei "1{s|(python3\.?[0-9]*)|%{_bindir}/\1|}" %{buildroot}%{_bindir}/lal_{path2cache,searchsum2cache}
%endif
%check
@ -216,7 +219,7 @@ fi
%postun -n %{shliblalsupport} -p /sbin/ldconfig
%files %{python_files}
%{python_sitearch}/lal
%{python_sitearch}/lal/
%files -n %{shliblal}
%{_libdir}/liblal.so.*