From 96c577d6620a3f79d5293d56f2c54f8376f921c5 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Nov 20 2015 19:01:06 +0000 Subject: Use python_provide macro instead. --- diff --git a/fedmsg.spec b/fedmsg.spec index 43479da..854aeaf 100644 --- a/fedmsg.spec +++ b/fedmsg.spec @@ -39,7 +39,7 @@ Name: fedmsg Version: 0.16.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Tools for Fedora Infrastructure real-time messaging License: LGPLv2+ URL: http://github.com/fedora-infra/fedmsg @@ -114,8 +114,7 @@ zeromq. Includes some CLI tools. %package -n python2-fedmsg-core Summary: Core python API for fedmsg - -Provides: python-fedmsg-core +%{?python_provide:%python_provide python2-fedmsg-core} Requires: python-six Requires: python-zmq @@ -154,8 +153,7 @@ and receive messages with zeromq. %package -n python2-fedmsg-commands Summary: Basic fedmsg commands - -Provides: python-fedmsg-commands +%{?python_provide:%python_provide python2-fedmsg-commands} Requires: python-pygments Requires: python-psutil @@ -170,8 +168,7 @@ Basic CLI commands for fedmsg %package -n python2-fedmsg-consumers Summary: Basic fedmsg consumers - -Provides: python-fedmsg-consumers +%{?python_provide:%python_provide python2-fedmsg-consumers} Requires: python-moksha-hub >= 1.3.2 Requires: python-pygments @@ -518,6 +515,9 @@ fi %endif %changelog +* Fri Nov 20 2015 Ralph Bean - 0.16.2-6 +- Replace manual Provides with the python_provide macro. + * Sun Nov 15 2015 Ralph Bean - 0.16.2-5 - Rename subpackges to explicit python2 prefixes and add Provides on the old names.