Remove unnecessary patch.

The JNI files are not compiled.
epel9
Elliott Sales de Andrade 6 years ago
parent e35b5e182a
commit 78dfc11c8d

@ -1,10 +0,0 @@
--- src/jniproj.c.old 2012-04-21 00:01:12.286146452 +0300
+++ src/jniproj.c 2012-04-21 00:01:18.128146582 +0300
@@ -49,7 +49,6 @@
#include <math.h>
#include <string.h>
#include "projects.h"
-#include "org_proj4_PJ.h"
#include <jni.h>
#define PJ_FIELD_NAME "ptr"

@ -7,7 +7,6 @@ License: MIT
URL: https://proj4.org
Source0: http://download.osgeo.org/%{name}/%{name}-%{version}.tar.gz
Source1: http://download.osgeo.org/%{name}/%{name}-datumgrid-1.8.zip
Patch0: %{name}-4.8.0-removeinclude.patch
BuildRequires: libtool gcc-c++
@ -51,7 +50,6 @@ This package contains additional EPSG dataset.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p0
# disable internal libtool to avoid hardcoded r-path
for makefile in `find . -type f -name 'Makefile.in'`; do

Loading…
Cancel
Save