gitrev 640509b8f (Remove SUSE < SLE11 constructs, 2023-06-26)
OBS-URL: https://build.opensuse.org/package/show/zypp:Head/libzypp?expand=0&rev=2568
This commit is contained in:
parent
d8eb155702
commit
b2303b1ae3
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bf2718014755a501fe7a7f516311a42efdf22fe78a41d850956c6dc0858e5215
|
||||
size 5656690
|
||||
oid sha256:26810ba1df5c04c7f2a68a1649b9e63830218811f549e4ffa098c4c194ae273f
|
||||
size 5656559
|
||||
|
21
libzypp.spec
21
libzypp.spec
@ -101,12 +101,8 @@ BuildRequires: pkg-config
|
||||
%endif
|
||||
|
||||
BuildRequires: libsolv-devel >= 0.7.24
|
||||
%if 0%{?suse_version} >= 1100
|
||||
BuildRequires: libsolv-tools
|
||||
%requires_eq libsolv-tools
|
||||
%else
|
||||
Requires: libsolv-tools
|
||||
%endif
|
||||
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libsigc++2-devel
|
||||
@ -148,18 +144,12 @@ BuildRequires: fcgi-devel
|
||||
%endif
|
||||
|
||||
%define min_curl_version 7.19.4
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} >= 1100
|
||||
# Code11+
|
||||
BuildRequires: libcurl-devel >= %{min_curl_version}
|
||||
%if 0%{?suse_version}
|
||||
# Code11+
|
||||
Requires: libcurl4 >= %{min_curl_version}
|
||||
%else
|
||||
# Code10
|
||||
BuildRequires: curl-devel
|
||||
%endif
|
||||
%else
|
||||
# Other distros (Fedora)
|
||||
BuildRequires: libcurl-devel >= %{min_curl_version}
|
||||
Requires: libcurl >= %{min_curl_version}
|
||||
%endif
|
||||
|
||||
@ -219,18 +209,13 @@ Requires: rpm-devel > 4.4
|
||||
Requires: zlib-devel
|
||||
Requires: libudev-devel
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} >= 1100
|
||||
# Code11+
|
||||
Requires: libcurl-devel >= %{min_curl_version}
|
||||
%else
|
||||
# Code10
|
||||
Requires: curl-devel
|
||||
%endif
|
||||
%else
|
||||
# Other distros (Fedora)
|
||||
Requires: libcurl-devel >= %{min_curl_version}
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1100
|
||||
%if 0%{?suse_version}
|
||||
%requires_ge libsolv-devel
|
||||
%else
|
||||
Requires: libsolv-devel
|
||||
|
Loading…
Reference in New Issue
Block a user