From 4350c1e18656bb71501651798f3e722bfb7e6787 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 3 Jun 2022 09:57:19 +0900 Subject: [PATCH] Fix %autorelease usage The deprecated %autorel has been no-op since rpmautospec 0.2. Also put %{?dist} inside the fallback conditional as suggested: https://packit.dev/docs/faq/#does-packit-work-with-rpmautospec --- gnutls.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnutls.spec b/gnutls.spec index f00f43f..9f920a5 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -1,6 +1,6 @@ # This spec file has been automatically updated Version: 3.7.6 -Release: %{?autorel}%{!?autorel:1}%{?dist} +Release: %{?autorelease}%{!?autorelease:1%{?dist}} Patch1: gnutls-3.6.7-no-now-guile.patch Patch2: gnutls-3.2.7-rpath.patch %bcond_with bootstrap