Browse Source

Fedora RPM SPEC: fix wxPython package dependency name for CentOS7

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72937 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 7 years ago
parent
commit
cfbe91087a
1 changed files with 9 additions and 1 deletions
  1. 9 1
      rpm/grass.spec

+ 9 - 1
rpm/grass.spec

@@ -86,10 +86,15 @@ BuildRequires:	libzstd-devel
 Requires:	libzstd
 Requires:	libzstd
 
 
 Requires:	geos
 Requires:	geos
-Requires:	python2-numpy
 Requires:	proj-epsg
 Requires:	proj-epsg
 Requires:	proj-nad
 Requires:	proj-nad
+Requires:	python2-numpy
+%if 0%{?rhel}
+Requires:	wxPython
+%else
 Requires:	python2-wxpython
 Requires:	python2-wxpython
+%endif
+
 
 
 %if "%{_lib}" == "lib"
 %if "%{_lib}" == "lib"
 %global cpuarch 32
 %global cpuarch 32
@@ -331,6 +336,9 @@ fi
 %{_libdir}/%{name}%{shortver}/include
 %{_libdir}/%{name}%{shortver}/include
 
 
 %changelog
 %changelog
+* Sat Jun 23 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-2
+- fix wxPython package dependency name for CentOS7
+
 * Tue Jun 12 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-1
 * Tue Jun 12 2018 Markus Neteler <neteler@mundialis.de> - 7.4.1-1
 - new upstream version 7.4.1
 - new upstream version 7.4.1
 - do not fail on EPEL6 with appstream-util
 - do not fail on EPEL6 with appstream-util