From 0cd0f16151c417e46dd27412572cfcbc4a34b9b2 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Jul 01 2019 10:43:53 +0000 Subject: Fix build without python-unversioned-command --- diff --git a/sugar-deducto.spec b/sugar-deducto.spec index 3afcb37..fa8dc2d 100644 --- a/sugar-deducto.spec +++ b/sugar-deducto.spec @@ -4,7 +4,7 @@ Name: sugar-deducto Version: 9 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A learning activity aimed towards improving children’s skills to deducing logic # sprites.py is in MIT and all other files in GPLv3+ @@ -12,8 +12,9 @@ License: GPLv3+ and MIT URL: http://activities.sugarlabs.org/en-US/sugar/addon/4220 Source0: http://download.sugarlabs.org/sources/honey/Deducto/Deducto-%{version}.tar.bz2 -BuildRequires: python-unversioned-command -BuildRequires: python2-devel sugar-toolkit gettext +BuildRequires: gettext +BuildRequires: python2-devel +BuildRequires: sugar-toolkit Requires: sugar Requires: sugar-toolkit BuildArch: noarch @@ -26,12 +27,13 @@ to deducing logic through pattern recognition. %setup -q -n Deducto-%{version} rm po/aym.po sed -i "s|\r||g" README.txt +sed -i "s|python|python2|g" setup.py %build -%{__python} ./setup.py build +%{__python2} ./setup.py build %install -%{__python} ./setup.py install --prefix=%{buildroot}%{_prefix} +%{__python2} ./setup.py install --prefix=%{buildroot}%{_prefix} %find_lang in.seeta.Deducto @@ -42,6 +44,9 @@ sed -i "s|\r||g" README.txt %changelog +* Sun Jun 30 2019 Peter Robinson 9-15 +- Fix build without python-unversioned-command + * Sun Feb 03 2019 Fedora Release Engineering - 9-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild