diff --git a/sources b/sources index a6d3570..9372b74 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b394d81899d292dec4a143cce1511aff IRC-12.tar.bz2 +SHA512 (IRC-13.tar.bz2) = 2c58b8d6cf3cb6994daf8babecfe6b7922ab8050ba42684221dceb384e6a30bd9111260987b48058d91e4eec5168b9a52bddbc3d4bb4b7d42742159fc0d40cb9 diff --git a/sugar-xoirc.spec b/sugar-xoirc.spec index fcc7c33..30606fa 100644 --- a/sugar-xoirc.spec +++ b/sugar-xoirc.spec @@ -1,10 +1,6 @@ -# This package depends on automagic byte compilation -# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2 -%global _python_bytecompile_extra 1 - Name: sugar-xoirc -Version: 12 -Release: 14%{?dist} +Version: 13 +Release: 1%{?dist} Summary: IRC client for Sugar License: GPLv2+ URL: http://git.sugarlabs.org/projects/irc @@ -12,7 +8,7 @@ Source0: http://download.sugarlabs.org/sources/honey/IRC/IRC-%{version}.t BuildArch: noarch BuildRequires: gobject-introspection-devel -BuildRequires: python2-devel +BuildRequires: python3-devel BuildRequires: sugar-toolkit-gtk3-devel Requires: sugar Requires: sugar-toolkit-gtk3 @@ -26,22 +22,28 @@ on the internet, and chat with them. %prep %setup -q -n IRC-%{version} -sed -i 's/python/python2/' *.py +#sed -i 's/python/python2/' *.py %build -python2 ./setup.py build +python3 ./setup.py build %install -python2 ./setup.py install --prefix=%{buildroot}/%{_prefix} +python3 ./setup.py install --prefix=%{buildroot}/%{_prefix} rm %{buildroot}%{_prefix}/share/applications/*.desktop || true +# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3 +%py_byte_compile %{python3} %{buildroot}/%{sugaractivitydir}/IRC.activity/ %files +%license COPYING %doc README TODO %{sugaractivitydir}/IRC.activity/ %changelog +* Wed Aug 12 2020 Peter Robinson - 13-1 +- Update to IRC 13 + * Sat Aug 01 2020 Fedora Release Engineering - 12-14 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild