From f8283f404b86780999bc0672be32130d397abe095d211ef8d12079838b9d61a9 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 1 Feb 2021 09:30:54 +0000 Subject: [PATCH] Accepting request 864482 from home:jengelh:branches:Application:Geo - Drop BuildRequires on binary library packages; this is wrong. - Drop excessive runtime package requirements. (there is no requirement to run /usr/bin/mapserv with SQL, let alone apache. It's just fine from a command-line.) OBS-URL: https://build.opensuse.org/request/show/864482 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=118 --- mapserver.changes | 6 ++++++ mapserver.spec | 12 ++---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/mapserver.changes b/mapserver.changes index acca75c..c63e271 100644 --- a/mapserver.changes +++ b/mapserver.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 20 01:15:24 UTC 2021 - Jan Engelhardt + +- Drop BuildRequires on binary library packages; this is wrong. +- Drop excessive runtime package requirements. + ------------------------------------------------------------------- Wed Dec 23 20:07:24 UTC 2020 - Jan Engelhardt diff --git a/mapserver.spec b/mapserver.spec index 68b78fe..e44a7e7 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -48,7 +48,6 @@ BuildRequires: autoconf BuildRequires: cairo-devel BuildRequires: chrpath BuildRequires: cmake >= 2.4 -BuildRequires: freetype2 BuildRequires: freetype2-devel BuildRequires: fribidi-devel BuildRequires: gcc @@ -61,7 +60,6 @@ BuildRequires: libcurl-devel BuildRequires: libexpat-devel BuildRequires: libgdal-devel >= 1.10 BuildRequires: libgeos-devel -BuildRequires: libhdf4 BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libproj-devel @@ -87,12 +85,6 @@ BuildRequires: xorg-x11-libXpm-devel BuildRequires: zlib-devel BuildRequires: perl(ExtUtils::MakeMaker) Requires: %{libname} = %{version}-%{release} -Requires: FastCGI -Requires: apache2 -Requires: fribidi -Requires: librsvg -Requires: mysql -Requires: postgresql >= 9.1 Requires: proj %description @@ -103,7 +95,7 @@ custom GIS data. %package -n %{libname} Summary: Mapsserver library for mapserver or mapscript module -Group: Development/Libraries/C and C++ +Group: System/Libraries %description -n %{libname} Mapserver library for mapserver or mapscript module. you need this lib to run mapserver @@ -391,6 +383,6 @@ rm -rf %{buildroot}%{_docdir}/%{name}-%{version}/tests/vera %dir %{_includedir}/mapserver %{_includedir}/mapserver/* %{_libdir}/libmapserver.so -/usr/share/mapserver +%{_datadir}/mapserver %changelog