Reveal the library files packed in the %files section as well as their versioning

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_listing_shared_library_files

The current situation caused an unannounced soname bump in Fedora Rawhide
as a result of the previous commit. This update will help to avoid it in the future.
This commit is contained in:
Michal Schorm 2023-07-27 10:02:56 +02:00
parent acdaffafc9
commit 0ccd534c73

View File

@ -54,7 +54,7 @@ rm $RPM_BUILD_ROOT/usr/bin/libotf-config
%files
%doc AUTHORS COPYING README NEWS
%{_libdir}/*.so.*
%{_libdir}/libotf.so.1{,.*}
%{_bindir}/otfdump
%{_bindir}/otflist
%{_bindir}/otftobdf
@ -63,7 +63,7 @@ rm $RPM_BUILD_ROOT/usr/bin/libotf-config
%files devel
%doc example
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/libotf.so
%{_libdir}/pkgconfig/*
%changelog