From 2c4242e47c934e7e8743783f828801b6784274e6d01eada79292d1a783bafa1b Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Tue, 4 Jun 2019 07:29:19 +0000 Subject: [PATCH] - Add metainfo (fate#319035) - Revamp spec - Replace GenericName with Comment - 4.2.3 OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-update?expand=0&rev=352 --- yast2-update-4.2.2.tar.bz2 | 3 -- yast2-update-4.2.3.tar.bz2 | 3 ++ yast2-update.changes | 8 +++++ yast2-update.spec | 69 ++++++++++++++------------------------ 4 files changed, 36 insertions(+), 47 deletions(-) delete mode 100644 yast2-update-4.2.2.tar.bz2 create mode 100644 yast2-update-4.2.3.tar.bz2 diff --git a/yast2-update-4.2.2.tar.bz2 b/yast2-update-4.2.2.tar.bz2 deleted file mode 100644 index 8aa45f1..0000000 --- a/yast2-update-4.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e28ca71262bdd60a955969f4ada923e2ab5a78738ec8209aa0804ea45ed2a0e6 -size 66924 diff --git a/yast2-update-4.2.3.tar.bz2 b/yast2-update-4.2.3.tar.bz2 new file mode 100644 index 0000000..eef0b8e --- /dev/null +++ b/yast2-update-4.2.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3fb7f03adae90bcba8a6003aa2bdbb2fafd5fa9a7c549c8f0645d35bc5a0d18 +size 66934 diff --git a/yast2-update.changes b/yast2-update.changes index 2f17d73..2ecb969 100644 --- a/yast2-update.changes +++ b/yast2-update.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 31 12:42:01 UTC 2019 - Stasiek Michalski + +- Add metainfo (fate#319035) +- Revamp spec +- Replace GenericName with Comment +- 4.2.3 + ------------------------------------------------------------------- Fri Apr 26 11:03:27 UTC 2019 - Ladislav Slezák diff --git a/yast2-update.spec b/yast2-update.spec index 2be99a1..2fd71aa 100644 --- a/yast2-update.spec +++ b/yast2-update.spec @@ -17,43 +17,43 @@ Name: yast2-update -Version: 4.2.2 +Version: 4.2.3 Release: 0 +Summary: YaST2 - Update +License: GPL-2.0-only +Group: System/YaST +Url: https://github.com/yast/yast-update -BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 -Url: http://github.com/yast/yast-update BuildRequires: update-desktop-files -BuildRequires: yast2-devtools >= 3.1.15 +BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-ruby-bindings >= 1.0.0 # Y2Packager::ProductUpgrade.remove_obsolete_upgrades BuildRequires: yast2 >= 4.2.1 # Packages#proposal_for_update BuildRequires: yast2-packager >= 3.2.13 - # xmllint BuildRequires: libxml2-tools - # control.rng BuildRequires: yast2-installation-control - # Needed for tests BuildRequires: rubygem(rspec) - # Encryption.save_crypttab_names BuildRequires: yast2-storage-ng >= 4.1.31 + # Encryption.save_crypttab_names Requires: yast2-storage-ng >= 4.1.31 # Y2Packager::ProductUpgrade.remove_obsolete_upgrades Requires: yast2 >= 4.2.1 Requires: yast2-installation - # handle bind mount at /mnt/dev Requires: yast2-packager >= 4.0.61 - # Pkg.TargetInitializeOptions() Requires: yast2-pkg-bindings >= 3.1.14 +Requires: yast2-ruby-bindings >= 1.0.0 +# use parallel gzip when crating backup (much faster) +Requires: pigz # moved into yast2-update from yast2-installation # to remove dependency on yast2-storage @@ -64,49 +64,38 @@ Conflicts: yast2-pkg-bindings < 2.15.11 # Storage::DeviceMatchFstab (#244117) Conflicts: yast2-storage < 2.15.4 -Requires: yast2-ruby-bindings >= 1.0.0 - -# use parallel gzip when crating backup (much faster) -Requires: pigz - -Summary: YaST2 - Update -License: GPL-2.0-only -Group: System/YaST +%description +Use this component if you wish to update your system. %package FACTORY +Summary: YaST2 - Update +Group: System/YaST + PreReq: %fillup_prereq + Requires: yast2 +Requires: yast2-ruby-bindings >= 1.0.0 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} +%setup -q %build %yast_build %install %yast_install +%yast_metainfo %files -%defattr(-,root,root) -%dir %{yast_moduledir} -%{yast_moduledir}/* - +%{yast_moduledir} %{yast_clientdir}/inst_rootpart.rb %{yast_clientdir}/inst_backup.rb %{yast_clientdir}/rootpart_proposal.rb @@ -115,23 +104,15 @@ Use this component if you wish to update your system. %{yast_clientdir}/backup_proposal.rb %{yast_clientdir}/inst_update_partition.rb %{yast_clientdir}/inst_update_partition_auto.rb - -%dir %{yast_yncludedir} -%{yast_yncludedir}/update -%{yast_yncludedir}/update/rootpart.rb -%{yast_libdir}/update/ -%{yast_libdir}/update/clients -%{yast_libdir}/update/clients/inst_update_partition_auto.rb - +%{yast_yncludedir} +%{yast_libdir} %doc %{yast_docdir} %files FACTORY -%defattr(-,root,root) -%dir %{yast_desktopdir} -%{yast_desktopdir}/update.desktop +%{yast_desktopdir} +%{yast_metainfodir} %{yast_icondir} -%dir %{yast_controldir} -%{yast_controldir}/update.xml +%{yast_controldir} %{yast_clientdir}/update.rb %{yast_clientdir}/run_update.rb %license COPYING