Apply the same fix MEJ did ( http://marc.info/?l=enlightenment-svn&m=127157420508183...
authorrui <rui@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 21 Apr 2010 20:55:23 +0000 (20:55 +0000)
committerrui <rui@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 21 Apr 2010 20:55:23 +0000 (20:55 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@48213 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

embryo.spec.in

index 140d4d3..0f2330e 100644 (file)
@@ -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