forked from pool/cmake
Accepting request 1092773 from devel:tools:building
- modify shebang to the actual python interpreter on install OBS-URL: https://build.opensuse.org/request/show/1092773 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=235
This commit is contained in:
commit
8be3f0525c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 12 22:59:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- modify shebang to the actual python interpreter on install
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 07:20:35 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
|
@ -204,6 +204,7 @@ install -m644 %{SOURCE1} -D %{buildroot}%{_rpmconfigdir}/macros.d/macros.cmake
|
||||
# RPM auto provides
|
||||
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr
|
||||
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov
|
||||
sed -i -e "1s@#!.*python.*@#!$(realpath /usr/bin/python3)@" %{buildroot}%{_rpmconfigdir}/cmake.prov
|
||||
|
||||
# fix: W: files-duplicate (%%license covers already)
|
||||
rm %{buildroot}%{_docdir}/cmake/Copyright.txt
|
||||
|
Loading…
Reference in New Issue
Block a user