From 696092fccb3704f03d315c3893e20d34c2952168 Mon Sep 17 00:00:00 2001 From: Kalpa Welivitigoda Date: Apr 29 2017 13:25:52 +0000 Subject: Fix FTBFS issue and replace source with github source --- diff --git a/sources b/sources index 547e907..2fc3892 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -88bcb79fdf5b308a320207245df3a0b7 Read-117.tar.bz2 +SHA512 (v117.tar.gz) = eff6b72330818b4b12230268c2c5708f9f443f3a2139bba0915c8fa62c3da155e26adcdd5826b31e38735d8f31d379ec8363dd2dbe69bd4fabbb9d36d3e3d492 diff --git a/sugar-read.spec b/sugar-read.spec index 1f9e058..8f3b9a1 100644 --- a/sugar-read.spec +++ b/sugar-read.spec @@ -1,11 +1,11 @@ Name: sugar-read Version: 117 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A document reader for Sugar Group: Sugar/Activities License: GPLv2+ URL: http://wiki.laptop.org/go/Read -Source0: http://download.sugarlabs.org/sources/sucrose/fructose/Read/Read-%{version}.tar.bz2 +Source0: https://github.com/sugarlabs/read-activity/archive/v%{version}.tar.gz BuildArch: noarch BuildRequires: evince-devel @@ -29,7 +29,7 @@ extremely low power consumption and simple navigation controls. Read can read PDF files, single-page TIFF files, and also read DJVU files. %prep -%setup -q -n Read-%{version} +%autosetup -n read-activity-%{version} %build python ./setup.py build @@ -38,6 +38,7 @@ python ./setup.py build mkdir -p $RPM_BUILD_ROOT%{sugaractivitydir} python ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix} rm -rf $RPM_BUILD_ROOT%{sugaractivitydir}/Read.activity/screenshots/ +rm %{buildroot}%{_prefix}/share/applications/*.desktop || true %find_lang org.laptop.sugar.ReadActivity @@ -47,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT%{sugaractivitydir}/Read.activity/screenshots/ %changelog +* Sat Apr 29 2017 Kalpa Welivitigoda - 117-4 +- Fix FTBFS issue + * Sat Feb 11 2017 Fedora Release Engineering - 117-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild