| |
@@ -3,16 +3,15 @@
|
| |
%global _python_bytecompile_extra 1
|
| |
|
| |
Name: sugar-stopwatch
|
| |
- Version: 20.1
|
| |
- Release: 4%{?dist}
|
| |
+ Version: 21
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Simple stopwatch for Sugar
|
| |
License: GPLv3+
|
| |
URL: http://wiki.laptop.org/go/Stopwatch
|
| |
Source0: https://download.sugarlabs.org/sources/honey/StopWatch/StopWatch-%{version}.tar.bz2
|
| |
BuildArch: noarch
|
| |
|
| |
- BuildRequires: python2-devel
|
| |
- BuildRequires: sugar-base
|
| |
+ BuildRequires: python3-devel
|
| |
BuildRequires: sugar-toolkit-gtk3
|
| |
BuildRequires: telepathy-glib-devel
|
| |
BuildRequires: gettext
|
| |
@@ -26,16 +25,14 @@
|
| |
|
| |
%prep
|
| |
%autosetup -n StopWatch-%{version}
|
| |
- echo "summary = Multiple stopwatches to time events with." >> activity/activity.info
|
| |
|
| |
- sed -i 's/python/python2/' setup.py
|
| |
+ sed -i 's/python/python3/' setup.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
|
| |
%find_lang org.laptop.StopWatchActivity
|
| |
|
| |
@@ -46,6 +43,11 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Tue Feb 11 2020 Chihurumnaya Ibiam <ibiamchihurumnaya@gmail.com> - 21-1
|
| |
+ - v21
|
| |
+ - Update Python 3 depedency declarations
|
| |
+ - Remove addition to activity.info file
|
| |
+
|
| |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.1-4
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
| |
|
| |
@pbrobinson kindly review.