[GRASS-SVN] r72810 - grass/branches/releasebranch_7_4/rpm

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 13 06:38:53 PDT 2018


Author: neteler
Date: 2018-06-13 06:38:52 -0700 (Wed, 13 Jun 2018)
New Revision: 72810

Modified:
   grass/branches/releasebranch_7_4/rpm/grass.spec
Log:
Fedora RPM SPEC: fixes for EPEL6

Modified: grass/branches/releasebranch_7_4/rpm/grass.spec
===================================================================
--- grass/branches/releasebranch_7_4/rpm/grass.spec	2018-06-13 13:38:48 UTC (rev 72809)
+++ grass/branches/releasebranch_7_4/rpm/grass.spec	2018-06-13 13:38:52 UTC (rev 72810)
@@ -65,8 +65,15 @@
 ##?
 #Requires:  python2-matplotlib-wx
 %if (0%{?rhel} > 6 || 0%{?fedora})
-BuildRequires:	python2-pillow
+%if 0%{?rhel} > 6
+# EPEL7
+BuildRequires:	python-pillow
 %else
+# Fedora
+BuildRequires:  python2-pillow
+%endif
+%else
+# EPEL6
 BuildRequires:	python-imaging
 %endif
 BuildRequires:	readline-devel
@@ -243,7 +250,8 @@
 # Make desktop, appdata and icon files available on the system
 mv %{buildroot}%{_libdir}/%{name}-%{version}/share/* %{buildroot}%{_datadir}
 desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop
-appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.osgeo.%{name}.appdata.xml
+# EPEL6 fails on appstream-util
+appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.osgeo.%{name}.appdata.xml || echo "Ignoring appstream-util failure"
 
 # Cleanup: nothing to do
 #rm -rf %%{buildroot}%%{_prefix}/%%{name}-%%{version}
@@ -312,7 +320,11 @@
 %{_libdir}/%{name}%{shortver}/include
 
 %changelog
-* Mon Mar 26 2018 Markus Neteler <neteler at mundialis.de> - 7.4.1-2
+* Tue Jun 12 2018 Markus Neteler <neteler at mundialis.de> - 7.4.1-1
+- new upstream version 7.4.1
+- do not fail on EPEL6 with appstream-util
+
+* Mon Mar 26 2018 Markus Neteler <neteler at mundialis.de> - 7.4.0-4
 - Update Python 2 dependency declarations to new packaging standards
   (author: Iryna Shcherbina <ishcherb at redhat.com> for 7.2.3-2)
   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
@@ -320,6 +332,12 @@
 - appdata.xml file into '/usr/share/metainfo'
 - use icon cache scriplets only on EPEL
 
+* Thu Feb 22 2018 Markus Neteler <neteler at mundialis.de> - 7.4.0-3
+- store binaries in /usr/lib[64]/grass74/
+
+* Sun Jan 28 2018 Markus Neteler <neteler at mundialis.de> - 7.4.0-2
+- fix for EPEL in r.random.surface to avoid variable collision with GDAL
+
 * Mon Jan 15 2018 Markus Metz <metz at mundialis.de> - 7.4.0-1
 - New upstream version 7.4.0
 - Fix grass-devel which needs include/grass and include/Make dirs



More information about the grass-commit mailing list