[clementine/f16] Fix startup on a fresh install RHBZ#773547 Some specfile clean-ups

Orcan Ogetbil oget at fedoraproject.org
Fri Jan 13 01:51:35 UTC 2012


commit 1b35fbb475ee80bd1663afea10234c15423ada5f
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Thu Jan 12 20:51:32 2012 -0500

    Fix startup on a fresh install RHBZ#773547
    Some specfile clean-ups

 clementine-fresh-start.patch  |    9 ++++
 clementine-gcc46.patch        |   37 ---------------
 clementine-gmock-system.patch |   98 -----------------------------------------
 clementine.spec               |   12 +++++-
 4 files changed, 20 insertions(+), 136 deletions(-)
---
diff --git a/clementine-fresh-start.patch b/clementine-fresh-start.patch
new file mode 100644
index 0000000..9bf1297
--- /dev/null
+++ b/clementine-fresh-start.patch
@@ -0,0 +1,9 @@
+diff -rupN clementine-0.7.1.old/data/schema/schema.sql clementine-0.7.1/data/schema/schema.sql
+--- clementine-0.7.1.old/data/schema/schema.sql	2011-03-29 15:16:12.000000000 -0400
++++ clementine-0.7.1/data/schema/schema.sql	2012-01-12 19:15:39.889374607 -0500
+@@ -35,4 +35,5 @@ CREATE TABLE songs (
+ CREATE TABLE schema_version (
+   version INTEGER NOT NULL
+ );
++
+ INSERT INTO schema_version (version) VALUES (0);
diff --git a/clementine.spec b/clementine.spec
index c9c9ca9..73a9f4a 100644
--- a/clementine.spec
+++ b/clementine.spec
@@ -1,6 +1,6 @@
 Name:           clementine
 Version:        0.7.1
-Release:        4%{?dist}.1
+Release:        6%{?dist}
 Summary:        A music player and library organizer
 
 Group:          Applications/Multimedia
@@ -15,6 +15,8 @@ Patch0:         clementine-lastfm-login-fix.patch
 Patch1:         clementine-glibmm24-2.30.patch
 # Fixes build against newer glib2. From upstream trunk
 Patch2:         clementine-glib2-2.30.patch
+# Fixes startup on a fresh install. From upstream trunk
+Patch3:         clementine-fresh-start.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -60,6 +62,7 @@ music.
 %patch0 -p1 -b .lastfm
 %patch1 -p1 -b .glibmm24
 %patch2 -p1 -b .glib2
+%patch3 -p1 -b .fresh
 
 # Remove all 3rdparty libraries exceph universalchardet
 # as it is not available as a separate library.
@@ -130,6 +133,13 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Thu Jan 12 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 0.7.1-6
+- Fix startup on a fresh install RHBZ#773547
+- Some specfile clean-ups
+
+* Thu Jan 12 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
 * Tue Jan 10 2012 Rex Dieter <rdieter at fedoraproject.org> 0.7.1-4.1
 - rebuild (libechonest)
 


More information about the scm-commits mailing list