[SSSD] [PATCH] Added sssd --version option
Stephen Gallagher
sgallagh at redhat.com
Thu Sep 8 19:26:08 UTC 2011
On Wed, 2011-09-07 at 10:38 +0200, Pavel Březina wrote:
> https://fedorahosted.org/sssd/ticket/953
Nack.
The output of this patch isn't very clean. I think what we really want
is just to have a configure flag --with-distro-version that will take an
arbitrary string (provided by the packager) for what they'd like to see
as output for the version.
So without --with-distro-version:
$> sssd --version
1.7.0
With ./configure --with-distro-version="-3.fc15"
$> sssd --version
1.7.0-3.fc15
Or even
./configure --with-distro-version="-3.fc15\
Built: 2011-09-07"
Resulting in:
$> sssd --version
1.7.0-3.fc15
Built: 2011-09-07"
If prerelease_version is specified in version.m4, (i.e. as ".rhbz12345")
and with ./configure --with-distro-version="-3.fc15"
$> sssd --version
1.7.0-3.fc15.rhbz12345
(So prerelease version should always follow --with-distro-version)
Also, there is a line of whitespace in configure.ac. Please remove this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110908/d3c278bd/attachment.sig>
More information about the sssd-devel
mailing list