diff --git python-fedbadges/python-fedbadges.spec python-fedbadges/python-fedbadges.spec.tmp index 4016acdaa5..9c40a279c4 100644 --- python-fedbadges/python-fedbadges.spec +++ python-fedbadges/python-fedbadges.spec.tmp @@ -2,7 +2,7 @@ Name: python-fedbadges Version: 0.5.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: fedmsg consumer for awarding open badges Group: Development/Libraries @@ -24,20 +24,27 @@ BuildRequires: python-zope-sqlalchemy BuildRequires: python-nose BuildRequires: python-mock + +%global _description\ +fedbadges is the python module necessary to award Open Badges from\ +fedmsg bus activity. It installs a 'consumer' for the fedmsg-hub.\ +Each message it receives is compared against any number of rules defined\ +in config files on disk. If any match, badges are awarded to the\ +appropriate users. + +%description %_description + +%package -n python2-fedbadges +Summary: %summary Requires: fedmsg Requires: PyYAML Requires: python-fedmsg-meta-fedora-infrastructure Requires: python-tahrir-api >= 0.6.0 Requires: python-datanommer-models Requires: python-zope-sqlalchemy +%{?python_provide:%python_provide python2-fedbadges} - -%description -fedbadges is the python module necessary to award Open Badges from -fedmsg bus activity. It installs a 'consumer' for the fedmsg-hub. -Each message it receives is compared against any number of rules defined -in config files on disk. If any match, badges are awarded to the -appropriate users. +%description -n python2-fedbadges %_description %prep %setup -q -n %{modname}-%{version} @@ -60,12 +67,16 @@ rm %{buildroot}/%{_bindir}/fedmsg-badges %check %{__python} setup.py test -%files +%files -n python2-fedbadges %doc README.rst LICENSE %{python_sitelib}/%{modname}/ %{python_sitelib}/%{modname}-%{version}* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.5.2-6 +- Python 2 binary package renamed to python2-fedbadges + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild