From 50aad1ec8aad945a971a115c4d0fb233dedc8316 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 15 Apr 2021 19:03:32 -0400 Subject: [PATCH] Use much stricter file globs --- libinstpatch.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libinstpatch.spec b/libinstpatch.spec index 204d174..3bd7f88 100644 --- a/libinstpatch.spec +++ b/libinstpatch.spec @@ -1,5 +1,7 @@ Name: libinstpatch Version: 1.0.0 +%global api_version 1.0 +%global so_version 0 Release: 24.20110806svn386%{?dist} Summary: Instrument file software library @@ -53,13 +55,14 @@ applications that use %{name}. %files %doc AUTHORS ChangeLog COPYING NEWS README -%{_libdir}/%{name}*.so.* +%{_libdir}/%{name}-%{api_version}.so.%{so_version} +%{_libdir}/%{name}-%{api_version}.so.%{so_version}.* %files devel %doc examples/create_sf2.c -%{_includedir}/%{name}* -%{_libdir}/%{name}*.so +%{_includedir}/%{name}-%{api_version} +%{_libdir}/%{name}-%{api_version}.so %{_libdir}/pkgconfig/%{name}*.pc @@ -67,6 +70,7 @@ applications that use %{name}. * Thu Apr 15 2021 Benjamin A. Beasley - 1.0.0-24.20110806svn386 - Adjust whitespace and ordering to personal preference - Drop obsolete ldconfig scriptlets +- Use much stricter file globs * Tue Jan 26 2021 Fedora Release Engineering - 1.0.0-23.20110806svn386 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild