redhat: PACKAGE_VERSION macro no longer exists 31/13031/2
authorStephan Wiesand <stephan.wiesand@desy.de>
Thu, 26 Apr 2018 17:50:06 +0000 (19:50 +0200)
committerBenjamin Kaduk <kaduk@mit.edu>
Sat, 28 Apr 2018 18:15:39 +0000 (14:15 -0400)
Commit 0d0e7699c9f789214205fe6837cded1a4c95f9c0 replaced all uses
of the %PACKAGE_VERSION macro in the spec with the %version one, but
missed an instance in the kmodtool script. Fix this, to avoid a
warning during rpmbuild.

Change-Id: I363241f45c5261aaf2fa0619fb159022f6dbd56a
Reviewed-on: https://gerrit.openafs.org/13031
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

src/packaging/RedHat/openafs-kmodtool

index eea4ed4..f579fdb 100644 (file)
@@ -100,7 +100,7 @@ Summary:          ${kmod_name} kernel module(s)
 Group:            System Environment/Kernel
 Provides:         kernel-modules = ${kname}
 Provides:         ${kmod_name}-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
-Provides:         openafs-kernel = %{PACKAGE_VERSION}
+Provides:         openafs-kernel = %{version}
 Requires:         ${kdep}
 Requires:         ${kmod_name}-kmod-common >= %{?epoch:%{epoch}:}%{version}
 Requires(post):   ${depmod}