From ca9971db3ac857c4765be0219642c3735ae0ba8d Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 18 Jan 2024 13:36:12 +0100 Subject: [PATCH] Don't build-require files outside of permitted directories Packaging guidelines only allow dependencies on files in /usr/bin, /usr/sbin and /etc. Guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies Relates: https://fedoraproject.org/wiki/Changes/BuildWithDNF5 Relates: https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5 --- mapserver.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mapserver.spec b/mapserver.spec index e9e1b82..b8e8c45 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -66,9 +66,11 @@ BuildRequires: proj-devel => 5.2.0 BuildRequires: readline-devel BuildRequires: swig BuildRequires: zlib-devel +#Get +#/usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf +#/usr/share/fonts/dejavu-sans-fonts/DejaVuSans-Bold.ttf # See %%prep below -BuildRequires: /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf -BuildRequires: /usr/share/fonts/dejavu-sans-fonts/DejaVuSans-Bold.ttf +BuildRequires: dejavu-sans-fonts %description