Remove autorelease - rpmautospec is not available for rhel-9 yet
related: RHEL-33645
This commit is contained in:
parent
549aeebc91
commit
af9592a027
25
samba.spec
25
samba.spec
@ -147,23 +147,13 @@
|
|||||||
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
%define samba_requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not")
|
||||||
|
|
||||||
%global samba_version 4.20.1
|
%global samba_version 4.20.1
|
||||||
|
%global baserelease 1
|
||||||
# The release field is extended:
|
# This should be rc1 or %%nil
|
||||||
# <pkgrel>[.<extraver>][.<snapinfo>]%%{?dist}[.<minorbump>]
|
|
||||||
# Square brackets indicate an optional item.
|
|
||||||
#
|
|
||||||
# The autorelease macro accepts these parameters to allow packagers to specify
|
|
||||||
# those added fields:
|
|
||||||
#
|
|
||||||
# -p: Designates a pre-release, i.e. pkgrel will be prefixed with '0.'.
|
|
||||||
# -e <extraver>: Allows specifying the extraver portion of the release.
|
|
||||||
# -b <baserelease>: Allows specifying a custom base release number (the
|
|
||||||
# default is 1).
|
|
||||||
%global samba_release %autorelease
|
|
||||||
|
|
||||||
%global pre_release %nil
|
%global pre_release %nil
|
||||||
|
|
||||||
|
%global samba_release %{baserelease}
|
||||||
%if "x%{?pre_release}" != "x"
|
%if "x%{?pre_release}" != "x"
|
||||||
%global samba_release %autorelease -p -e %pre_release
|
%global samba_release 0.%{baserelease}.%{pre_release}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -215,7 +205,7 @@
|
|||||||
|
|
||||||
Name: samba
|
Name: samba
|
||||||
Version: %{samba_version}
|
Version: %{samba_version}
|
||||||
Release: %{samba_release}
|
Release: %{samba_release}%{?dist}
|
||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
@ -4604,6 +4594,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 29 2024 Pavel Filipenský <pfilipen@redhat.com> - 4.20.1-1
|
||||||
|
- related: RHEL-33645 - Remove autorelease - rpmautospec is not available for rhel-9 yet
|
||||||
|
|
||||||
* Tue May 28 2024 Pavel Filipenský <pfilipen@redhat.com> - 4.20.1-1
|
* Tue May 28 2024 Pavel Filipenský <pfilipen@redhat.com> - 4.20.1-1
|
||||||
- related: RHEL-33645 - Update to version 4.20.1
|
- related: RHEL-33645 - Update to version 4.20.1
|
||||||
- resolves: RHEL-26337 - Fix site lookup for samba-gpupdate
|
- resolves: RHEL-26337 - Fix site lookup for samba-gpupdate
|
||||||
|
Loading…
Reference in New Issue
Block a user