Use baserelease to set the release number
This commit is contained in:
parent
e138eb8125
commit
3907ec760c
21
krb5.spec
21
krb5.spec
@ -30,10 +30,18 @@
|
||||
%global configure_default_ccache_name 1
|
||||
%global configured_default_ccache_name KEYRING:persistent:%%{uid}
|
||||
|
||||
# for prereleases, % global prerelease beta1
|
||||
%if %{defined prerelease}
|
||||
%global dashpre -%{prerelease}
|
||||
%global zdpd 0.%{prerelease}.
|
||||
# Use baserelease to set the release number!
|
||||
#
|
||||
# baserelease is what we have standardized across Fedora and what
|
||||
# rpmdev-bumpspec knows how to handle.
|
||||
%global baserelease 12
|
||||
|
||||
# This should be e.g. beta1 or %%nil
|
||||
%global pre_release %nil
|
||||
|
||||
%global krb5_release %{baserelease}
|
||||
%if "x%{?pre_release}" != "x"
|
||||
%global krb5_release 0.%{baserelease}.%{pre_release}
|
||||
%endif
|
||||
|
||||
# Should be in form 5.0, 6.1, etc.
|
||||
@ -42,7 +50,7 @@
|
||||
Summary: The Kerberos network authentication system
|
||||
Name: krb5
|
||||
Version: 1.19.2
|
||||
Release: %{?zdpd}11%{?dist}.1
|
||||
Release: %{krb5_release}%{?dist}
|
||||
|
||||
# rharwood has trust path to signing key and verifies on check-in
|
||||
Source0: https://web.mit.edu/kerberos/dist/krb5/%{version}/krb5-%{version}%{?dashpre}.tar.gz
|
||||
@ -651,6 +659,9 @@ exit 0
|
||||
%{_libdir}/libkadm5srv_mit.so.*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 02 2022 Andreas Schneider <asn@redhat.com> - 1.19.2-12
|
||||
- Use baserelease to set the release number
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.2-11.1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user