From d5abbcd5061f360a2071f3a2463aab159390ed56 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 23 Feb 2019 15:58:17 -0500 Subject: [PATCH] Add Requires on datumgrids from main package. Based on upstream discussion, at least the main datumgrid package is not optional, while the others can affect output. --- proj.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proj.spec b/proj.spec index bc6f9b5..c8b6a59 100644 --- a/proj.spec +++ b/proj.spec @@ -20,6 +20,8 @@ BuildRequires: gtest-devel >= 1.8.0 Obsoletes: proj-epsg < 5.2.0-2 Provides: proj-epsg = %{version}-%{release} +Requires: proj-datumgrid = %{datumgrid_version}-%{release} + %description Proj and invproj perform respective forward and inverse transformation of cartographic data to or from cartesian data with a wide range of selectable @@ -48,7 +50,6 @@ Version: %{datumgrid_version} # See README.DATUMGRID License: CC-BY and Freely Distributable and Ouverte and Public Domain BuildArch: noarch -Requires: %{name} = %{proj_version}-%{release} # Renamed; remove after Fedora 31. Obsoletes: proj-nad < 5.2.0-2 @@ -122,6 +123,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ %{_libdir}/libproj.la %files datumgrid -f datumgrid.files +%dir %{_datadir}/%{name} %changelog