Since the SVN revision is now included in %{version}, it's redundant
authormej <mej@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Jun 2011 20:36:43 +0000 (20:36 +0000)
committermej <mej@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 16 Jun 2011 20:36:43 +0000 (20:36 +0000)
to have it in %{release} also.  So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@60407 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ecore.spec.in

index a010bdf..04a605a 100644 (file)
@@ -35,7 +35,7 @@
 %define ac_with_lib_ecore_imf       --%{?with_lib_ecore_imf:en}%{!?with_lib_ecore_imf:dis}able-ecore-imf
 %define ac_with_lib_ecore_sdl       --%{?with_lib_ecore_sdl:en}%{!?with_lib_ecore_sdl:dis}able-ecore-sdl
 
-%{!?_rel:%{expand:%%global _rel 0.r%(svnversion | sed 's/[^0-9].*$//' || echo 0000)}}
+%{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
 
 Summary: Enlightened Core X interface library
 Name: @PACKAGE@