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
This commit is contained in:
Daiki Ueno 2022-06-03 09:57:19 +09:00
parent f080bc92ec
commit 4350c1e186

View File

@ -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