Accepting request 789832 from home:pluskalm:branches:graphics

- Enable zstd and webp support

OBS-URL: https://build.opensuse.org/request/show/789832
OBS-URL: https://build.opensuse.org/package/show/graphics/tiff?expand=0&rev=141
This commit is contained in:
Petr Gajdos 2020-03-30 15:48:36 +00:00 committed by Git OBS Bridge
parent f03bf8b65d
commit d7a17437c0
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 30 15:25:24 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Enable zstd and webp support
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 6 12:00:35 UTC 2019 - pgajdos@suse.com Wed Nov 6 12:00:35 UTC 2019 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package tiff # spec file for package tiff
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 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
@ -37,6 +37,8 @@ BuildRequires: libjpeg-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: lzma-devel BuildRequires: lzma-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%description %description
@ -79,7 +81,7 @@ CFLAGS="$CFLAGS -O0"
%if %{asan_build} %if %{asan_build}
find -name Makefile | xargs sed -i 's/\(^CFLAGS.*\)/\1 -fsanitize=address/' find -name Makefile | xargs sed -i 's/\(^CFLAGS.*\)/\1 -fsanitize=address/'
%endif %endif
make %{?_smp_mflags} LDFLAGS="-pie" %make_build LDFLAGS="-pie"
%install %install
mkdir -p %{buildroot}/{%{_mandir}/{man1,man3},usr/{bin,lib,include}} mkdir -p %{buildroot}/{%{_mandir}/{man1,man3},usr/{bin,lib,include}}