From 60f0f366ef3efd316a19387ac999f34e7c305737 Mon Sep 17 00:00:00 2001 From: ballen4705 <ballen4705@4ea69e1a-61f1-4043-bf83-b5c94c648137> Date: Fri, 11 Oct 2002 12:19:00 +0000 Subject: [PATCH] Fixing minor stuff in versioning... git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@26 4ea69e1a-61f1-4043-bf83-b5c94c648137 --- sm5/Makefile | 4 ++-- sm5/add | 2 +- sm5/smartmontools.spec | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sm5/Makefile b/sm5/Makefile index d2b5fe14c..e5af978c0 100644 --- a/sm5/Makefile +++ b/sm5/Makefile @@ -1,6 +1,6 @@ # Makefile for smartmontools # -# $Id: Makefile,v 1.10 2002/10/11 12:15:49 ballen4705 Exp $ +# $Id: Makefile,v 1.11 2002/10/11 12:19:00 ballen4705 Exp $ # # Copyright (C) 2002 Bruce Allen <smartmontools-support@lists.sourceforge.net> # @@ -19,7 +19,7 @@ CFLAGS = -fsigned-char -Wall -O2 releasefiles=atacmds.c atacmds.h ataprint.c ataprint.h CHANGELOG COPYING extern.h Makefile\ README scsicmds.c scsicmds.h scsiprint.c scsiprint.h smartctl.8 smartctl.c smartctl.h\ - smartd.8 smartd.c smartd.h smartd.initd TODO + smartd.8 smartd.c smartd.h smartd.initd TODO VERSION counter=$(shell cat VERSION) newcounter=$(shell ./add ) diff --git a/sm5/add b/sm5/add index 7e5e77a96..7f635870d 100755 --- a/sm5/add +++ b/sm5/add @@ -3,6 +3,6 @@ # This is a utility called in the Makefile. It's used together with # the file "counter" to automatically increment release numbers. # -a=`cat counter` +a=`cat VERSION` let a+=1 echo $a diff --git a/sm5/smartmontools.spec b/sm5/smartmontools.spec index 91ce66921..16a6a397c 100644 --- a/sm5/smartmontools.spec +++ b/sm5/smartmontools.spec @@ -1,4 +1,4 @@ -Release: 3 +Release: 1 Summary: SMARTmontools - for monitoring S.M.A.R.T. disks and devices Name: smartmontools Version: 5.0 -- GitLab