[soprano] soprano-2.7.2 (#747906) disable DEBUG for pre-rawhide builds (#746499)

Rex Dieter rdieter at fedoraproject.org
Fri Oct 21 12:29:51 UTC 2011


commit 7048240f3f4fa96ea31ac005b61ec6bf51fcde0b
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Fri Oct 21 07:37:16 2011 -0500

    soprano-2.7.2 (#747906)
    disable DEBUG for pre-rawhide builds (#746499)

 .gitignore                  |    2 +-
 soprano-2.7.2-version.patch |   12 ++++++++++++
 soprano.spec                |   12 ++++++++++--
 sources                     |    2 +-
 4 files changed, 24 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0059905..f584da1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
 /soprano-2.6.0.tar.bz2
-/soprano-2.7.1.tar.bz2
+/soprano-2.7.2.tar.bz2
diff --git a/soprano-2.7.2-version.patch b/soprano-2.7.2-version.patch
new file mode 100644
index 0000000..48aa9fb
--- /dev/null
+++ b/soprano-2.7.2-version.patch
@@ -0,0 +1,12 @@
+diff -up soprano-2.7.2/CMakeLists.txt.version soprano-2.7.2/CMakeLists.txt
+--- soprano-2.7.2/CMakeLists.txt.version	2011-10-21 07:34:59.602187722 -0500
++++ soprano-2.7.2/CMakeLists.txt	2011-10-21 07:35:11.230042355 -0500
+@@ -7,7 +7,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PAT
+ ##################  Soprano version  ################################
+ set(CMAKE_SOPRANO_VERSION_MAJOR 2)
+ set(CMAKE_SOPRANO_VERSION_MINOR 7)
+-set(CMAKE_SOPRANO_VERSION_RELEASE 1)
++set(CMAKE_SOPRANO_VERSION_RELEASE 2)
+ set(CMAKE_SOPRANO_VERSION_STRING "${CMAKE_SOPRANO_VERSION_MAJOR}.${CMAKE_SOPRANO_VERSION_MINOR}.${CMAKE_SOPRANO_VERSION_RELEASE}")
+ 
+ 
diff --git a/soprano.spec b/soprano.spec
index 0cef838..194eb33 100644
--- a/soprano.spec
+++ b/soprano.spec
@@ -7,7 +7,7 @@
 
 Summary: Qt wrapper API to different RDF storage solutions
 Name:    soprano
-Version: 2.7.1
+Version: 2.7.2
 Release: 1%{?dist}
 
 Group:   System Environment/Libraries
@@ -23,7 +23,10 @@ Source0: http://downloads.sf.net/soprano/soprano-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 ## upstreamable patches
+# nuke rpaths
 Patch50: soprano-2.5.63-rpath.patch
+# fix internal/reported version to match reality
+Patch51: soprano-2.7.2-version.patch
 
 BuildRequires: clucene-core-devel >= 0.9.20-2
 BuildRequires: cmake
@@ -110,13 +113,14 @@ format for easy browsing.
 %setup -q -n soprano-%{version}
 
 %patch50 -p1 -b .rpath
+%patch51 -p1 -b .version
 
 
 %build
 
 mkdir -p %{_target_platform}
 pushd %{_target_platform}
-%if 0%{?fedora} && 0%{?fedora} < 15
+%if 0%{?fedora} && 0%{?fedora} < 17
 export CXXFLAGS="%optflags -DQT_NO_DEBUG_OUTPUT"
 %endif
 %{cmake} \
@@ -222,6 +226,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Oct 21 2011 Rex Dieter <rdieter at fedoraproject.org> 2.7.2-1
+- soprano-2.7.2 (#747906)
+- disable DEBUG for pre-rawhide builds (#746499) 
+
 * Sun Sep 25 2011 Rex Dieter <rdieter at fedoraproject.org> 2.7.1-1
 - soprano-2.7.1 is available (#741005)
 
diff --git a/sources b/sources
index 7f4622e..b15baaa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1e7839c9a9c6a380986eef304ebeee73  soprano-2.7.1.tar.bz2
+0cc853aee90e40db49ac7cb25cdf3619  soprano-2.7.2.tar.bz2


More information about the scm-commits mailing list