Hello community,
here is the log from the commit of package yast2-pkg-bindings
checked in at Sat May 31 12:15:41 CEST 2008.
--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes 2008-05-23 16:35:14.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-pkg-bindings/yast2-pkg-bindings.changes 2008-05-30 09:46:20.570101000 +0200
@@ -1,0 +2,7 @@
+Thu May 29 13:57:53 CEST 2008 - lslezak@suse.cz
+
+- set the prefix for package cache (do not download packages to
+ the current directory) (bnc#394728)
+- 2.16.39
+
+-------------------------------------------------------------------
Old:
----
yast2-pkg-bindings-2.16.38.tar.bz2
New:
----
yast2-pkg-bindings-2.16.39.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.B13196/_old 2008-05-31 12:15:35.000000000 +0200
+++ /var/tmp/diff_new_pack.B13196/_new 2008-05-31 12:15:35.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings-devel-doc (Version 2.16.38)
+# spec file for package yast2-pkg-bindings-devel-doc (Version 2.16.39)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-pkg-bindings-devel-doc
-Version: 2.16.38
+Version: 2.16.39
Release: 1
License: GPL v2 or later
Group: Documentation/HTML
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.16.38.tar.bz2
+Source0: yast2-pkg-bindings-2.16.39.tar.bz2
Prefix: %_prefix
# same as in the main package (because we use the same configure.in.in)
BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen gcc-c++ libgcrypt-devel libxcrypt-devel libxslt libzypp-devel perl-XML-Writer sgml-skel yast2-core-devel yast2-devtools
@@ -38,7 +38,7 @@
Ladislav Slez�k
%prep
-%setup -n yast2-pkg-bindings-2.16.38
+%setup -n yast2-pkg-bindings-2.16.39
# build only documentation, ignore all other directories
echo "doc" > SUBDIRS
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.B13196/_old 2008-05-31 12:15:35.000000000 +0200
+++ /var/tmp/diff_new_pack.B13196/_new 2008-05-31 12:15:35.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings (Version 2.16.38)
+# spec file for package yast2-pkg-bindings (Version 2.16.39)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,17 +12,17 @@
Name: yast2-pkg-bindings
-Version: 2.16.38
+Version: 2.16.39
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.16.38.tar.bz2
+Source0: yast2-pkg-bindings-2.16.39.tar.bz2
Prefix: /usr
BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen gcc-c++ libgcrypt-devel libxcrypt-devel libxslt perl-XML-Writer sgml-skel yast2-core-devel yast2-devtools
-BuildRequires: libzypp-devel >= 4.4.0
+BuildRequires: libzypp-devel >= 4.25.1
# created and expires dates in zypp::PublicKey
-Requires: libzypp >= 4.4.0
+Requires: libzypp >= 4.25.1
Summary: YaST2 - Package Manager Access
%description
@@ -40,7 +40,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-pkg-bindings-2.16.38
+%setup -n yast2-pkg-bindings-2.16.39
# build only the library, ignore documentation (it is in devel-doc package)
echo "src" > SUBDIRS
@@ -72,6 +72,10 @@
%{_libdir}/YaST2/plugin/libpy2Pkg.so
%doc %{prefix}/share/doc/packages/yast2-pkg-bindings
%changelog
+* Thu May 29 2008 lslezak@suse.cz
+- set the prefix for package cache (do not download packages to
+ the current directory) (bnc#394728)
+- 2.16.39
* Fri May 23 2008 dmacvicar@suse.de
- fix patch pre-selection
- 2.16.38
++++++ yast2-pkg-bindings-2.16.38.tar.bz2 -> yast2-pkg-bindings-2.16.39.tar.bz2 ++++++
++++ 3977 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pkg-bindings-2.16.38/configure.in new/yast2-pkg-bindings-2.16.39/configure.in
--- old/yast2-pkg-bindings-2.16.38/configure.in 2008-05-23 16:34:55.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.39/configure.in 2008-05-23 12:53:48.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-pkg-bindings, 2.16.38, http://bugs.opensuse.org/, yast2-pkg-bindings)
+AC_INIT(yast2-pkg-bindings, 2.16.37, http://bugs.opensuse.org/, yast2-pkg-bindings)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)
dnl Important YaST2 variables
-VERSION="2.16.38"
+VERSION="2.16.37"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pkg-bindings-2.16.38/src/PkgFunctions.cc new/yast2-pkg-bindings-2.16.39/src/PkgFunctions.cc
--- old/yast2-pkg-bindings-2.16.38/src/PkgFunctions.cc 2008-04-15 16:31:12.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.39/src/PkgFunctions.cc 2008-05-29 10:34:01.000000000 +0200
@@ -223,8 +223,7 @@
zypp::RepoManager PkgFunctions::CreateRepoManager()
{
// set path option, use root dir as a prefix for the default directory
- zypp::RepoManagerOptions repo_options;
- repo_options.knownReposPath = zypp::Pathname(_target_root) + repo_options.knownReposPath;
+ zypp::RepoManagerOptions repo_options(_target_root);
y2milestone("Path to repository files: %s", repo_options.knownReposPath.asString().c_str());
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pkg-bindings-2.16.38/src/Source_Create.cc new/yast2-pkg-bindings-2.16.39/src/Source_Create.cc
--- old/yast2-pkg-bindings-2.16.38/src/Source_Create.cc 2008-05-23 12:53:39.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.39/src/Source_Create.cc 2008-05-30 09:36:35.000000000 +0200
@@ -19,7 +19,7 @@
*/
/*
- File: $Id: Source_Create.cc 47827 2008-05-23 10:53:39Z lslezak $
+ File: $Id: Source_Create.cc 47956 2008-05-30 07:36:35Z lslezak $
Author: Ladislav Slezák
Summary: Functions related to repository registration
Namespace: Pkg
@@ -326,6 +326,8 @@
// set metadata path (#293428)
zypp::Pathname metadatapath = repomanager.metadataPath(repo);
repo.setMetadataPath(metadatapath);
+ // set packages path
+ repo.setPackagesPath(repomanager.packagesPath(repo));
y2milestone("Adding source '%s' (%s, dir: %s)", repo.alias().c_str(), url.asString().c_str(), path_r.asString().c_str());
// note: exceptions should be caught by the calling code
@@ -518,6 +520,8 @@
zypp::Pathname metadatapath = repomanager.metadataPath(repo);
repo.setMetadataPath(metadatapath);
+ repo.setPackagesPath(repomanager.packagesPath(repo));
+
repos.push_back(new YRepo(repo));
// the new source is at the end of the list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-pkg-bindings-2.16.38/VERSION new/yast2-pkg-bindings-2.16.39/VERSION
--- old/yast2-pkg-bindings-2.16.38/VERSION 2008-05-23 16:27:25.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.39/VERSION 2008-05-29 14:08:47.000000000 +0200
@@ -1 +1 @@
-2.16.38
+2.16.39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org