Merge topic 'CPackRPM-superfluous-%clean-section'

1f939db3c4 CPack/RPM: Remove superfluous `%clean` section from generated spec file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11792
This commit is contained in:
Brad King authored and Kitware Robot committed 2026-03-10 09:56:16 -04:00
commit d1baaea398
1 file changed
-4
-4
View File
@@ -1747,8 +1747,6 @@ Vendor: \@CPACK_RPM_PACKAGE_VENDOR\@
%install
\@TMP_RPM_INSTALL\@
%clean
%changelog
\@CPACK_RPM_SPEC_CHANGELOG\@
"
@@ -1890,8 +1888,6 @@ mv %_topdir/tmpBBroot $RPM_BUILD_ROOT
\@TMP_RPM_DEBUGINFO_INSTALL\@
%clean
\@post_\@
\@posttrans_\@
\@postun_\@