Use a macro to avoid repeating the .so version, and improve .so globs
This commit is contained in:
parent
0fce2f1ffc
commit
d6f4a56b7e
@ -15,6 +15,7 @@
|
|||||||
Summary: Protocol Buffers - Google's data interchange format
|
Summary: Protocol Buffers - Google's data interchange format
|
||||||
Name: protobuf
|
Name: protobuf
|
||||||
Version: 3.19.4
|
Version: 3.19.4
|
||||||
|
%global so_version 30
|
||||||
Release: 7%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
# The entire source is BSD-3-Clause, except the following files, which belong
|
# The entire source is BSD-3-Clause, except the following files, which belong
|
||||||
@ -409,14 +410,14 @@ install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir}
|
|||||||
%files
|
%files
|
||||||
%doc CHANGES.txt CONTRIBUTORS.txt README.md
|
%doc CHANGES.txt CONTRIBUTORS.txt README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/libprotobuf.so.30*
|
%{_libdir}/libprotobuf.so.%{so_version}{,.*}
|
||||||
|
|
||||||
%files compiler
|
%files compiler
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/protoc
|
%{_bindir}/protoc
|
||||||
%{_mandir}/man1/protoc.1*
|
%{_mandir}/man1/protoc.1*
|
||||||
%{_libdir}/libprotoc.so.30*
|
%{_libdir}/libprotoc.so.%{so_version}{,.*}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%dir %{_includedir}/google
|
%dir %{_includedir}/google
|
||||||
@ -437,7 +438,7 @@ install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir}
|
|||||||
|
|
||||||
%files lite
|
%files lite
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/libprotobuf-lite.so.30*
|
%{_libdir}/libprotobuf-lite.so.%{so_version}{,.*}
|
||||||
|
|
||||||
%files lite-devel
|
%files lite-devel
|
||||||
%{_libdir}/libprotobuf-lite.so
|
%{_libdir}/libprotobuf-lite.so
|
||||||
@ -507,6 +508,7 @@ install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir}
|
|||||||
- Remove obsolete ldconfig_scriptlets macros
|
- Remove obsolete ldconfig_scriptlets macros
|
||||||
- The -vim subpackage now depends on vim-filesystem, no longer on vim-enhanced
|
- The -vim subpackage now depends on vim-filesystem, no longer on vim-enhanced
|
||||||
- Add a man page for protoc
|
- Add a man page for protoc
|
||||||
|
- Use a macro to avoid repeating the .so version, and improve .so globs
|
||||||
|
|
||||||
* Sun Aug 14 2022 Orion Poplawski <orion@nwra.com> - 3.19.4-6
|
* Sun Aug 14 2022 Orion Poplawski <orion@nwra.com> - 3.19.4-6
|
||||||
- Build python support with C++ (bz#2107921)
|
- Build python support with C++ (bz#2107921)
|
||||||
|
Loading…
Reference in New Issue
Block a user