Update SAGA for F29

This commit is contained in:
Daniele Viganò 2018-11-08 00:20:00 +01:00
parent 03aae78e8b
commit 2b9a89c7b6
Signed by: dani
GPG Key ID: DB49AFC03C40EE02
1 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: saga
Version: 2.3.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Geographic information system with an API for processing geodata
Group: Applications/Engineering
@ -15,6 +15,7 @@ Source0: %{name}_%{version}_gpl2.tar.gz
Patch0: %{name}-projections-gcc6.patch
Patch1: %{name}-spelling-errors.patch
BuildRequires: gcc-c++
BuildRequires: libappstream-glib
BuildRequires: desktop-file-utils
BuildRequires: libtool automake autoconf
@ -65,8 +66,8 @@ This package includes the headers and development libraries for SAGA.
# See https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Usage and https://fedorahosted.org/fpc/ticket/76
#TODO: Check if provides are proper
%global __provides_exclude_from ^%{python_sitearch}/.*\.so$
%global __provides_requires_from ^%{python_sitearch}/.*\.so$
%global __provides_exclude_from ^%{python2_sitearch}/.*\.so$
%global __provides_requires_from ^%{python2_sitearch}/.*\.so$
%prep
%setup -q -n %{name}-%{version}
@ -116,7 +117,7 @@ make install DESTDIR=%{buildroot}
# Drop libtool archives
rm -rf %{buildroot}/%{_libdir}/saga/lib*.la \
%{buildroot}/%{_libdir}/saga/libsaga_*.la
rm -rf %{buildroot}/%{python_sitearch}/*.la \
rm -rf %{buildroot}/%{python2_sitearch}/*.la \
%{buildroot}/%{_libdir}/*.la
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
@ -152,6 +153,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.a
%changelog
* Wed Nov 7 2018 Daniele Viganò <daniele@vigano.me> - 2.3.1-5
- Make package compatible with F29
* Fri May 25 2018 Daniele Viganò <daniele@vigano.me> - 2.3.1-4
- Make package compatible with F28