From fc2fffdf484b9559f87efd6420eb263d9f00e29b15c2063259056ca6e53c0063 Mon Sep 17 00:00:00 2001 From: YaST Team Bot Date: Mon, 3 Jun 2019 15:59:51 +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-bootloader?expand=0&rev=752 --- yast2-bootloader-4.2.2.tar.bz2 | 3 -- yast2-bootloader-4.2.3.tar.bz2 | 3 ++ yast2-bootloader.changes | 8 +++++ yast2-bootloader.spec | 59 ++++++++++++---------------------- 4 files changed, 32 insertions(+), 41 deletions(-) delete mode 100644 yast2-bootloader-4.2.2.tar.bz2 create mode 100644 yast2-bootloader-4.2.3.tar.bz2 diff --git a/yast2-bootloader-4.2.2.tar.bz2 b/yast2-bootloader-4.2.2.tar.bz2 deleted file mode 100644 index 8a841be..0000000 --- a/yast2-bootloader-4.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ca9296ef4042106bea7c793c89ef0e9e038c4a76794210aba7e2e3ad83b602d -size 143393 diff --git a/yast2-bootloader-4.2.3.tar.bz2 b/yast2-bootloader-4.2.3.tar.bz2 new file mode 100644 index 0000000..8caa42b --- /dev/null +++ b/yast2-bootloader-4.2.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d6fbd74d49d8afafb416216d223d36db2c87215f7231584d8a8b1648ddd00f0 +size 142847 diff --git a/yast2-bootloader.changes b/yast2-bootloader.changes index 6482aa3..a186a8d 100644 --- a/yast2-bootloader.changes +++ b/yast2-bootloader.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri May 31 12:26:38 UTC 2019 - Stasiek Michalski + +- Add metainfo (fate#319035) +- Revamp spec +- Replace GenericName with Comment +- 4.2.3 + ------------------------------------------------------------------- Wed May 29 13:02:02 UTC 2019 - David Diaz diff --git a/yast2-bootloader.spec b/yast2-bootloader.spec index 5be6447..65b3783 100644 --- a/yast2-bootloader.spec +++ b/yast2-bootloader.spec @@ -17,15 +17,17 @@ Name: yast2-bootloader -Version: 4.2.2 +Version: 4.2.3 Release: 0 +Summary: YaST2 - Bootloader Configuration +License: GPL-2.0-or-later +Group: System/YaST +Url: https://github.com/yast/yast-bootloader -BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 -Url: http://github.com/yast/yast-bootloader BuildRequires: yast2 >= 3.1.176 -BuildRequires: yast2-devtools >= 3.1.10 +BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-ruby-bindings >= 1.0.0 # Y2Storage::Mountable#mount_path BuildRequires: yast2-storage-ng >= 4.0.90 @@ -34,6 +36,7 @@ BuildRequires: augeas-lenses BuildRequires: rubygem(%rb_default_ruby_abi:cfa_grub2) >= 1.0.1 BuildRequires: rubygem(%rb_default_ruby_abi:rspec) BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake) + PreReq: /bin/sed %fillup_prereq # Base classes for inst clients Requires: parted @@ -49,7 +52,6 @@ Requires: rubygem(%rb_default_ruby_abi:cfa_grub2) >= 1.0.1 # lenses are needed as cfa_grub2 depends only on augeas bindings, but also # lenses are needed here Requires: augeas-lenses - Requires: yast2-ruby-bindings >= 1.0.0 # only recommend syslinux, as it is not needed when generic mbr is not used (bsc#1004229) @@ -57,55 +59,36 @@ Requires: yast2-ruby-bindings >= 1.0.0 Recommends: syslinux %endif -Summary: YaST2 - Bootloader Configuration -License: GPL-2.0-or-later -Group: System/YaST - %description This package contains the YaST2 component for bootloader configuration. %prep -%setup -n %{name}-%{version} +%setup -q %check -rake test:unit +%yast_check %build %install -rake install DESTDIR="%{buildroot}" +%yast_install +%yast_metainfo %post %{fillup_only -n bootloader} %files -%defattr(-,root,root) - -# menu items - -%dir %{yast_desktopdir} -%{yast_desktopdir}/bootloader.desktop - -%dir %{yast_moduledir} -%{yast_moduledir}/* -%dir %{yast_clientdir} -%{yast_clientdir}/bootloader*.rb -%{yast_clientdir}/inst_*.rb -%dir %{yast_ybindir} -%{yast_ybindir}/* -%dir %{yast_scrconfdir} -%{yast_scrconfdir}/*.scr -%{yast_fillupdir}/* -%dir %{yast_schemadir} -%dir %{yast_schemadir}/autoyast -%dir %{yast_schemadir}/autoyast/rnc -%{yast_schemadir}/autoyast/rnc/bootloader.rnc -%{yast_libdir}/bootloader +%{yast_desktopdir} +%{yast_metainfodir} +%{yast_moduledir} +%{yast_clientdir} +%{yast_ybindir} +%{yast_scrconfdir} +%{yast_fillupdir} +%{yast_schemadir} +%{yast_libdir} %{yast_icondir} - -%dir %{yast_docdir} +%doc %{yast_docdir} %license COPYING -%doc %{yast_docdir}/README.md -%doc %{yast_docdir}/CONTRIBUTING.md %changelog