From 459097ede99b17624a4ba60da985d9768c6e9949 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 26 May 2021 10:56:28 -0400 Subject: [PATCH] Guard against unintentional so-version bumps https://docs.fedoraproject.org/en-US/packaging-guidelines/#_listing_shared_library_files --- libgta.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libgta.spec b/libgta.spec index 7dffae8..d734745 100644 --- a/libgta.spec +++ b/libgta.spec @@ -1,6 +1,7 @@ Name: libgta Version: 1.2.1 -Release: 4%{?dist} +%global so_version 1 +Release: 5%{?dist} Summary: Library that implements the Generic Tagged Arrays file format License: LGPLv2+ URL: https://marlam.de/gta/ @@ -57,7 +58,8 @@ rm -rf %{buildroot}%{_docdir} %files %doc COPYING AUTHORS README -%{_libdir}/%{name}.so.* +%{_libdir}/%{name}.so.%{so_version} +%{_libdir}/%{name}.so.%{so_version}.* %files devel %{_libdir}/cmake/GTA-%{version} @@ -70,6 +72,9 @@ rm -rf %{buildroot}%{_docdir} %changelog +* Wed May 26 2021 Benjamin A. Beasley - 1.2.1-5 +- Guard against unintentional so-version bumps + * Fri May 21 2021 Sandro Mani - 1.2.1-4 - Rebuild (gdal)