diff --git a/osmium-tool-manpage.patch b/osmium-tool-manpage.patch deleted file mode 100644 index a8fa7ee..0000000 --- a/osmium-tool-manpage.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit 3a9ed238aef2031f754d3d5c1a7fbe6af35b945c -Author: Bas Couwenberg -Date: Sat Aug 26 10:02:21 2017 +0200 - - Only install manpage directories, not CMake files. - -diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt -index 7c42cc0..bdcd587 100644 ---- a/man/CMakeLists.txt -+++ b/man/CMakeLists.txt -@@ -68,7 +68,7 @@ if(PANDOC) - add_man_page(5 osmium-file-formats) - add_man_page(5 osmium-index-types) - -- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DESTINATION share) -+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man1 ${CMAKE_CURRENT_BINARY_DIR}/man5 DESTINATION share/man) - - add_custom_target(man ALL DEPENDS ${ALL_MAN_PAGES}) - else() diff --git a/osmium-tool.spec b/osmium-tool.spec index 432dd3e..c9ce137 100644 --- a/osmium-tool.spec +++ b/osmium-tool.spec @@ -10,8 +10,6 @@ Summary: Command line tool for working with OpenStreetMap data License: GPLv3 URL: http://osmcode.org/osmium/ Source0: https://github.com/osmcode/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -# https://github.com/osmcode/osmium-tool/commit/3a9ed238aef2031f754d3d5c1a7fbe6af35b945c -Patch0: osmium-tool-manpage.patch BuildRequires: cmake gcc-c++ pandoc man-db