summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2022-02-07 13:49:56 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2022-02-07 13:49:56 -0800
commit03b2c20de5aa09c079dfd14b23e5e3b3e0c45211 (patch)
tree45b36046f02995c5da6cfd50d8f1aab70182c892
parent8d268b1baa8fe3ef23166cc3b1e6868684082913 (diff)
downloadspecs-03b2c20de5aa09c079dfd14b23e5e3b3e0c45211.tar.gz
specs-03b2c20de5aa09c079dfd14b23e5e3b3e0c45211.tar.xz
specs-03b2c20de5aa09c079dfd14b23e5e3b3e0c45211.zip
the_foundation: stricter globbing for shared libraries
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
-rw-r--r--web/the_foundation.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/the_foundation.spec b/web/the_foundation.spec
index 72f2f44..5a8a414 100644
--- a/web/the_foundation.spec
+++ b/web/the_foundation.spec
@@ -23,6 +23,8 @@ BuildRequires: pkgconfig(zlib)
BuildRequires: doxygen
%endif
+%global abi_ver %%(echo %%{version}} | cut -d. -f1)
+
%global _description %{expand:
An object-oriented C library whose API is designed for a particular coding
style, taking cues from C++ STL and Qt.}
@@ -85,7 +87,7 @@ done
%files
%license LICENSE
%doc CHANGES.md README.md
-%{_libdir}/*.so.*
+%{_libdir}/*.so.%{abi_ver}{,.*}
%files devel
%{_includedir}/*