Author: ktdreyer
Update of /cvs/free/rpms/openafs-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29901/devel
Modified Files:
openafs-kmod.spec
Log Message:
don't hardcode prerelease version
Index: openafs-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/openafs-kmod/devel/openafs-kmod.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- openafs-kmod.spec 2 Jan 2012 03:15:57 -0000 1.12
+++ openafs-kmod.spec 2 Jan 2012 15:24:41 -0000 1.13
@@ -17,18 +17,20 @@
%define kmod_name openafs
+%define pre pre1
+
# name should have a -kmod suffix
Name: %{kmod_name}-kmod
Version: 1.6.1
-Release: 0.pre1%{?dist}
+Release: 0.%{pre}%{?dist}
Summary: Kernel module(s)
Group: System Environment/Kernel
License: IBM
URL:
http://www.openafs.org
-Source0:
http://www.openafs.org/dl/openafs/%{version}/%{kmod_name}-%{version}pre1-...
+Source0:
http://www.openafs.org/dl/openafs/%{version}/%{kmod_name}-%{version}%{pre...
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%global AkmodsBuildRequires %{_bindir}/kmodtool, pam-devel, ncurses-devel, flex, byacc,
bison, automake
@@ -60,7 +62,7 @@
#popd
for kernel_version in %{?kernel_versions} ; do
- cp -a %{kmod_name}-%{version} _kmod_build_${kernel_version%%___*}
+ cp -a %{kmod_name}-%{version}%{pre} _kmod_build_${kernel_version%%___*}
done