]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Disable bzip2 and xz/lzma compression support for SLE <= 12
authorNeal Gompa <ngompa13@gmail.com>
Thu, 11 May 2017 12:45:38 +0000 (08:45 -0400)
committerNeal Gompa <ngompa13@gmail.com>
Thu, 11 May 2017 12:48:00 +0000 (08:48 -0400)
package/libsolv.changes
package/libsolv.spec.in

index 0cf43f6466c8bc879b58128f4f9199a2cbeb2d34..67514ad4caddd83e2989f6110052fe6cc9a4b642 100644 (file)
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu May 11 12:41:07 UTC 2017 - ngompa13@gmail.com
+
+- Disable bzip2 and xz/lzma compression support for SLE <= 12
+
 -------------------------------------------------------------------
 Mon May  8 13:15:09 UTC 2017 - ngompa13@gmail.com
 
index 8b6f75edfd8626d11c1da6a6131633682a86e791..5569a966bda09050338122abea24578a0b70229e 100644 (file)
@@ -28,9 +28,15 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %bcond_without python_binding
 %bcond_without python3_binding
 %bcond_without ruby_binding
+%bcond_with zypp
+
+%if ! ((0%{?suse_version} && 0%{?suse_version} < 1330 && ! 0%{?is_opensuse}) || 0%{?suse_version} == 1110)
 %bcond_without bz2
 %bcond_without xz
-%bcond_with zypp
+%else
+%bcond_with bz2
+%bcond_with xz
+%endif
 
 %if 0%{?fedora} || 0%{?rhel} >= 8 || 0%{?mageia} >= 6 || 0%{?suse_version} >= 1330
 %bcond_without richdeps
@@ -81,6 +87,7 @@ BuildRequires:  python3-devel
 %endif
 
 %if %{with bz2}
+
 %if 0%{?fedora} || 0%{?rhel} || 0%{?mageia}
 BuildRequires:  bzip2-devel
 %endif