Hello community,

here is the log from the commit of package libzrtpcpp for openSUSE:Factory 
checked in at 2012-04-12 09:39:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libzrtpcpp (Old)
 and      /work/SRC/openSUSE:Factory/.libzrtpcpp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libzrtpcpp", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libzrtpcpp/libzrtpcpp.changes    2011-09-27 
16:06:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libzrtpcpp.new/libzrtpcpp.changes       
2012-04-12 09:39:21.000000000 +0200
@@ -1,0 +2,10 @@
+Thu Apr  5 13:28:26 UTC 2012 - [email protected]
+
+- better libdir handling 
+
+-------------------------------------------------------------------
+Thu Apr  5 11:59:40 UTC 2012 - [email protected]
+
+- fix libdir for ppc64 
+
+-------------------------------------------------------------------

New:
----
  libzrtpcpp-libdir.patch

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

Other differences:
------------------
++++++ libzrtpcpp.spec ++++++
--- /var/tmp/diff_new_pack.U7dQM1/_old  2012-04-12 09:39:23.000000000 +0200
+++ /var/tmp/diff_new_pack.U7dQM1/_new  2012-04-12 09:39:23.000000000 +0200
@@ -31,6 +31,7 @@
 BuildRequires:  ccrtp-devel >= 2.0.0
 BuildRequires:  libopenssl-devel >= 0.9.8
 BuildRequires:  pkgconfig
+Patch0:         libzrtpcpp-libdir.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -61,6 +62,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 mkdir build
@@ -72,6 +74,9 @@
       -DCMAKE_VERBOSE_MAKEFILE=TRUE \
       -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
       -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \
+%ifarch x86_64 ppc64 s390x
+      -DLIB_SUFFIX=64 \
+%endif
       ..
 
 make %{?_smp_mflags} V=1

++++++ libzrtpcpp-libdir.patch ++++++
--- libzrtpcpp-2.0.0/CMakeLists.txt.orig        2012-04-05 15:26:17.231590000 
+0200
+++ libzrtpcpp-2.0.0/CMakeLists.txt     2012-04-05 15:26:37.471769000 +0200
@@ -50,12 +50,7 @@
 args_help()
 
 # this caused problems in debian where it has to always be lib....
-set(LIBDIRNAME "lib")
-if (NOT EXISTS /etc/debian_version)
-    if ( "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64" )
-        set(LIBDIRNAME "lib64")
-    endif()
-endif()
+set(LIBDIRNAME "lib${LIB_SUFFIX}")
 
 # setup the Thread include and lib
 find_package(Threads)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to