From 9a7485dda2404e07607d58a0269558de2fc60ddc Mon Sep 17 00:00:00 2001 From: Rui Seabra 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 SVN revision: 48213 --- legacy/elementary/elementary.spec.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/elementary.spec.in b/legacy/elementary/elementary.spec.in index 54d5792a19..e255c54045 100644 --- a/legacy/elementary/elementary.spec.in +++ b/legacy/elementary/elementary.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: EFL toolkit for small touchscreens Name: @PACKAGE@ Version: @VERSION@ -Release: 0.%(date '+%Y%m%d') +Release: %{_rel} License: Lesser GPL Group: System Environment/Libraries URL: http://trac.enlightenment.org/e/wiki/Elementary