]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
redhat: PACKAGE_VERSION macro no longer exists
authorStephan Wiesand <stephan.wiesand@desy.de>
Thu, 26 Apr 2018 17:50:06 +0000 (19:50 +0200)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 4 May 2018 13:15:11 +0000 (09: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.

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>
(cherry picked from commit cfa74883e4996dfee2bd6ffaa3b967e5a7941e0b)

Change-Id: I2d57ddc3700f509da3255df1f952f55d8cd7f0e8
Reviewed-on: https://gerrit.openafs.org/13037
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/packaging/RedHat/openafs-kmodtool

index 6721b792f6f599bfed2ec0f7602dd677dc1fda1b..5fc2f70f91c34ddf019038ea7ded1b479a54c5c5 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}