aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-07-13 21:39:34 +0000
committersconklin <sconklin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2006-07-13 21:39:34 +0000
commit39b25736cc2dd1c37c388cf2d2c126b59fcfd843 (patch)
treeee247a8ccbf43b14dd56dacf83c7711ba40dd995 /src
parent988eb84930ef67db9f334f351062bd931f552ba0 (diff)
downloadsos-39b25736cc2dd1c37c388cf2d2c126b59fcfd843.tar.gz
Fixed Makefile for svn, bumped version
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@13 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src')
-rw-r--r--src/Makefile9
-rw-r--r--src/setup.py2
-rw-r--r--src/sos.spec2
3 files changed, 8 insertions, 5 deletions
diff --git a/src/Makefile b/src/Makefile
index d2947546..53e69d70 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,17 +7,20 @@ VERSION = $(shell awk '/define version/ { print $$3 }' sos.spec)
RELEASE = $(shell awk '/define release/ { print $$3 }' sos.spec)
REPO = https://sos.108.redhat.com/svn/sos
SVNTAG = r$(subst .,-,$(VERSION)-$(RELEASE))
-CVSROOT = $(shell cat CVS/Root)
all:
-tag-archive:
+.PHONY: tag-archive create-archive archive install version clean
+
+../../tags/$(SVNTAG):
@svn copy $(REPO)/trunk/src $(REPO)/tags/$(SVNTAG) \
-m "Tagging the $(SVNTAG) release of the sos project"
@echo "$(SVNTAG)"
-create-archive: tag-archive
+tag-archive: ../../tags/$(SVNTAG)
+
+create-archive:
@rm -rf /tmp/$(NAME)
@svn export $(REPO)/tags/$(SVNTAG)/src /tmp/$(NAME) \
|| echo GRRRrrrrr -- ignore [export aborted]
diff --git a/src/setup.py b/src/setup.py
index c51a57b1..41bb00ff 100644
--- a/src/setup.py
+++ b/src/setup.py
@@ -10,7 +10,7 @@ import sys,os,time
# change release in spec file along with this version string
setup(
name = 'sos',
- version = '0.1.6',
+ version = '0.1.7',
description = 'System Support Tools',
long_description = """Sos is a set of tools that gathers information about system
hardware and configuration. The information can then be used for
diff --git a/src/sos.spec b/src/sos.spec
index f79069b4..af560082 100644
--- a/src/sos.spec
+++ b/src/sos.spec
@@ -5,7 +5,7 @@
%define name sos
%define version 0.1
# change release in setup.py and this file
-%define release 6
+%define release 7
Summary: System Support Tools
Name: %{name}