Hello community, here is the log from the commit of package openh323 for openSUSE:Factory checked in at 2013-10-11 12:53:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openh323 (Old) and /work/SRC/openSUSE:Factory/.openh323.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openh323" Changes: -------- --- /work/SRC/openSUSE:Factory/openh323/openh323.changes 2012-07-12 10:49:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openh323.new/openh323.changes 2013-10-11 12:53:42.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Sep 26 19:34:40 CEST 2013 - [email protected] + +- Fix installed openh323u.mak to refer to the correct directories + (bnc#839475#c5). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openh323.spec ++++++ --- /var/tmp/diff_new_pack.gmDdBm/_old 2013-10-11 12:53:43.000000000 +0200 +++ /var/tmp/diff_new_pack.gmDdBm/_new 2013-10-11 12:53:43.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package openh323 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -72,11 +72,15 @@ Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: pwlib-devel = 1.11.0 +# Suggest debugsource file, as it provides OH323_SRCDIR from openh323u.mak, which may be needed to compile some applications: +Suggests: openh323-debugsource %description devel This package contains header and script files of the openh323 library -for developers +for developers. +To compile some third party projects that use files in OH323_SRCDIR, you +may need to install also openh323-debugsource package. %prep %setup -q -n %{name}_v%{_version} @@ -111,6 +115,19 @@ %install %makeinstall +# Now edit openh323u.mak to not refer to build directories: +sed -i ' +# Set prefix +/^H323_AVCODEC/i \ +PREFIX\t\t = %{_prefix} +# Do not point to build directory +s:^\(OPENH323DIR[[:space:]]*=[[:space:]]*\).*:\1%{_prefix}: +# Fix libdir +s:/lib$:/%{_lib}:g +s:/lib/:/%{_lib}/:g +# Set source reference to location, where openh323-debugsource install its data +s:\$(OPENH323DIR)/src:/usr/src/debug/%{name}_v%{_version}: +' %{buildroot}%{_datadir}/openh323/openh323u.mak %post -p /sbin/ldconfig -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
