From 3e7c1aeff4a3d2ae277da715e83d8ea857a30e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 30 Oct 2024 13:58:22 +0100 Subject: [PATCH] Fixup the %files list for --without docs RPM build errors: ... Directory not found: /builddir/build/BUILD/binutils-2.43.50-build/BUILDROOT/usr/share/doc/gprofng File not found: /builddir/build/BUILD/binutils-2.43.50-build/BUILDROOT/usr/share/doc/gprofng/examples.tar.gz --- binutils.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binutils.spec b/binutils.spec index 8753c19..8f53537 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1346,9 +1346,11 @@ exit 0 %dir %{_libdir}/gprofng %{_libdir}/gprofng/* %{_sysconfdir}/gprofng.rc +%if %{with docs} %dir %{_docdir}/gprofng %{_docdir}/gprofng/examples.tar.gz %endif +%endif %if %{with crossbuilds}