#7 Require python{2,3}-libmodulemd
Merged 2 months ago by ralph. Opened 2 months ago by otaylor.
rpms/ otaylor/module-build-service python-libmodulemd  into  master

Require python{2,3}-libmodulemd
Owen W. Taylor • 2 months ago  
file modified
+9 -9

@@ -5,7 +5,7 @@ 

  

  Name:           module-build-service

  Version:        2.24.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        The Module Build Service for Modularity

  

  License:        MIT

@@ -27,7 +27,7 @@ 

  BuildRequires:  python3-munch

  BuildRequires:  python3-funcsigs

  BuildRequires:  python3-solv

- BuildRequires:  python3-gobject-base

+ BuildRequires:  python3-libmodulemd

  BuildRequires:  python3-openidc-client

  BuildRequires:  python3-ldap3

  BuildRequires:  python3-koji

@@ -58,7 +58,7 @@ 

  BuildRequires:  python-munch

  BuildRequires:  python2-funcsigs

  BuildRequires:  python2-solv

- BuildRequires:  python-gobject-base

+ BuildRequires:  python2-libmodulemd

  BuildRequires:  python-openidc-client

  BuildRequires:  python-ldap3

  BuildRequires:  python-enum34

@@ -104,8 +104,6 @@ 

  BuildRequires:  git-core

  BuildRequires:  help2man

  BuildRequires:  mock

- BuildRequires:  libmodulemd

- BuildRequires:  gobject-introspection

  BuildRequires:  rpm-build

  

  %if 0%{?with_python3}

@@ -114,7 +112,7 @@ 

  Requires:       python3-funcsigs

  Requires:       python3-openidc-client

  Requires:       python3-ldap3

- Requires:       python3-gobject-base

+ Requires:       python3-libmodulemd

  Requires:       python3-solv

  Requires:       python3-koji

  Requires:       python3-flask-sqlalchemy

@@ -140,7 +138,7 @@ 

  Requires:       python-enum34

  Requires:       python-openidc-client

  Requires:       python-ldap3

- Requires:       python-gobject-base

+ Requires:       python2-libmodulemd

  Requires:       python2-solv

  Requires:       python2-koji

  Requires:       python2-fedmsg

@@ -180,9 +178,7 @@ 

  Requires:       fedpkg

  Requires:       git-core

  Requires:       mock

- Requires:       libmodulemd

  Requires:       rpm-build

- Requires:       gobject-introspection

  # https://bugzilla.redhat.com/show_bug.cgi?id=1466792

  Requires:       mock-scm

  

@@ -281,6 +277,10 @@ 

  %endif

  

  %changelog

+ * Fri Jul 12 2019 Owen Taylor <otaylor@redhat.com> - 2.24.0-2

+ - Require python{2,3}-libmodulemd, needed for correct operation

+   of the libmodulemd python bindings.

+ 

  * Tue Jul 02 2019 Valerij Maljulin <vmaljuli@redhat.com> - 2.24.0-1

  - new version

  

The python{2,3}-libmodulemd packages install "overrides" that change
the default gobject-introspection bindings for libmodulemd. Without
these, ModuleStreamV2.get_xmd/set_xmd() don't work correctly.

Remove excess dependencies that are made redundant for simplicity.

Pull-Request has been merged by ralph

2 months ago