diff options
author | David Howells <dhowells@redhat.com> | 2011-08-31 17:46:56 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-08-31 17:46:56 +0100 |
commit | 64efa82d6f54eddac1f4d4f5bd8e6ceaba1a413b (patch) | |
tree | 028a152663e2278050e4f3827aa41a89b349abb0 /keyutils.spec | |
parent | 3bed09463eb231069c41885da2ffd49ee0039cb9 (diff) | |
download | keyutils-64efa82d6f54eddac1f4d4f5bd8e6ceaba1a413b.tar.gz |
Store version info in library and allow it to be displayed
The package version number and build date are stored in the library in:
const char keyutils_version_string[];
const char keyutils_build_string[];
And are displayable with the programs built as part of it:
# keyctl --version
keyctl from keyutils-1.5.3 (Built 2011-08-24)
# request-key --version
request-key from keyutils-1.5.3 (Built 2011-08-24)
The DNS query resolver gets extended version information as it already has its
own version number:
# key.dns_resolver --version
version: 1.0 from keyutils-1.5.3 (2011-08-24)
(the keyutils version is simply appended to the original).
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'keyutils.spec')
-rw-r--r-- | keyutils.spec | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keyutils.spec b/keyutils.spec index 64c8d22..6033af1 100644 --- a/keyutils.spec +++ b/keyutils.spec @@ -95,6 +95,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Wed Aug 14 2011 David Howells <dhowells@redhat.com> - Adjust the manual page for 'keyctl unlink' to show keyring is optional. +- Add --version support for the keyutils version and build date. * Thu Aug 11 2011 David Howells <dhowells@redhat.com> - 1.5.3-1 - Make the keyutils rpm depend on the same keyutils-libs rpm version. |