Jan Engelhardt 2012-12-06 12:09:55 +00:00 committed by Git OBS Bridge
parent 6723e26bc5
commit 6f4127f4d9

View File

@ -38,8 +38,13 @@ BuildRequires: libxslt
%endif
BuildRequires: pkgconfig >= 0.21
BuildRequires: xz
%if 0%{?sles_version}
BuildRequires: xz-devel >= 4.99
BuildRequires: zlib-devel
%else
BuildRequires: pkgconfig(liblzma) >= 4.99
BuildRequires: pkgconfig(zlib)
%endif
Requires: suse-module-tools
%description
@ -95,6 +100,9 @@ in %lname.
# The extra --includedir gives us the possibility to detect dependent
# packages which fail to properly use pkgconfig.
%configure \
%if 0%{?sles_version}
zlib_CFLAGS=" " zlib_LIBS="-lz" \
%endif
--with-xz \
--with-zlib \
--includedir="%_includedir/%name-%version" \