[packages/libcomps] - cleanup, defattr before any files

qboosh qboosh at pld-linux.org
Fri Oct 6 21:50:25 CEST 2023


commit b6245529414041bcc09f88a0142e69ef64ffa625
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 6 21:42:12 2023 +0200

    - cleanup, defattr before any files

 libcomps.spec | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libcomps.spec b/libcomps.spec
index 83415b3..f7047c4 100644
--- a/libcomps.spec
+++ b/libcomps.spec
@@ -1,8 +1,4 @@
 #
-# TODO
-# - fix missing -lm
-# - convince upstream to fix SONAME: libcomps.so.0.1.6
-#
 # Conditional build:
 %bcond_without	doc	# don't build (doxygen and sphinx) docs
 
@@ -119,8 +115,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/libcomps.pc
 
 %files -n python3-libcomps
-%{?with_doc:%doc build/src/python/docs/html/{*.html,*.js,_static}}
 %defattr(644,root,root,755)
+%if %{with doc}
+%doc build/src/python/docs/html/{*.html,*.js,_static}
+%endif
 %dir %{py3_sitedir}/libcomps
 %{py3_sitedir}/libcomps/__init__.py
 %attr(755,root,root) %{py3_sitedir}/libcomps/_libpycomps.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libcomps.git/commitdiff/b6245529414041bcc09f88a0142e69ef64ffa625



More information about the pld-cvs-commit mailing list