[projects/template-specs] - drop attr() from symlinks to avoid rpm 4.1x warnings; rpm 4.1x uses proper values and rpm5 is dead
qboosh
qboosh at pld-linux.org
Tue Mar 25 19:29:48 CET 2025
commit 82284affaed381a263fff831301d37ed44e8f739
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 25 19:03:33 2025 +0100
- drop attr() from symlinks to avoid rpm 4.1x warnings; rpm 4.1x uses proper values and rpm5 is dead
lib.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib.spec b/lib.spec
index dc3a992..607e017 100644
--- a/lib.spec
+++ b/lib.spec
@@ -137,7 +137,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS CREDITS README THANKS
%attr(755,root,root) %{_libdir}/%{name}.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/%{name}.so.N
+%ghost %{_libdir}/%{name}.so.N
%files common
%defattr(644,root,root,755)
@@ -147,7 +147,7 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
%doc devel-doc/* ChangeLog NEWS TODO
-%attr(755,root,root) %{_libdir}/%{name}.so
+%{_libdir}/%{name}.so
# if no pkgconfig support, or it misses .private deps, then include .la file
#%{_libdir}/libFOO.la
%{_includedir}/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/a03c6a67f0399225a8d8a12dbf4b329d83faf192
More information about the pld-cvs-commit
mailing list