Fix cmake module install path

epel9
Sandro Mani 5 years ago
parent d895c2bf93
commit 8cc90001be

@ -19,4 +19,4 @@ index 539caa4..a43fefe 100644
add_subdirectory(quazip)
-install(FILES FindQuaZip.cmake RENAME FindQuaZip${QUAZIP_LIB_VERSION_SUFFIX}.cmake DESTINATION ${CMAKE_ROOT}/Modules)
+install(FILES FindQuaZip.cmake RENAME FindQuaZip${QUAZIP_LIB_VERSION_SUFFIX}.cmake DESTINATION share/cmake)
+install(FILES FindQuaZip.cmake RENAME FindQuaZip${QUAZIP_LIB_VERSION_SUFFIX}.cmake DESTINATION ${SHARE_INSTALL_PREFIX}/cmake/Modules)

@ -1,6 +1,6 @@
Name: quazip
Version: 0.7.6
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Qt/C++ wrapper for the minizip library
License: GPLv2+ or LGPLv2+
URL: https://github.com/stachenov/quazip
@ -97,7 +97,7 @@ make install/fast DESTDIR=%{buildroot} -C build-qt4
%doc doc/html
%{_includedir}/quazip/
%{_libdir}/libquazip.so
%{_datadir}/cmake/FindQuaZip.cmake
%{_datadir}/cmake/Modules/FindQuaZip.cmake
%files qt5
%doc NEWS.txt README.md
@ -108,10 +108,13 @@ make install/fast DESTDIR=%{buildroot} -C build-qt4
%doc doc/html
%{_includedir}/quazip5/
%{_libdir}/libquazip5.so
%{_datadir}/cmake/FindQuaZip5.cmake
%{_datadir}/cmake/Modules/FindQuaZip5.cmake
%changelog
* Wed Mar 04 2020 Sandro Mani <manisandro@gmail.com> - 0.7.6-7
- Fix cmake module install path
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.6-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save