spec: Bump libmodulemd version requirement
This matches the latest bump in libdnf:
763ccc3e33
This commit is contained in:
parent
c9751ae64d
commit
7501b39cbf
@ -27,7 +27,8 @@ fi
|
||||
pkg_upgrade
|
||||
pkg_install_builddeps rpm-ostree
|
||||
# and we have the canonical spec file handy so just builddep from that too
|
||||
dnf builddep --spec -y packaging/rpm-ostree.spec.in
|
||||
# XXX: use --allowerasing as a temporary hack to ease the migration to libmodulemd2
|
||||
dnf builddep --spec -y packaging/rpm-ostree.spec.in --allowerasing
|
||||
# Mostly dependencies for tests
|
||||
pkg_install ostree{,-devel,-grub2} createrepo_c /usr/bin/jq python3-pyyaml \
|
||||
libubsan libasan libtsan elfutils fuse sudo python3-gobject-base \
|
||||
|
@ -76,9 +76,9 @@ BuildRequires: gcc-c++
|
||||
|
||||
# more libdnf build deps (see libdnf's spec for versions)
|
||||
%global swig_version 3.0.12
|
||||
%global libmodulemd_version 1.6.1
|
||||
%global libmodulemd_version 2.5.0
|
||||
BuildRequires: swig >= %{swig_version}
|
||||
BuildRequires: pkgconfig(modulemd) >= %{libmodulemd_version}
|
||||
BuildRequires: pkgconfig(modulemd-2.0) >= %{libmodulemd_version}
|
||||
BuildRequires: pkgconfig(json-c)
|
||||
BuildRequires: pkgconfig(cppunit)
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
@ -88,7 +88,7 @@ BuildRequires: pkgconfig(zck) >= 0.9.11
|
||||
%endif
|
||||
BuildRequires: gpgme-devel
|
||||
|
||||
Requires: libmodulemd1%{?_isa} >= %{libmodulemd_version}
|
||||
Requires: libmodulemd%{?_isa} >= %{libmodulemd_version}
|
||||
|
||||
# For now...see https://github.com/projectatomic/rpm-ostree/pull/637
|
||||
# and https://github.com/fedora-infra/fedmsg-atomic-composer/pull/17
|
||||
|
@ -20,7 +20,7 @@ ostree --version
|
||||
# in important ways.
|
||||
# XXX: We add libmodulemd manually for now until it's
|
||||
# part of the image.
|
||||
pkgs="libsolv libmodulemd1"
|
||||
pkgs="libsolv libmodulemd"
|
||||
if rpm -q zchunk-libs 2>/dev/null; then
|
||||
pkgs="${pkgs} zchunk-libs"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user