[lxc-devel] [PATCH] Add %{dist} tag to differentiate RPM distributions and releases
Dwight Engen
dwight.engen at oracle.com
Thu Oct 25 17:06:26 UTC 2012
Note that an additional Release field is not necessary for the devel package
as it will follow the primary Release field. For more information on the dist
tag, see http://fedoraproject.org/wiki/Packaging:DistTag
Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
---
lxc.spec.in | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/lxc.spec.in b/lxc.spec.in
index 3b9d72b..12207e3 100644
--- a/lxc.spec.in
+++ b/lxc.spec.in
@@ -22,7 +22,7 @@
Name: @PACKAGE@
Version: @VERSION@
-Release: 1
+Release: 1%{?dist}
URL: http://lxc.sourceforge.net
Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
Summary: %{name} : Linux Container
@@ -52,7 +52,6 @@ Group: System Environment/Libraries
The %{name}-libs package contains libraries for running %{name} applications.
%package devel
-Release: 1
Summary: development library for %{name}
Group: Development/Libraries
--
1.7.1
More information about the lxc-devel
mailing list