diff --git a/python-basemap.spec b/python-basemap.spec index 2f096c7..1ea5c43 100644 --- a/python-basemap.spec +++ b/python-basemap.spec @@ -34,22 +34,13 @@ BuildRequires: python3-httplib2 BuildRequires: python3-matplotlib >= 0.98 BuildRequires: python3-pyproj Requires: python3-matplotlib >= 0.98 -Requires: python-basemap-data +Provides: python3-basemap-data = %{version}-%{release} +Obsoletes: python3-basemap-data < %{version}-%{release} %description -n python3-basemap Basemap is a matplotlib toolkit that allows you to plot data on map projections (with continental and political boundaries). -%package -n python3-basemap-data -Summary: Data for python3-basemap -License: GPLv2 and Public Domain -BuildArch: noarch -Requires: python3-basemap - -%description -n python3-basemap-data -%{summary}. - - %prep %autosetup -n basemap-%{version}rel -p1 # Remove the bundled libraries @@ -73,18 +64,13 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} \ %doc examples/* %files -n python3-basemap +%license LICENSE_data LICENSE_epsg %doc Changelog README.md %{python3_sitearch}/mpl_toolkits/basemap -%exclude %{python3_sitearch}/mpl_toolkits/basemap/data/ %{python3_sitearch}/*.egg-info %{python3_sitearch}/basemap-%{version}-py%{python3_version}-nspkg.pth %{python3_sitearch}/_geoslib.cpython-3*.so -%files -n python3-basemap-data -%license LICENSE_data -%doc README.md -%{python3_sitearch}/mpl_toolkits/basemap/data/ - %changelog * Wed Jan 22 2020 Gwyn Ciesla - 1.2.1-1