[anki] Update to new upstream version 2.0.9 (BZ 970052)

Christian Krause chkr at fedoraproject.org
Mon Jun 3 22:38:52 UTC 2013


commit d8224faecc379043f6a025d89147b6f89c02d049
Author: Christian Krause <chkr at fedoraproject.org>
Date:   Tue Jun 4 00:38:27 2013 +0200

    Update to new upstream version 2.0.9 (BZ 970052)
    
    - Remove patch (issue was fixed upstream)

 .gitignore                                         |    1 +
 ...d-for-filter-tree-onclick-not-working-729.patch |   81 --------------------
 anki.spec                                          |   20 +++--
 sources                                            |    2 +-
 4 files changed, 14 insertions(+), 90 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 54f29cb..28f7c77 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ anki-1.0.1.tgz
 /anki-2.0.6.tgz
 /anki-2.0.7.tgz
 /anki-2.0.8.tgz
+/anki-2.0.9.tgz
diff --git a/anki.spec b/anki.spec
index 02c8156..12fa3d6 100644
--- a/anki.spec
+++ b/anki.spec
@@ -1,8 +1,8 @@
 %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:		anki
-Version:	2.0.8
-Release:	2%{?dist}
+Version:	2.0.9
+Release:	1%{?dist}
 Summary:	Flashcard program for using space repetition learning
 
 Group:		Amusements/Games
@@ -13,10 +13,6 @@ Source1:	anki.svg
 
 # Config change: don't check for new updates.
 Patch0:		anki-2.0.3-noupdate.patch
-# Patch to fix filter selection in browser view
-# https://anki.lighthouseapp.com/projects/100923/tickets/729-browser-filter-tree-doesnt-filter
-# https://github.com/dae/anki/commit/6ddc276d57de297e6fcb57ad68e55abbea5c4dc4
-Patch1:		0001-workaround-for-filter-tree-onclick-not-working-729.patch
 BuildRequires:	python2-devel, python-setuptools, python-sqlalchemy
 BuildRequires:	desktop-file-utils, PyQt4, python-simplejson
 Requires:	qt4, PyQt4
@@ -33,9 +29,10 @@ as possible. Anki is based on a theory called spaced repetition.
 
 %prep
 %setup -q
-rm -rf libanki/thirdparty
+mv thirdparty/send2trash .
+rm -rf thirdparty
+rmdir anki/~
 %patch0 -p1 -b .noupdate
-%patch1 -p1 -b .fix-browserview
 
 %build
 
@@ -47,6 +44,8 @@ cp -R aqt %{buildroot}%{_datadir}/%{name}/
 cp -R designer %{buildroot}%{_datadir}/%{name}/
 cp -R anki %{buildroot}%{_datadir}/%{name}/
 cp -R locale %{buildroot}%{_datadir}/%{name}/
+mkdir -p %{buildroot}%{_datadir}/%{name}/thirdparty
+cp -R send2trash %{buildroot}%{_datadir}/%{name}/thirdparty/
 
 install -d %{buildroot}%{_bindir}
 install -m 755 runanki %{buildroot}%{_bindir}/anki
@@ -96,12 +95,17 @@ s:\(.*\):%dir \1:' >>anki.lang
 %{_datadir}/%{name}/aqt/
 %{_datadir}/%{name}/designer/
 %{_datadir}/%{name}/anki/
+%{_datadir}/%{name}/thirdparty/
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/%{name}.*
 %{_datadir}/mime/packages/anki.xml
 %{_mandir}/man1/%{name}.*
 
 %changelog
+* Mon Jun 03 2013 Christian Krause <chkr at fedoraproject.org> - 2.0.9-1
+- Update to new upstream version 2.0.9 (BZ 970052)
+- Remove patch (issue was fixed upstream)
+
 * Mon Apr 01 2013 Christian Krause <chkr at fedoraproject.org> - 2.0.8-2
 - Add patch to fix filter selection in browser view:
   https://anki.lighthouseapp.com/projects/100923/tickets/729-browser-filter-tree-doesnt-filter
diff --git a/sources b/sources
index df50be4..776bc00 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ee93fc1d1dce0d0b68431ec117d5f556  anki-2.0.8.tgz
+c61bb6af11d5dc461aa3d92b4b3d22ce  anki-2.0.9.tgz


More information about the scm-commits mailing list