forked from pool/shim-leap
Accepting request 440805 from home:gary_lin:branches:devel:openSUSE:Factory
The shim binary package from Leap 42.2 contains several fixes. (boo#1007238) OBS-URL: https://build.opensuse.org/request/show/440805 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/shim-leap?expand=0&rev=1
This commit is contained in:
57
shim-leap.spec
Normal file
57
shim-leap.spec
Normal file
@@ -0,0 +1,57 @@
|
||||
#
|
||||
# spec file for package shim-leap
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX 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: shim-leap
|
||||
Version: 0.9
|
||||
Release: 0
|
||||
License: BSD-2-Clause
|
||||
Summary: UEFI shim loader
|
||||
Group: System/Boot
|
||||
Source: shim-0.9-11.1.x86_64.rpm
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description
|
||||
does not exist
|
||||
|
||||
%package -n shim
|
||||
Summary: UEFI shim loader
|
||||
Requires: perl-Bootloader
|
||||
|
||||
%description -n shim
|
||||
shim is a trivial EFI application that, when run, attempts to open and
|
||||
execute another application.
|
||||
|
||||
%prep
|
||||
rpm2cpio %{SOURCE0} | cpio --extract --unconditional --preserve-modification-time --make-directories
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
# purely repackaged
|
||||
cp -a * %{buildroot}
|
||||
|
||||
%post -n shim
|
||||
/sbin/update-bootloader --reinit || true
|
||||
|
||||
%files -n shim
|
||||
/etc/uefi
|
||||
/usr/sbin/shim-install
|
||||
/usr/lib64/efi
|
||||
/usr/share/doc/packages/shim
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user