Hello community,
here is the log from the commit of package openSUSE-release
checked in at Mon Sep 8 18:11:13 CEST 2008.
--------
--- openSUSE-release/openSUSE-release.changes 2008-08-15 11:57:03.000000000 +0200
+++ /mounts/work_src_done/STABLE/openSUSE-release/openSUSE-release.changes 2008-09-05 14:50:32.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Sep 5 14:48:00 CEST 2008 - adrian@suse.de
+
+- update package, use the generated spec file from OBS product
+ converter using official product configuration.
+ -> YaST product file is now XML.
+ -> Values are not taken from .buildenv anymore, but from
+ Product Defintion
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ openSUSE-release.spec ++++++
--- /var/tmp/diff_new_pack.P24807/_old 2008-09-08 18:10:55.000000000 +0200
+++ /var/tmp/diff_new_pack.P24807/_new 2008-09-08 18:10:55.000000000 +0200
@@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
Name: openSUSE-release
@@ -25,7 +24,7 @@
License: BSD 3-Clause
Group: System/Fhs
Version: 11.0.42
-Release: 25
+Release: 36
Provides: aaa_version distribution-release
Provides: suse-release-oss = %{version}-%{release}
Provides: suse-release = %{version}-%{release}
@@ -40,7 +39,7 @@
Summary: SuSE release version files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: coreutils
-%define betaversion "Alpha2"
+%define betaversion "-Alpha1plus"
%description
This package contains the files: /etc/SuSE-release, /etc/issue,
@@ -52,13 +51,13 @@
--------
ro@suse.de
-%package dvd
-%define flavor dvd
+%package ftp
+%define flavor ftp
License: BSD 3-Clause
Group: System/Fhs
Summary: SuSE release version files
-%description dvd
+%description ftp
This package contains the files: /etc/SuSE-release, /etc/issue,
/etc/issue.net, and /etc/products.d/openSUSE.prod
@@ -68,14 +67,60 @@
--------
ro@suse.de
-%package live
-%define flavor live
+%files ftp
+%defattr(-,root,root)
+%dir /etc/products.d
+/etc/products.d/openSUSE-ftp.prod
+
+%package dvd9
+%define flavor dvd9
+License: BSD 3-Clause
+Group: System/Fhs
+Summary: SuSE release version files
+
+%description dvd9
+This package contains the files: /etc/SuSE-release, /etc/issue,
+/etc/issue.net, and /etc/products.d/openSUSE.prod
+
+
+
+Authors:
+--------
+ ro@suse.de
+
+%files dvd9
+%defattr(-,root,root)
+%dir /etc/products.d
+/etc/products.d/openSUSE-dvd9.prod
+
+%package dvd5
+%define flavor dvd5
+License: BSD 3-Clause
+Group: System/Fhs
+Summary: SuSE release version files
+
+%description dvd5
+This package contains the files: /etc/SuSE-release, /etc/issue,
+/etc/issue.net, and /etc/products.d/openSUSE.prod
+
+
+
+Authors:
+--------
+ ro@suse.de
+
+%files dvd5
+%defattr(-,root,root)
+%dir /etc/products.d
+/etc/products.d/openSUSE-dvd5.prod
+
+%package livedvd5
+%define flavor livedvd5
License: BSD 3-Clause
Group: System/Fhs
Summary: SuSE release version files
-Conflicts: %{name}-dvd
-%description live
+%description livedvd5
This package contains the files: /etc/SuSE-release, /etc/issue,
/etc/issue.net, and /etc/products.d/openSUSE.prod
@@ -85,41 +130,170 @@
--------
ro@suse.de
+%files livedvd5
+%defattr(-,root,root)
+%dir /etc/products.d
+/etc/products.d/openSUSE-livedvd5.prod
+
%prep
%build
%install
mkdir -p $RPM_BUILD_ROOT/etc
-test -e /.buildenv && . /.buildenv
-echo -e "\nWelcome to $BUILD_DISTRIBUTION_NAME %{betaversion} - Kernel \\\r (\\\l).\n\n" > $RPM_BUILD_ROOT/etc/issue
-echo "Welcome to $BUILD_DISTRIBUTION_NAME %{betaversion} - Kernel %%r (%%t)." > $RPM_BUILD_ROOT/etc/issue.net
-echo $BUILD_DISTRIBUTION_NAME "%{betaversion}" > $RPM_BUILD_ROOT/etc/SuSE-release
-#echo -e "\nWelcome to $BUILD_DISTRIBUTION_NAME - Kernel \\\r (\\\l).\n\n" > $RPM_BUILD_ROOT/etc/issue
-#echo "Welcome to $BUILD_DISTRIBUTION_NAME - Kernel %%r (%%t)." > $RPM_BUILD_ROOT/etc/issue.net
-#echo $BUILD_DISTRIBUTION_NAME > $RPM_BUILD_ROOT/etc/SuSE-release
-echo VERSION = $BUILD_DISTRIBUTION_VERSION >> $RPM_BUILD_ROOT/etc/SuSE-release
+echo -e 'Welcome to %{product} %{betaversion} - Kernel \\r (\\l).\n\n' > $RPM_BUILD_ROOT/etc/issue
+echo "Welcome to %{product} %{betaversion} - Kernel %%r (%%t)." > $RPM_BUILD_ROOT/etc/issue.net
+echo %{product} "%{betaversion}" > $RPM_BUILD_ROOT/etc/SuSE-release
+echo VERSION = %{version} >> $RPM_BUILD_ROOT/etc/SuSE-release
echo "Have a lot of fun..." > $RPM_BUILD_ROOT/etc/motd
# Bug 404141 - /etc/YaST/control.xml should be owned by some package
mkdir -p $RPM_BUILD_ROOT/etc/YaST2/
echo $RPM_BUILD_ROOT
cp -av /CD1/control.xml $RPM_BUILD_ROOT/etc/YaST2/
mkdir -p $RPM_BUILD_ROOT/etc/products.d
-echo -e "[product]" > $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "name = %{product}" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "version = %{version}-%{release}" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-#%{arch} doesn't expand ?!
-#echo -e "arch = %{arch}" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "flavor = %{flavor}" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "distribution = %{distribution}" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "vendor = %{vendor}" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "[translated]" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "summary = The openSUSE distribution" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "summary[de] = Die openSUSE Distribution" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "description = This is the Linux distribution of the openSUSE project" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "description[de] = Dies ist die Linux Distribution" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
-echo -e "description[de] = des openSUSE Projekts" >> $RPM_BUILD_ROOT/etc/products.d/openSUSE.prod
+cat >$RPM_BUILD_ROOT/etc/products.d/openSUSE-ftp.prod << EOF
+<?xml version="1.0" encoding="UTF-8"?>
+<product schemeversion="0.0">
+ <general>
+ <vendor>Novell</vendor>
+ <name>openSUSE</name>
+ <version>11.1</version>
+ <release>0</release>
+