Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions contrib/sssd.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# RHEL requires tilde as a separator to correctly order builds.
# For example: 2.10.0-beta1 vs 2.10.0~beta1
%global upstream_version @PACKAGE_VERSION@
%global downstream_version %(echo "@PACKAGE_VERSION@" | sed 's/-/~/g')

# define SSSD user
%if 0%{?rhel}
Expand Down Expand Up @@ -53,8 +52,12 @@

%global samba_package_version %(rpm -q samba-devel --queryformat %{version})

%if "%{?samba_package_version}" == ""
%global samba_package_version 4.19
%endif

Name: @PACKAGE_NAME@
Version: %{downstream_version}
Version: %{gsub @PACKAGE_VERSION@ - ~}
Release: 0@PRERELEASE_VERSION@%{?dist}
Summary: System Security Services Daemon
License: GPLv3+
Expand Down
Loading