diff --git a/fix-geotifcp-usage-command-mismatch.patch b/fix-geotifcp-usage-command-mismatch.patch new file mode 100644 index 0000000..229a1f6 --- /dev/null +++ b/fix-geotifcp-usage-command-mismatch.patch @@ -0,0 +1,25 @@ +From 958768d260156bf95f52f64dda3743c8f8674def Mon Sep 17 00:00:00 2001 +From: lingsheng +Date: Mon, 13 Sep 2021 20:55:42 +0800 +Subject: [PATCH] fix geotifcp usage command mismatch + +--- + bin/geotifcp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bin/geotifcp.c b/bin/geotifcp.c +index 04d23c4..3b5f138 100644 +--- a/bin/geotifcp.c ++++ b/bin/geotifcp.c +@@ -366,7 +366,7 @@ processCompressOptions(char* opt) + } + + char* stuff[] = { +-"usage: gtiffcp [options] input... output", ++"usage: geotifcp [options] input... output", + "where options are:", + " -g file install GeoTIFF metadata from ", + " -4 proj4_str install GeoTIFF metadata from proj4 string", +-- +2.27.0 + diff --git a/libgeotiff.spec b/libgeotiff.spec index 2ea6da7..6fbc093 100644 --- a/libgeotiff.spec +++ b/libgeotiff.spec @@ -1,12 +1,14 @@ Name: libgeotiff Version: 1.4.0 -Release: 15 +Release: 16 Summary: Open source library of GeoTIFF License: MIT URL: http://trac.osgeo.org/geotiff/ Source: http://download.osgeo.org/geotiff/%{name}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ libtiff-devel libjpeg-devel proj-devel zlib-devel +Patch0001: fix-geotifcp-usage-command-mismatch.patch + %description This library is designed to permit the extraction and parsing of the "GeoTIFF" Key directories, as well as definition and installation of GeoTIFF keys in new files. @@ -79,5 +81,8 @@ echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv %{_mandir}/man1/listgeo.1.gz %changelog +* Mon Sep 13 2021 lingsheng - 1.4.0-16 +- fix geotifcp usage command mismatch + * Fri Mar 6 2020 zhouyihang - 1.4.0-15 - Pakcage init