diff options
| -rw-r--r-- | geographiclib-tools.spec | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/geographiclib-tools.spec b/geographiclib-tools.spec index b42c239..e7a5e8d 100644 --- a/geographiclib-tools.spec +++ b/geographiclib-tools.spec @@ -1,7 +1,7 @@ # topdir: geographiclib-tools-2.7.0 Name: geographiclib-tools Version: 2.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GeographicLib command-line tools for geodesic and coordinate conversions License: MIT @@ -13,6 +13,8 @@ Packager: openEuler Builder <builder@openeuler.org> BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: gcc +BuildRequires: make %description GeographicLib provides a C++ library and command-line tools for: @@ -56,7 +58,12 @@ development. -DBUILD_SHARED_LIBS=ON \ -DBUILD_DOCUMENTATION=OFF \ -DCONVERT_WARNINGS_TO_ERRORS=OFF \ - -DUSE_BOOST=OFF + -DUSE_BOOST=OFF \ + -DCMAKE_INSTALL_LIBDIR=%{_lib} \ + -DCMAKEDIR=%{_lib}/cmake/GeographicLib \ + -DPKGDIR=%{_lib}/pkgconfig \ + -DDOCDIR= \ + -DEXAMPLEDIR= %cmake_build %install @@ -81,5 +88,11 @@ development. %{_libdir}/pkgconfig/geographiclib.pc %changelog +* Mon Oct 12 2026 openEuler Builder <builder@openeuler.org> - 2.7.0-2 +- Fix library install path: set CMAKE_INSTALL_LIBDIR/CMAKEDIR/PKGDIR to %%{_lib} + so shared lib, cmake config and pkgconfig go to lib64 not lib +- Disable HTML doc and example installation (DOCDIR/EXAMPLEDIR empty) to avoid + unpackaged files + * Mon Oct 12 2026 openEuler Builder <builder@openeuler.org> - 2.7.0-1 - Initial package |
