yast2-update/yast2-update.spec
ZYpp Developers b5311c1cb2 - updated BuildRequires: RNG schema for control files has been
moved to yast2-installation-control package
- use %yast_controldir RPM macro
- move the *.glade link to Git (allow creating POT from clean Git
  checkout without need to run "make")
- 3.1.2

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-update?expand=0&rev=236
2013-12-19 12:28:04 +00:00

120 lines
3.1 KiB
RPMSpec

#
# spec file for package yast2-update
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# 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/
#
Name: yast2-update
Version: 3.1.2
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
BuildRequires: update-desktop-files
BuildRequires: yast2-devtools >= 3.1.15
# xmllint
BuildRequires: libxml2-tools
# control.rng
BuildRequires: yast2-installation-control
# Stroage::ChangeDmNamesFromCrypttab
Requires: yast2-storage >= 2.22.9
# OSRelease
Requires: yast2 >= 3.0.4
Requires: yast2-installation
# Function SelectKernelPackages has been moved to Packages module (bnc #326269).
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
# Pkg::PkgUpdateAll (map conf)
Conflicts: yast2-pkg-bindings < 2.15.11
# Storage::DeviceMatchFstab (#244117)
Conflicts: yast2-storage < 2.15.4
Requires: yast2-ruby-bindings >= 1.0.0
Summary: YaST2 - Update
License: GPL-2.0
Group: System/YaST
%package FACTORY
PreReq: %fillup_prereq
Requires: yast2
Requires: yast2-update
# moved into yast2-update from yast2-installation
# to remove dependency on yast2-storage
Provides: yast2-update:/usr/share/YaST2/clients/update.ycp
Requires: yast2-ruby-bindings >= 1.0.0
Summary: YaST2 - Update
Group: System/YaST
%description
Use this component if you wish to update your system.
%description FACTORY
Use this component if you wish to update your system.
%prep
%setup -n %{name}-%{version}
%build
%yast_build
%install
%yast_install
%files
%defattr(-,root,root)
%{yast_ybindir}/*
%dir %{yast_moduledir}
%{yast_moduledir}/*
%{yast_clientdir}/inst_rootpart.rb
%{yast_clientdir}/inst_update.rb
%{yast_clientdir}/inst_backup.rb
%{yast_clientdir}/rootpart_proposal.rb
%{yast_clientdir}/update_proposal.rb
%{yast_clientdir}/packages_proposal.rb
%{yast_clientdir}/backup_proposal.rb
%{yast_clientdir}/inst_update_partition.rb
%{yast_clientdir}/inst_update_partition_auto.rb
%{yast_clientdir}/rootpart_check_keyboard.rb
%dir %{yast_yncludedir}
%{yast_yncludedir}/update
%{yast_yncludedir}/update/rootpart.rb
%doc %{yast_docdir}
%files FACTORY
%defattr(-,root,root)
%dir %{yast_desktopdir}
%{yast_desktopdir}/update.desktop
%dir %{yast_controldir}
%{yast_controldir}/update.xml
%{yast_clientdir}/update.rb
%{yast_clientdir}/run_update.rb
%changelog