- spec file cleanup

OBS-URL: https://build.opensuse.org/package/show/Base:System/mokutil?expand=0&rev=47
This commit is contained in:
Dirk Mueller 2021-05-04 06:52:14 +00:00 committed by Git OBS Bridge
parent 016c355cf7
commit 40de81a2f8
2 changed files with 9 additions and 15 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 4 06:52:03 UTC 2021 - Dirk Müller <dmueller@suse.com>
- spec file cleanup
-------------------------------------------------------------------
Wed Sep 16 09:06:02 UTC 2020 - Gary Ching-Pang Lin <glin@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package mokutil
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -37,21 +37,14 @@ BuildRequires: automake
BuildRequires: efivar-devel >= 0.12
BuildRequires: keyutils-devel >= 1.5.0
BuildRequires: libopenssl-devel >= 0.9.8
BuildRequires: pkg-config
BuildRequires: pkgconfig
Requires: openssl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: x86_64 aarch64 ppc64le ppc64
%description
This program provides the means to enroll and erase the machine owner
keys (MOK) stored in the database of shim.
Authors:
--------
Gary Lin <glin@suse.com>
%prep
%setup -q
%patch1 -p1
@ -62,17 +55,13 @@ Authors:
%build
./autogen.sh
%configure
make
%make_build
%install
%makeinstall
%make_install
install -m 755 -D %{SOURCE1} %{buildroot}/%{_bindir}/modhash
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%license COPYING
%{_bindir}/mokutil
%{_bindir}/modhash