[taglib] taglib.h: fix TAGLIB_MINOR_VERSION

Rex Dieter rdieter at fedoraproject.org
Thu Sep 13 13:34:01 UTC 2012


commit 5d191f2e08a60885a65baff269a2eca7852679e2
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Thu Sep 13 08:33:58 2012 -0500

    taglib.h: fix TAGLIB_MINOR_VERSION

 taglib-1.8-version.patch |   12 ++++++++++++
 taglib.spec              |    9 +++++++--
 2 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/taglib-1.8-version.patch b/taglib-1.8-version.patch
new file mode 100644
index 0000000..664bd30
--- /dev/null
+++ b/taglib-1.8-version.patch
@@ -0,0 +1,12 @@
+diff -up taglib-1.8/taglib/toolkit/taglib.h.version taglib-1.8/taglib/toolkit/taglib.h
+--- taglib-1.8/taglib/toolkit/taglib.h.version	2012-09-06 13:03:15.000000000 -0500
++++ taglib-1.8/taglib/toolkit/taglib.h	2012-09-13 08:30:49.543468318 -0500
+@@ -27,7 +27,7 @@
+ #define TAGLIB_H
+ 
+ #define TAGLIB_MAJOR_VERSION 1
+-#define TAGLIB_MINOR_VERSION 7
++#define TAGLIB_MINOR_VERSION 8
+ #define TAGLIB_PATCH_VERSION 0
+ 
+ #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 1))
diff --git a/taglib.spec b/taglib.spec
index 143a60c..aed187b 100644
--- a/taglib.spec
+++ b/taglib.spec
@@ -12,7 +12,7 @@
 
 Name:       taglib	
 Version:    1.8
-Release:    0.1%{?dist}
+Release:    2%{?dist}
 Summary:    Audio Meta-Data Library
 
 Group: 	    System Environment/Libraries
@@ -31,7 +31,8 @@ Patch1:     taglib-1.5b1-multilib.patch
 # try 2, kiss omit -L%_libdir
 Patch2:     taglib-1.5rc1-multilib.patch
 
-## upstream patches
+## upstreamable patches
+Patch50: taglib-1.8-version.patch
 
 BuildRequires: cmake
 BuildRequires: pkgconfig
@@ -81,6 +82,7 @@ Files needed when building software with %{name}.
 # patch1 not applied
 ## omit for now
 %patch2 -p1 -b .multilib
+%patch50 -p1 -b .version
 
 
 %build
@@ -148,6 +150,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Thu Sep 13 2012 Rex Dieter <rdieter at fedoraproject.org> 1.8-2
+- taglib.h: fix TAGLIB_MINOR_VERSION
+
 * Thu Sep 06 2012 Rex Dieter <rdieter at fedoraproject.org> 1.8-1
 - taglib-1.8
 


More information about the scm-commits mailing list