Hello community,

here is the log from the commit of package liblastfm for openSUSE:Factory 
checked in at 2012-05-16 21:08:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liblastfm (Old)
 and      /work/SRC/openSUSE:Factory/.liblastfm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "liblastfm", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/liblastfm/liblastfm.changes      2012-01-27 
15:21:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.liblastfm.new/liblastfm.changes 2012-05-16 
21:08:08.000000000 +0200
@@ -1,0 +2,5 @@
+Tue May 15 10:56:34 UTC 2012 - idon...@suse.com
+
+- Fix build with Ruby 1.9 
+
+-------------------------------------------------------------------

New:
----
  liblastfm-ruby19.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ liblastfm.spec ++++++
--- /var/tmp/diff_new_pack.ypl7xk/_old  2012-05-16 21:08:09.000000000 +0200
+++ /var/tmp/diff_new_pack.ypl7xk/_new  2012-05-16 21:08:09.000000000 +0200
@@ -16,22 +16,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           liblastfm
 Version:        0.3.3
-Release:        1
-License:        GPL-3.0+
+Release:        0
 Summary:        A Qt C++ Library for the Last.fm Webservices
-Url:            http://github.com/mxcl/liblastfm
+License:        GPL-3.0+
 Group:          System/Libraries
+Url:            http://github.com/mxcl/liblastfm
 # https://download.github.com/mxcl-liblastfm-0.3.3-0-gf0b3239.zip
 Source0:        mxcl-liblastfm-%{version}-0-gf0b3239.tar.bz2
 # PATCH-FIX-OPENSUSE liblastfm_qmake.patch -- Fix hard-coded libdir
 Patch0:         liblastfm_qmake.patch
 # PATCH-FIX-OPENSUSE liblastfm-sort.patch a...@suse.de -- Sort lastfm.h to 
have same order each build
 Patch1:         liblastfm-sort.patch
+# PATCH-FIX-OPENSUSE liblastfm-ruby19.patch idoen...@suse.de -- Fix build with 
Ruby 1.9
+Patch2:         liblastfm-ruby19.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  fftw3-devel
@@ -46,7 +46,6 @@
 by Last.fm staff.
 
 %package -n liblastfm0
-License:        GPL-3.0+
 Summary:        A Qt C++ Library for the Last.fm Webservices
 Group:          System/Libraries
 
@@ -56,7 +55,6 @@
 by Last.fm staff.
 
 %package -n liblastfm-devel
-License:        GPL-3.0+
 Summary:        Development Files for the Last.fm Webservices
 Group:          Development/Libraries/C and C++
 Requires:       liblastfm0 = %{version}
@@ -73,6 +71,9 @@
 %setup -qn mxcl-liblastfm-1c739eb
 %patch0 -p1
 %patch1
+%if 0%{?suse_version} >= 1220
+%patch2 -p1
+%endif
 
 %build
   export LIB=%{_lib}

++++++ liblastfm-ruby19.patch ++++++
Index: mxcl-liblastfm-1c739eb/admin/qpp
===================================================================
--- mxcl-liblastfm-1c739eb.orig/admin/qpp
+++ mxcl-liblastfm-1c739eb/admin/qpp
@@ -2,9 +2,8 @@
 # Creates a qmake .pro file for all valid SOURCES, HEADERS, FORMS and
 # RESOURCES under each argument to ARGV as directories
 
-cwd=File.dirname __FILE__
 require 'find'
-require "#{cwd}/findsrc"
+require_relative 'findsrc'
 
 sources = Array.new
 headers = Array.new
Index: mxcl-liblastfm-1c739eb/admin/Makefile.rb
===================================================================
--- mxcl-liblastfm-1c739eb.orig/admin/Makefile.rb
+++ mxcl-liblastfm-1c739eb/admin/Makefile.rb
@@ -4,9 +4,8 @@
 # and then creates the directory _include and creates files named after the 
 # class names in there which #include the file that contains the class
 
-cwd = File.dirname( __FILE__ )
 require 'find'
-require "#{cwd}/platform.rb"
+require_relative 'platform'
 
 
 ######################################################################### defs
@@ -158,4 +157,4 @@ puts <<-EOS
 .PHONY: dist
 dist:
        git archive --prefix=#{BASENAME}/ HEAD | bzip2 > #{BASENAME}.tar.bz2
-EOS
\ No newline at end of file
+EOS
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to