Accepting request 1072620 from Application:Geo

- Update spec file

OBS-URL: https://build.opensuse.org/request/show/1072620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geotiff?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2023-03-17 16:05:09 +00:00 committed by Git OBS Bridge
commit 9274367d2c
2 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 17 12:47:40 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Update spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 5 10:40:54 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr> Thu May 5 10:40:54 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
# #
# spec file for package geotiff # spec file for package geotiff
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -26,8 +26,6 @@ License: MIT AND SUSE-Public-Domain
Group: Productivity/Scientific/Other Group: Productivity/Scientific/Other
URL: https://github.com/OSGeo/libgeotiff URL: https://github.com/OSGeo/libgeotiff
Source0: https://github.com/OSGeo/libgeotiff/releases/download/%{version}/libgeotiff-%{version}.tar.gz Source0: https://github.com/OSGeo/libgeotiff/releases/download/%{version}/libgeotiff-%{version}.tar.gz
# UPSTREAM Patch (geotif) to be used with gdal 2.4.1
# Patch0: https://github.com/OSGeo/libgeotiff/commit/f4956251.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -67,9 +65,7 @@ This library is designed to permit the extraction and parsing of the
GeoTIFF keys in new files. GeoTIFF keys in new files.
%prep %prep
%autosetup -n lib%{name}-%{version}
%setup -q -n lib%{name}-%{version}
#%%autopatch -p2
%build %build
export CFLAGS="%{optflags} $CFLAGS -g -fstack-protector -fno-strict-aliasing -D _BSD_SOURCE" export CFLAGS="%{optflags} $CFLAGS -g -fstack-protector -fno-strict-aliasing -D _BSD_SOURCE"
@ -83,7 +79,7 @@ export CXXFLAGS="%{optflags} $CXXFLAGS -g -fstack-protector -fno-strict-aliasing
--with-pic \ --with-pic \
--enable-static=no \ --enable-static=no \
--enable-debug=yes --enable-debug=yes
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install