aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2006-05-04 16:18:39 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2006-05-04 16:18:39 +0000
commitd16ff49f63476198ee8364e66794d0c38c551701 (patch)
treed99700d9be13e5dda3fbd1718685239dcfb7606c
parent11e8dbff585816c75d74bb960ad41d7336af1718 (diff)
downloadcommon-data-d16ff49f63476198ee8364e66794d0c38c551701.tar
common-data-d16ff49f63476198ee8364e66794d0c38c551701.tar.gz
common-data-d16ff49f63476198ee8364e66794d0c38c551701.tar.bz2
common-data-d16ff49f63476198ee8364e66794d0c38c551701.tar.xz
common-data-d16ff49f63476198ee8364e66794d0c38c551701.zip
Add support for mkrel
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7e74ed..60743a9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
PACKAGE = desktop-common-data
NAME = desktop-common-data
VERSION:=$(shell rpm -q --qf '%{VERSION}\n' --specfile $(PACKAGE).spec | head -1)
-RELEASE:=$(shell rpm -q --qf '%{RELEASE}\n' --specfile $(PACKAGE).spec | head -1)
+RELEASE:=$(shell rpm -q --qf '%{RELEASE}\n' --specfile $(PACKAGE).spec | head -1| sed -e 's/%mkrel \(.*\)/\1mdk/g)
TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
mandir=/usr/share/man