From 4370854a08a01a22604a0936ffebf3938978c89d Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Wed, 6 Oct 2021 14:23:50 -0400 Subject: [PATCH] Use stricter globs to ensure so-version changes are detected --- libfakekey.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libfakekey.spec b/libfakekey.spec index bfb46d5..5539a17 100644 --- a/libfakekey.spec +++ b/libfakekey.spec @@ -4,6 +4,7 @@ Name: libfakekey Version: 0.1 +%global so_version 0 Release: 28%{?dist} Summary: Library for converting characters to X key-presses @@ -62,7 +63,8 @@ rm -vf '%{buildroot}%{_libdir}/libfakekey.la' %files %license COPYING -%{_libdir}/libfakekey.so.* +%{_libdir}/libfakekey.so.%{so_version} +%{_libdir}/libfakekey.so.%{so_version}.* %files devel @@ -79,6 +81,7 @@ rm -vf '%{buildroot}%{_libdir}/libfakekey.la' - Use pkgconfig(…) dependencies where appropriate - Upgrade source hash from MD5 to SHA-512 - Reduce spec file macro indirection and modernize macros +- Use stricter globs to ensure so-version changes are detected * Thu Jul 22 2021 Fedora Release Engineering - 0.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild