From 1beec5b4b076f6cc0d83bc168f1ce366d08c2b54 Mon Sep 17 00:00:00 2001 From: rui Date: Wed, 21 Apr 2010 20:55:23 +0000 Subject: [PATCH] Apply the same fix MEJ did ( http://marc.info/?l=enlightenment-svn&m=127157420508183&w=3 ) to more specs git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@48213 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- embryo.spec.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/embryo.spec.in b/embryo.spec.in index 140d4d3..0f2330e 100644 --- a/embryo.spec.in +++ b/embryo.spec.in @@ -1,9 +1,11 @@ %define _missing_doc_files_terminate_build 0 +%{!?_rel:%{expand:%%global _rel 0.r%(svnversion | sed 's/[^0-9].*$//' || echo 0000)}} + Summary: A small virtual machine engine (in a library) and bytecode compiler Name: @PACKAGE@ Version: @VERSION@ -Release: 0.%(date '+%Y%m%d') +Release: %{_rel} License: BSD Group: System Environment/Libraries Source: %{name}-%{version}.tar.gz -- 2.7.4