SHA256
3
0
forked from pool/cmake
Dirk Mueller 2023-06-13 06:27:49 +00:00 committed by Git OBS Bridge
parent b8d55eb4fe
commit 0f32c4f3f0

View File

@ -204,7 +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 "1s@#!.*python.*@#!$(realpath %__python3)@" %{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