aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-05-18 15:48:35 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-05-18 15:48:35 +0000
commit418609f6c9399ee8fc6a5c24638bb2d54bbfa803 (patch)
tree3cddad1b79d9003c4f5085a2551957fdbdd6cf6b
parentb2274f0cc5d94c2c3aad7f2a276437494ae0f7dd (diff)
downloadspec-helper-418609f6c9399ee8fc6a5c24638bb2d54bbfa803.tar
spec-helper-418609f6c9399ee8fc6a5c24638bb2d54bbfa803.tar.gz
spec-helper-418609f6c9399ee8fc6a5c24638bb2d54bbfa803.tar.bz2
spec-helper-418609f6c9399ee8fc6a5c24638bb2d54bbfa803.tar.xz
spec-helper-418609f6c9399ee8fc6a5c24638bb2d54bbfa803.zip
-rw-r--r--Makefile4
-rw-r--r--spec-helper.spec7
2 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f02b7ab..5d410c4 100644
--- a/Makefile
+++ b/Makefile
@@ -8,8 +8,8 @@
#---------------------------------------------------------------
PACKAGE=spec-helper
-VERSION:=$(shell grep '%define *version ' $(PACKAGE).spec| cut -d ' ' -f 3)
-RELEASE:=$(shell grep '%define *release ' $(PACKAGE).spec| cut -d ' ' -f 3)
+VERSION:=$(shell rpm --qf %{VERSION} -q --specfile spec-helper.spec)
+RELEASE:=$(shell rpm --qf %{RELEASE} -q --specfile spec-helper.spec)
TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
FILES= spec-helper clean_files clean_perl compress_files strip_files relative_me_babe lib_symlinks gprintify.py fix-mo translate_menu.pl
diff --git a/spec-helper.spec b/spec-helper.spec
index 161096b..06f3027 100644
--- a/spec-helper.spec
+++ b/spec-helper.spec
@@ -1,6 +1,6 @@
%define name spec-helper
-%define version 0.11
-%define release 1mdk
+%define version 0.12
+%define release %mkrel 1
Summary: Tools to ease the creation of rpm packages
Name: %{name}
@@ -40,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/spec-helper
%changelog
+* Thu May 18 2006 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.12-1mdk
+- 0.12 (fix #21079)
+
* Fri Jan 7 2005 Frederic Lepied <flepied@mandrakesoft.com> 0.11-1mdk
- Fix translation of Internet menu entry
- handle file names starting with -