From 34559e0319207408ab2fba9aa65825316da4f1a4 Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Mon, 20 Nov 2023 23:01:57 +0100 Subject: [PATCH] Make file lists more explicit to avoid accidental ABI changes --- libcap.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libcap.spec b/libcap.spec index 92aaa72..93959cd 100644 --- a/libcap.spec +++ b/libcap.spec @@ -78,7 +78,8 @@ chmod +x %{buildroot}/%{_libdir}/*.so.* %files %license License %doc doc/capability.md -%{_libdir}/*.so.* +%{_libdir}/libcap.so.2{,.*} +%{_libdir}/libpsx.so.2{,.*} %{_sbindir}/{capsh,getcap,getpcaps,setcap} %{_mandir}/man1/capsh.1* %{_mandir}/man8/{getcap,getpcaps,setcap}.8* @@ -89,9 +90,15 @@ chmod +x %{buildroot}/%{_libdir}/*.so.* %{_libdir}/libpsx.a %files devel -%{_includedir}/* -%{_libdir}/*.so -%{_mandir}/man3/*.3* +%{_includedir}/sys/capability.h +%{_includedir}/sys/psx_syscall.h +%{_libdir}/libcap.so +%{_libdir}/libpsx.so +%{_mandir}/man3/cap*.3* +%{_mandir}/man3/libcap.3* +%{_mandir}/man3/libpsx.3* +%{_mandir}/man3/psx_*.3* +%{_mandir}/man3/__psx_syscall.3* %{_libdir}/pkgconfig/{libcap,libpsx}.pc %files -n captree @@ -103,6 +110,7 @@ chmod +x %{buildroot}/%{_libdir}/*.so.* * Mon Nov 06 2023 Carlos Rodriguez-Fernandez - 2.69-1 - Update to 2.69 (with contribs from Yanko Kaneti , and Andrew G. Morgan ) - Update license to SPDX (by Anderson Toshiyuki Sasaki ) +- Make file lists more explicit to avoid accidental ABI changes (Dominik Mierzejewski ) * Thu Jul 20 2023 Fedora Release Engineering - 2.48-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild