Forráskód Böngészése

rpm/grass.spec: update Python 2 dependency declarations to new Fedora packaging standards; from https://src.fedoraproject.org/rpms/grass/c/e275e6fe81625a781e0efed78f33a060fbadd18a?branch=pyambiguous)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72580 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 7 éve
szülő
commit
558008d284
1 módosított fájl, 12 hozzáadás és 9 törlés
  1. 12 9
      rpm/grass.spec

+ 12 - 9
rpm/grass.spec

@@ -45,7 +45,7 @@ BuildRequires:	mysql-devel
 %if (0%{?rhel} > 6 || 0%{?fedora})
 BuildRequires:	netcdf-devel
 %endif
-BuildRequires:	numpy
+BuildRequires:	python2-numpy
 %if (0%{?rhel} > 6 || 0%{?fedora})
 BuildRequires:	postgresql-devel
 %else
@@ -59,13 +59,13 @@ BuildRequires:	proj-nad
 # argparse is included in python2.7+ but not python2.6
 BuildRequires:  python-argparse
 %endif
-BuildRequires:	python-dateutil
-BuildRequires:	python-devel
-Requires:  python-matplotlib
+BuildRequires:	python2-dateutil
+BuildRequires:	python2-devel
+Requires:  python2-matplotlib
 ##?
-#Requires:  python-matplotlib-wx
+#Requires:  python2-matplotlib-wx
 %if (0%{?rhel} > 6 || 0%{?fedora})
-BuildRequires:	python-pillow
+BuildRequires:	python2-pillow
 %else
 BuildRequires:	python-imaging
 %endif
@@ -79,10 +79,10 @@ BuildRequires:	libzstd-devel
 Requires:	libzstd
 
 Requires:	geos
-Requires:	numpy
+Requires:	python2-numpy
 Requires:	proj-epsg
 Requires:	proj-nad
-Requires:	wxPython
+Requires:	python2-wxpython
 
 %if "%{_lib}" == "lib"
 %global cpuarch 32
@@ -315,7 +315,10 @@ fi
 %{_libdir}/%{name}%{shortver}/include
 
 %changelog
-* Sun Jan 28 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-2
+* Mon Mar 26 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-2
+- Update Python 2 dependency declarations to new packaging standards
+  (author: Iryna Shcherbina <ishcherb@redhat.com> for 7.2.3-2)
+  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
 - SPEC cleanup with fix of dependencies between packages (review #1539116)
 - appdata.xml file into '/usr/share/metainfo'
 - use icon cache scriplets only on EPEL