- Fix the -devel dangling symlink by moving to libPDAL
libpdal_*.so.%{soname} symlinks to libpdal_*.%{sovers} rpmlint not more complain. OBS-URL: https://build.opensuse.org/package/show/Application:Geo/PDAL?expand=0&rev=29
This commit is contained in:
parent
a15ff1895c
commit
eccd83c38f
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 7 16:29:16 UTC 2022 - Bruno Friedmann <bruno@ioda-net.ch>
|
||||||
|
|
||||||
|
- Fix the -devel dangling symlink by moving to libPDAL
|
||||||
|
libpdal_*.so.%{soname} symlinks to libpdal_*.%{sovers}
|
||||||
|
rpmlint not more complain.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 7 10:37:32 UTC 2022 - D. Berge <opensuse@navlost.eu>
|
Fri Jan 7 10:37:32 UTC 2022 - D. Berge <opensuse@navlost.eu>
|
||||||
|
|
||||||
|
15
PDAL.spec
15
PDAL.spec
@ -112,8 +112,6 @@ This package provides tools & utilities using PDAL library libpdal
|
|||||||
%package -n lib%{name}%{soname}
|
%package -n lib%{name}%{soname}
|
||||||
Summary: Point Data Abstraction Library (GDAL for point cloud data)
|
Summary: Point Data Abstraction Library (GDAL for point cloud data)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: lib%{lname}_base.so.%{soname} = %{version}
|
|
||||||
Provides: lib%{name}%{soname} = %{version}
|
|
||||||
|
|
||||||
%description -n lib%{name}%{soname}
|
%description -n lib%{name}%{soname}
|
||||||
PDAL is a C++ BSD library for translating and manipulating point cloud data.
|
PDAL is a C++ BSD library for translating and manipulating point cloud data.
|
||||||
@ -143,7 +141,6 @@ Summary: Development files and tools for PDAL applications
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: cmake
|
Requires: cmake
|
||||||
Requires: laszip-devel
|
Requires: laszip-devel
|
||||||
Requires: lib%{lname}_base.so.%{soname} = %{version}
|
|
||||||
Requires: lib%{name}%{soname} = %{version}
|
Requires: lib%{name}%{soname} = %{version}
|
||||||
Requires: libboost_filesystem-devel
|
Requires: libboost_filesystem-devel
|
||||||
Requires: libboost_headers-devel
|
Requires: libboost_headers-devel
|
||||||
@ -270,11 +267,16 @@ sed -i 's,/usr//usr/lib64,%{_libdir},g' %{buildroot}/%{_libdir}/cmake/PDAL/PDALC
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc AUTHORS.txt README.md RELEASENOTES.txt
|
%doc AUTHORS.txt README.md RELEASENOTES.txt
|
||||||
%{_libdir}/libpdal_base.so.%{sovers}
|
%{_libdir}/libpdal_base.so.%{sovers}
|
||||||
|
%{_libdir}/libpdal_base.so.%{soname}
|
||||||
# Plugins
|
# Plugins
|
||||||
%{_libdir}/libpdal_plugin_kernel_fauxplugin.so.%{sovers}
|
%{_libdir}/libpdal_plugin_kernel_fauxplugin.so.%{sovers}
|
||||||
|
%{_libdir}/libpdal_plugin_kernel_fauxplugin.so.%{soname}
|
||||||
%{_libdir}/libpdal_plugin_reader_pgpointcloud.so.%{sovers}
|
%{_libdir}/libpdal_plugin_reader_pgpointcloud.so.%{sovers}
|
||||||
|
%{_libdir}/libpdal_plugin_reader_pgpointcloud.so.%{soname}
|
||||||
%{_libdir}/libpdal_plugin_writer_pgpointcloud.so.%{sovers}
|
%{_libdir}/libpdal_plugin_writer_pgpointcloud.so.%{sovers}
|
||||||
|
%{_libdir}/libpdal_plugin_writer_pgpointcloud.so.%{soname}
|
||||||
%{_libdir}/libpdal_util.so.%{sovers}
|
%{_libdir}/libpdal_util.so.%{sovers}
|
||||||
|
%{_libdir}/libpdal_util.so.%{soname}
|
||||||
|
|
||||||
%files bash-completion
|
%files bash-completion
|
||||||
%dir %{_datadir}/bash-completion
|
%dir %{_datadir}/bash-completion
|
||||||
@ -285,18 +287,11 @@ sed -i 's,/usr//usr/lib64,%{_libdir},g' %{buildroot}/%{_libdir}/cmake/PDAL/PDALC
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc AUTHORS.txt README.md CONTRIBUTING.md
|
%doc AUTHORS.txt README.md CONTRIBUTING.md
|
||||||
%{_includedir}/pdal
|
%{_includedir}/pdal
|
||||||
# old compatibility link
|
|
||||||
%exclude %{_libdir}/libpdal_*.so.10
|
|
||||||
%{_libdir}/libpdal_base.so
|
%{_libdir}/libpdal_base.so
|
||||||
%{_libdir}/libpdal_plugin_kernel_fauxplugin.so
|
%{_libdir}/libpdal_plugin_kernel_fauxplugin.so
|
||||||
%{_libdir}/libpdal_plugin_reader_pgpointcloud.so
|
%{_libdir}/libpdal_plugin_reader_pgpointcloud.so
|
||||||
%{_libdir}/libpdal_plugin_writer_pgpointcloud.so
|
%{_libdir}/libpdal_plugin_writer_pgpointcloud.so
|
||||||
%{_libdir}/libpdal_util.so
|
%{_libdir}/libpdal_util.so
|
||||||
%{_libdir}/libpdal_base.so.%{soname}
|
|
||||||
%{_libdir}/libpdal_plugin_kernel_fauxplugin.so.%{soname}
|
|
||||||
%{_libdir}/libpdal_plugin_reader_pgpointcloud.so.%{soname}
|
|
||||||
%{_libdir}/libpdal_plugin_writer_pgpointcloud.so.%{soname}
|
|
||||||
%{_libdir}/libpdal_util.so.%{soname}
|
|
||||||
%{_libdir}/libpdalcpp.so
|
%{_libdir}/libpdalcpp.so
|
||||||
%{_libdir}/pkgconfig/pdal.pc
|
%{_libdir}/pkgconfig/pdal.pc
|
||||||
%{_libdir}/cmake/PDAL
|
%{_libdir}/cmake/PDAL
|
||||||
|
Loading…
Reference in New Issue
Block a user