From b38cc691dbb5f07b75e40739ccd73407953621d1 Mon Sep 17 00:00:00 2001 From: alakatos Date: Wed, 31 May 2023 10:32:34 +0200 Subject: [PATCH] Update License tag for SPDX and fix deprecated %patchN --- usbguard.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usbguard.spec b/usbguard.spec index 12ce1c1..9ccacb7 100644 --- a/usbguard.spec +++ b/usbguard.spec @@ -6,7 +6,7 @@ Name: usbguard Version: 1.1.0 Release: 7%{?dist} Summary: A tool for implementing USB device usage policy -License: GPLv2+ +License: GPL-2.0-or-later ## Not installed # src/ThirdParty/Catch: Boost Software License - Version 1.0 URL: https://usbguard.github.io/ @@ -106,10 +106,10 @@ daemon. # selinux %setup -q -D -T -a 1 -%patch1 -p1 -b .catch -%patch2 -p1 -b .policykit -%patch3 -p1 -b .access-contol-names -%patch4 -p1 -b .gcc13 +%patch -P 1 -p1 -b .catch +%patch -P 2 -p1 -b .policykit +%patch -P 3 -p1 -b .access-contol-names +%patch -P 4 -p1 -b .gcc13 # Remove bundled library sources before build rm -rf src/ThirdParty/{Catch,PEGTL}