fix geotifcp usage command mismatch
This commit is contained in:
parent
5dc67fe2ba
commit
34fa5ea669
25
fix-geotifcp-usage-command-mismatch.patch
Normal file
25
fix-geotifcp-usage-command-mismatch.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 958768d260156bf95f52f64dda3743c8f8674def Mon Sep 17 00:00:00 2001
|
||||
From: lingsheng <lingsheng@huawei.com>
|
||||
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 <file>",
|
||||
" -4 proj4_str install GeoTIFF metadata from proj4 string",
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -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 <lingsheng@huawei.com> - 1.4.0-16
|
||||
- fix geotifcp usage command mismatch
|
||||
|
||||
* Fri Mar 6 2020 zhouyihang<zhouyihang1@huawei.com> - 1.4.0-15
|
||||
- Pakcage init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user