SHA256
3
0
forked from pool/cmake

- modify shebang to the actual python interpreter on install

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=534
This commit is contained in:
Dirk Mueller 2023-06-12 23:00:22 +00:00 committed by Git OBS Bridge
parent 3f2f6bad3d
commit b8d55eb4fe
2 changed files with 6 additions and 0 deletions

View File

@ -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> Fri May 19 07:20:35 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -204,6 +204,7 @@ install -m644 %{SOURCE1} -D %{buildroot}%{_rpmconfigdir}/macros.d/macros.cmake
# RPM auto provides # RPM auto provides
install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr install -p -m0644 -D %{SOURCE3} %{buildroot}%{_fileattrsdir}/cmake.attr
install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov install -p -m0755 -D %{SOURCE4} %{buildroot}%{_rpmconfigdir}/cmake.prov
sed -i "1s@#!.*python.*@#!$(realpath %__python3)@" %{buildroot}%{_rpmconfigdir}/cmake.prov
# fix: W: files-duplicate (%%license covers already) # fix: W: files-duplicate (%%license covers already)
rm %{buildroot}%{_docdir}/cmake/Copyright.txt rm %{buildroot}%{_docdir}/cmake/Copyright.txt