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:
parent
3f2f6bad3d
commit
b8d55eb4fe
@ -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>
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user