Hello community, here is the log from the commit of package libproxy for openSUSE:Factory checked in at 2013-09-09 09:54:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libproxy (Old) and /work/SRC/openSUSE:Factory/.libproxy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libproxy" Changes: -------- --- /work/SRC/openSUSE:Factory/libproxy/libproxy-plugins.changes 2013-08-30 11:41:59.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libproxy.new/libproxy-plugins.changes 2013-09-09 09:54:16.000000000 +0200 @@ -1,0 +2,10 @@ +Thu Sep 5 18:08:52 CEST 2013 - mls@suse.de + +- Add libproxy-no-libperl.patch: do not link the perl module + against libperl. We do not want a dependency on the libperl + library, as that would make as depend on the specific version of + perl. As the bindings are running in perl context, libperl can + be assumed to be loaded by that time. +- Use perl_requires if it is defined. + +------------------------------------------------------------------- libproxy.changes: same change New: ---- libproxy-no-libperl.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libproxy-plugins.spec ++++++ --- /var/tmp/diff_new_pack.725AOk/_old 2013-09-09 09:54:17.000000000 +0200 +++ /var/tmp/diff_new_pack.725AOk/_new 2013-09-09 09:54:17.000000000 +0200 @@ -45,6 +45,8 @@ Source99: baselibs.conf # PATCH-FIX-UPSTREAM libproxy-pxgsettings-crash.patch bnc#836576 dimstar@opensuse.org -- Fix crash when pxgsettings is closing, taken from svn. Patch0: libproxy-pxgsettings-crash.patch +# PATCH-FIX-UPSTREAM libproxy-no-libperl.patch mls@suse.de -- Do not link against libperl. Submitted upstream. +Patch1: libproxy-no-libperl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake BuildRequires: gcc-c++ @@ -271,8 +273,12 @@ Summary: Perl bindings for libproxy Group: Development/Libraries/Perl Requires: libproxy1 = %{version} +%if 0%{?perl_requires:1} +%{perl_requires} +%else # For Fedora at least perl = perl_version does not work. Requires: perl >= %{perl_version} +%endif %description -n perl-Net-Libproxy libproxy offers the following features: * extremely small core @@ -307,6 +313,7 @@ %prep %setup -q -n %{_sourcename} %patch0 +%patch1 mkdir build %build ++++++ libproxy.spec ++++++ --- /var/tmp/diff_new_pack.725AOk/_old 2013-09-09 09:54:17.000000000 +0200 +++ /var/tmp/diff_new_pack.725AOk/_new 2013-09-09 09:54:17.000000000 +0200 @@ -45,6 +45,8 @@ Source99: baselibs.conf # PATCH-FIX-UPSTREAM libproxy-pxgsettings-crash.patch bnc#836576 dimstar@opensuse.org -- Fix crash when pxgsettings is closing, taken from svn. Patch0: libproxy-pxgsettings-crash.patch +# PATCH-FIX-UPSTREAM libproxy-no-libperl.patch mls@suse.de -- Do not link against libperl. Submitted upstream. +Patch1: libproxy-no-libperl.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: cmake BuildRequires: gcc-c++ @@ -271,8 +273,12 @@ Summary: Perl bindings for libproxy Group: Development/Libraries/Perl Requires: libproxy1 = %{version} +%if 0%{?perl_requires:1} +%{perl_requires} +%else # For Fedora at least perl = perl_version does not work. Requires: perl >= %{perl_version} +%endif %description -n perl-Net-Libproxy libproxy offers the following features: * extremely small core @@ -307,6 +313,7 @@ %prep %setup -q -n %{_sourcename} %patch0 +%patch1 mkdir build %build ++++++ libproxy-no-libperl.patch ++++++ --- ./bindings/perl/src/CMakeLists.txt.orig 2013-09-05 15:58:05.278486569 +0000 +++ ./bindings/perl/src/CMakeLists.txt 2013-09-05 15:58:41.772486504 +0000 @@ -12,7 +12,7 @@ set(Libproxy_LIB_SRCS Libproxy.c) set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/perl/blib/arch/auto/Net) add_library(PLlibproxy SHARED ${Libproxy_LIB_SRCS}) -target_link_libraries(PLlibproxy ${PERL_LIBRARY} libproxy) +target_link_libraries(PLlibproxy libproxy) set_target_properties(PLlibproxy PROPERTIES OUTPUT_NAME "Libproxy") set_target_properties(PLlibproxy PROPERTIES PREFIX "") -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org