From 40de81a2f8ea301423767e46275072c72a4af3045210f47fbc0c5db7af024bd8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 4 May 2021 06:52:14 +0000 Subject: [PATCH] - spec file cleanup OBS-URL: https://build.opensuse.org/package/show/Base:System/mokutil?expand=0&rev=47 --- mokutil.changes | 5 +++++ mokutil.spec | 19 ++++--------------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/mokutil.changes b/mokutil.changes index 12d1747..2bd44f8 100644 --- a/mokutil.changes +++ b/mokutil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 4 06:52:03 UTC 2021 - Dirk Müller + +- spec file cleanup + ------------------------------------------------------------------- Wed Sep 16 09:06:02 UTC 2020 - Gary Ching-Pang Lin diff --git a/mokutil.spec b/mokutil.spec index 70dcdbe..a971ea1 100644 --- a/mokutil.spec +++ b/mokutil.spec @@ -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 - %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