Hello community,
here is the log from the commit of package yast2-add-on-creator for openSUSE:Factory
checked in at Thu Mar 5 16:57:53 CET 2009.
--------
--- yast2-add-on-creator/yast2-add-on-creator.changes 2008-12-17 21:22:56.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-add-on-creator/yast2-add-on-creator.changes 2009-03-05 13:47:49.092014000 +0100
@@ -2 +2,17 @@
-Wed Dec 17 14:34:32 CET 2008 - jsuchome@suse.cz
+Thu Mar 5 13:40:08 CET 2009 - jsuchome@suse.cz
+
+- fixed distribution name: OpenSUSE -> openSUSE (bnc#479737)
+- 2.18.1
+
+-------------------------------------------------------------------
+Mon Jan 19 15:52:12 CET 2009 - jsuchome@suse.cz
+
+- generate package metadata for -release packages (bnc#466327)
+
+-------------------------------------------------------------------
+Wed Jan 14 09:02:42 CET 2009 - jsuchome@suse.cz
+
+- fixed missing translation mark (bnc#464479)
+
+-------------------------------------------------------------------
+Wed Dec 17 21:21:18 CET 2008 - jsuchome@suse.cz
@@ -8 +24 @@
-- 2.17.10
+- 2.18.0
calling whatdependson for head-i586
Old:
----
yast2-add-on-creator-2.17.10.tar.bz2
New:
----
yast2-add-on-creator-2.18.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-add-on-creator.spec ++++++
--- /var/tmp/diff_new_pack.ib6360/_old 2009-03-05 16:57:45.000000000 +0100
+++ /var/tmp/diff_new_pack.ib6360/_new 2009-03-05 16:57:45.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package yast2-add-on-creator (Version 2.17.10)
+# spec file for package yast2-add-on-creator (Version 2.18.1)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 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
@@ -19,12 +19,12 @@
Name: yast2-add-on-creator
-Version: 2.17.10
+Version: 2.18.1
Release: 1
License: GPL v2 only; GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-add-on-creator-2.17.10.tar.bz2
+Source0: yast2-add-on-creator-2.18.1.tar.bz2
Prefix: /usr
PreReq: %fillup_prereq
Requires: yast2
@@ -42,7 +42,7 @@
Jiri Suchomel
%prep
-%setup -n yast2-add-on-creator-2.17.10
+%setup -n yast2-add-on-creator-2.18.1
%build
%{prefix}/bin/y2tool y2autoconf
@@ -84,12 +84,19 @@
%doc %{prefix}/share/doc/packages/yast2-add-on-creator
/var/adm/fillup-templates/sysconfig.add-on-creator
%changelog
+* Thu Mar 05 2009 jsuchome@suse.cz
+- fixed distribution name: OpenSUSE -> openSUSE (bnc#479737)
+- 2.18.1
+* Mon Jan 19 2009 jsuchome@suse.cz
+- generate package metadata for -release packages (bnc#466327)
+* Wed Jan 14 2009 jsuchome@suse.cz
+- fixed missing translation mark (bnc#464479)
* Wed Dec 17 2008 jsuchome@suse.cz
- added CLI support for product file (disable generating, offer
path to import)
- removed debug popup
- enable importing product file with dependency data
-- 2.17.10
+- 2.18.0
* Fri Dec 12 2008 jsuchome@suse.cz
- call bs_productconvert from correct path
- import data from -release packages when cloning product
++++++ yast2-add-on-creator-2.17.10.tar.bz2 -> yast2-add-on-creator-2.18.1.tar.bz2 ++++++
++++ 3190 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-add-on-creator-2.17.10/configure.in new/yast2-add-on-creator-2.18.1/configure.in
--- old/yast2-add-on-creator-2.17.10/configure.in 2008-12-17 13:32:17.000000000 +0100
+++ new/yast2-add-on-creator-2.18.1/configure.in 2009-03-05 13:39:31.000000000 +0100
@@ -1,9 +1,9 @@
dnl configure.in for yast2-add-on-creator
dnl
-dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-add-on-creator, 2.17.9, http://bugs.opensuse.org/, yast2-add-on-creator)
+AC_INIT(yast2-add-on-creator, 2.18.0, http://bugs.opensuse.org/, yast2-add-on-creator)
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.17.9"
+VERSION="2.18.0"
RPMNAME="yast2-add-on-creator"
MAINTAINER="Jiri Suchomel "
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-add-on-creator-2.17.10/src/add-on-creator.ycp new/yast2-add-on-creator-2.18.1/src/add-on-creator.ycp
--- old/yast2-add-on-creator-2.17.10/src/add-on-creator.ycp 2008-12-17 14:16:52.000000000 +0100
+++ new/yast2-add-on-creator-2.18.1/src/add-on-creator.ycp 2008-12-18 11:29:47.000000000 +0100
@@ -24,7 +24,7 @@
* Summary: Main file
* Authors: Jiri Suchomel
*
- * $Id: add-on-creator.ycp 52147 2008-10-13 14:36:15Z jsuchome $
+ * $Id: add-on-creator.ycp 54247 2008-12-17 20:22:16Z jsuchome $
*
* Main file for add-on-creator configuration. Uses all other files.
*/
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-add-on-creator-2.17.10/src/AddOnCreator.ycp new/yast2-add-on-creator-2.18.1/src/AddOnCreator.ycp
--- old/yast2-add-on-creator-2.17.10/src/AddOnCreator.ycp 2008-12-17 14:34:20.000000000 +0100
+++ new/yast2-add-on-creator-2.18.1/src/AddOnCreator.ycp 2009-02-18 14:38:37.000000000 +0100
@@ -24,7 +24,7 @@
* Summary: AddOnCreator settings, input and output functions
* Authors: Jiri Suchomel
*
- * $Id: AddOnCreator.ycp 54098 2008-12-12 15:06:30Z jsuchome $
+ * $Id: AddOnCreator.ycp 55585 2009-02-18 13:38:37Z jsuchome $
*
* Representation of the configuration of add-on-creator.
* Input and output routines.
@@ -156,7 +156,7 @@
// label of content file BASEARCHS key
"label" : _("Product architectures"),
// help text for content file 'BASEARCHS' key
- "help" : _("Space-separated list of product architectures for. Matches the available product-release packages architectures. "),
+ "help" : _("Space-separated list of product architectures. Matches the available product-release packages architectures. "),
"mandatory" : true
],
"VERSION" : $[
@@ -2216,9 +2216,11 @@
y2error ("obs-productconverter not installed, not generating -release");
return false;
}
- if (!FileUtils::Exists (base_path))
+ if (!FileUtils::Exists (full_data_path))
+ {
+ y2error ("path '%1' does not exist", full_data_path);
return false;
-
+ }
// release packages names and architectures
map release_packages = $[];
@@ -2321,18 +2323,18 @@
"/usr/lib/obs/server/bs_productconvert %1 %2 %3",
prod_file_path, product_dir, name));
- // 3. build the release package from generated .spec file
- string cmd = sformat (
- "rpmbuild -bb `find -L %1 -name %2-release.spec`", tmpdir, name);
-
if (out["exit"]:0 != 0)
{
- y2error ("rpmbuild failed with %1", out["stderr"]:"");
+ y2error ("bs_productconvert failed with %1", out["stderr"]:"");
SCR::Execute (.target.remove, prod_file_path);
SCR::Execute (.target.bash, sformat ("rm -rf '%1'", product_dir));
return false;
}
+ // 3. build the release package from generated .spec file
+ string cmd = sformat (
+ "rpmbuild -bb `find -L %1 -name %2-release.spec`", tmpdir, name);
+
out = (map) SCR::Execute (.target.bash_output, cmd, $["LANG":"C"]);
if (out["exit"]:0 != 0)
{
@@ -2366,7 +2368,15 @@
SCR::Execute (.target.bash, sformat ("/bin/cp -r %1 '%2/%3'",
package_path, full_data_path, arch));
});
- // 5. delete the tmp files, so it doesn't mess possible next builds
+ // 5. generate metadata for new package
+ y2milestone("updating packages descriptions after adding release packages");
+ cmd = sformat("/usr/bin/create_package_descr -d %1 -C -F -o %2",
+ full_data_path, tmpdir);
+ if (SCR::Execute (.target.bash, cmd, $["LANG":"C"]) != 0)
+ {
+ y2error ("'%1' failed", cmd);
+ }
+ // 6. delete the tmp files, so it doesn't mess possible next builds
SCR::Execute (.target.remove, prod_file_path);
SCR::Execute (.target.bash, sformat ("rm -rf '%1'", product_dir));
return true;
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-add-on-creator-2.17.10/src/complex.ycp new/yast2-add-on-creator-2.18.1/src/complex.ycp
--- old/yast2-add-on-creator-2.17.10/src/complex.ycp 2008-12-17 13:30:09.000000000 +0100
+++ new/yast2-add-on-creator-2.18.1/src/complex.ycp 2009-03-05 13:39:23.000000000 +0100
@@ -24,7 +24,7 @@
* Summary: Dialogs definitions
* Authors: Jiri Suchomel
*
- * $Id: complex.ycp 53843 2008-12-03 14:17:08Z jsuchome $
+ * $Id: complex.ycp 54903 2009-01-22 13:25:04Z jsuchome $
*/
{
@@ -376,12 +376,6 @@
map current_product = AddOnCreator::current_product;
- /*
- string requires = AddOnCreator::product_info["requires","value"]:"";
- if (requires == "")
- requires = "openSUSE-release = 11.1";
- */
-
// try to read existing product dependency and transform it to one string
// easily understanable
list requres_l = AddOnCreator::product_info["requires","value"]:[];
@@ -390,20 +384,7 @@
string requires = "";
if (requires_m["name"]:"" != "")
requires = sformat ("%1-%2", requires_m["name"]:"", requires_m["version"]:"");
- else
- {
- /* TODO read current product infow:
-jsuchome@rivendell:~> more /etc/SuSE-release
-openSUSE 11.1 Beta 3 (i586)
-VERSION = 11.1
-
-dhcp86:~ # more /etc/SuSE-release
-SUSE Linux Enterprise Server 11 (x86_64)
-VERSION = 11
-PATCHLEVEL = 0
- */
- }
string requires_orig = requires;
string old_dir = current_product["rpm_path"]:"";
@@ -446,15 +427,14 @@
// radio button label
_("S&USE Linux Enterprise 11"),
requires == "SUSE_SLE-11")),
- `Left (`RadioButton(`id("openSUSE-11.1"), `opt (`notify),
+ `Left (`RadioButton(`id("openSUSE-11.2"), `opt (`notify),
// radio button label
- _("OpenSUSE &11.1"),
- requires == "openSUSE-11.1")),
+ _("openSUSE &11.2"),
+ requires == "openSUSE-11.2")),
`HBox (
`Left(`RadioButton(`id(`other), `opt (`notify),
// radio button label
_("&Other")))
-// `InputField (`id(`other_val), "")
)
)))
),
@@ -493,12 +473,7 @@
{
UI::ChangeWidget (`id(`rd), `Value, `other);
requires = ""; // empty string means other than predefined values
-// UI::ChangeWidget (`id(`other_val), `Value, requires);
}
- /*
- UI::ChangeWidget (`id(`other_val), `Enabled,
- UI::QueryWidget (`id(`rd), `Value) == `other);
- */
any ret = nil;
@@ -775,7 +750,7 @@
`VSpacing (0.4),
`Left (`CheckBox (`id (`release_package), `opt (`notify),
// check box label
- ("Generate Release Package"), generate_release_package)
+ _("Generate Release Package"), generate_release_package)
),
// label
`Left (`Label (_("Product File"))),
@@ -1487,7 +1462,7 @@
`HBox (
`InputField (`id (`extra_prov), `opt (`hstretch),
// textentry label
- ("Location of the File with Additional &Dependencies"),
+ _("Location of the File with Additional &Dependencies"),
current_product["extra_prov_file"]:""),
`VBox (
`Label (""),
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-add-on-creator-2.17.10/VERSION new/yast2-add-on-creator-2.18.1/VERSION
--- old/yast2-add-on-creator-2.17.10/VERSION 2008-12-17 14:35:36.000000000 +0100
+++ new/yast2-add-on-creator-2.18.1/VERSION 2009-03-05 13:41:09.000000000 +0100
@@ -1 +1 @@
-2.17.10
+2.18.1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org