taglevel to show pldistro
Barış Metin [Mon, 15 Mar 2010 14:07:10 +0000 (14:07 +0000)]
ejabberd.spec

index 42a18eb..7411404 100644 (file)
@@ -1,6 +1,11 @@
-Name:           ejabberd
-Version:        2.1.3
-Release:        1%{?dist}
+
+%define name ejabberd
+%define version 2.1.3
+%define taglevel 1
+
+Name:           %{name}
+Version:        %{version}
+Release:        %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
 Summary:        A distributed, fault-tolerant Jabber/XMPP server
 
 Group:          Applications/Internet