Accepting request 85925 from YaST:Head

- code cleanup - removed obsoled code for handling selections
  (replaced by patterns long time ago),
  use Pkg::SourceProductData() instead of obsoleted
  Pkg::SourceProduct()
- 2.21.1

OBS-URL: https://build.opensuse.org/request/show/85925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yast2-update?expand=0&rev=67
This commit is contained in:
Lars Vogdt 2011-10-03 07:27:38 +00:00 committed by Git OBS Bridge
commit 69771f1c05
4 changed files with 45 additions and 34 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35038f01a0260e711087f8cf36207d87b15c323b768115e4963975729129aae6
size 119529

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba1d5f4146f76c2e3ef7a0d83afd2d85c338d784f802248c194a4f791ae48a06
size 115343

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Sep 23 11:01:27 UTC 2011 - lslezak@suse.cz
- code cleanup - removed obsoled code for handling selections
(replaced by patterns long time ago),
use Pkg::SourceProductData() instead of obsoleted
Pkg::SourceProduct()
- 2.21.1
-------------------------------------------------------------------
Thu Sep 22 11:02:45 CEST 2011 - jsuchome@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package yast2-update (Version 2.21.0)
# spec file for package yast2-update
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -11,71 +11,72 @@
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: yast2-update
Version: 2.21.0
Release: 0
Name: yast2-update
Version: 2.21.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-update-2.21.0.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-update-%{version}.tar.bz2
prefix: /usr
Prefix: /usr
Group: System/YaST
License: GPL v2 or later
BuildRequires: perl-XML-Writer yast2-devtools yast2-testsuite update-desktop-files
Group: System/YaST
License: GPL v2 or later
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-testsuite
# FileSystems::possible_root_fs
BuildRequires: yast2-storage >= 2.19.12
BuildRequires: yast2-storage >= 2.19.12
# Packages::GetBaseSourceID
BuildRequires: yast2-packager >= 2.17.19
BuildRequires: yast2-packager >= 2.17.19
# Wizard::OpenOKDialog
BuildRequires: yast2 >= 2.16.49
BuildRequires: yast2 >= 2.16.49
# package not really needed to be installed but this breaks the building cycle
# xmllint
BuildRequires: libxml2
BuildRequires: libxml2
# control.rng
BuildRequires: yast2-installation >= 2.17.44
BuildRequires: yast2-installation >= 2.17.44
# FileSystems::possible_root_fs
Requires: yast2-storage >= 2.19.12
Requires: yast2-storage >= 2.19.12
# PackagesUI::RunPackageSelector
Requires: yast2 >= 2.17.40
Requires: yast2-installation
Requires: yast2 >= 2.17.40
Requires: yast2-installation
# Function SelectKernelPackages has been moved to Packages module (bnc #326269).
Requires: yast2-packager >= 2.17.27
Requires: yast2-packager >= 2.17.27
# moved into yast2-update from yast2-installation
# to remove dependency on yast2-storage
Provides: yast2-installation:/usr/share/YaST2/clients/vendor.ycp
Provides: yast2-installation:/usr/share/YaST2/clients/vendor.ycp
# Required only in inst-sys
# Requires: yast2-storage
# Requires: yast2-country
# Pkg::PkgUpdateAll (map conf)
Conflicts: yast2-pkg-bindings < 2.15.11
Conflicts: yast2-pkg-bindings < 2.15.11
# Storage::DeviceMatchFstab (#244117)
Conflicts: yast2-storage < 2.15.4
Conflicts: yast2-storage < 2.15.4
Summary: YaST2 - Update
Summary: YaST2 - Update
%package FACTORY
Group: System/YaST
PreReq: %fillup_prereq
Requires: yast2-update yast2
Group: System/YaST
PreReq: %fillup_prereq
Requires: yast2-update yast2
# moved into yast2-update from yast2-installation
# to remove dependency on yast2-storage
Provides: yast2-update:/usr/share/YaST2/clients/update.ycp
Provides: yast2-update:/usr/share/YaST2/clients/update.ycp
Summary: YaST2 - Update
Summary: YaST2 - Update
%description
Use this component if you wish to update your system.
@ -84,7 +85,7 @@ Use this component if you wish to update your system.
Use this component if you wish to update your system.
%prep
%setup -n yast2-update-2.21.0
%setup -n yast2-update-%{version}
%build
%{prefix}/bin/y2tool y2autoconf
@ -108,7 +109,6 @@ for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desk
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done
%clean
rm -rf "$RPM_BUILD_ROOT"
@ -140,3 +140,5 @@ rm -rf "$RPM_BUILD_ROOT"
/usr/share/YaST2/control/update.xml
/usr/share/YaST2/clients/update.ycp
/usr/share/YaST2/clients/run_update.ycp
%changelog