diff --git a/deps-packaging/nghttp2/cfbuild-nghttp2.spec b/deps-packaging/nghttp2/cfbuild-nghttp2.spec index 595d410f4..db0e26efa 100644 --- a/deps-packaging/nghttp2/cfbuild-nghttp2.spec +++ b/deps-packaging/nghttp2/cfbuild-nghttp2.spec @@ -30,11 +30,11 @@ rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} # Remove unused files -rm -rf %prefix/lib/libnghttp2.*a -rm -rf %prefix/share/doc/nghttp2/README.rst -rm -rf %prefix/share/man/man1/h2load.1 -rm -rf %prefix/share/man/man1/nghttp* -rm -rf %prefix/share/nghttp2/fetch-oscp-response +rm -rf ${RPM_BUILD_ROOT}%{prefix}/lib/libnghttp2.*a +rm -rf ${RPM_BUILD_ROOT}%{prefix}/share/doc/nghttp2/README.rst +rm -rf ${RPM_BUILD_ROOT}%{prefix}/share/man/man1/h2load.1 +rm -rf ${RPM_BUILD_ROOT}%{prefix}/share/man/man1/nghttp* +rm -rf ${RPM_BUILD_ROOT}%{prefix}/share/nghttp2/fetch-oscp-response %clean