summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-28 17:34:22 -0800
committerQuanxian Wang <quanxian.wang@intel.com>2013-10-17 11:51:08 +0800
commitae3a8c342691fe782df271f6ac5a5e15cc1696df (patch)
tree50477a311a2282a31a8756a86c58fe3ce569d8df
parent5a5baf2687b792a116aa6dd2aec601c1d8cba505 (diff)
downloadmesa-ae3a8c342691fe782df271f6ac5a5e15cc1696df.tar.gz
mesa-ae3a8c342691fe782df271f6ac5a5e15cc1696df.tar.bz2
mesa-ae3a8c342691fe782df271f6ac5a5e15cc1696df.zip
Revert "removed _version macro"
keep _version macro, otherwise we run into trouble with the %setup macro This reverts commit f21eccb0846f43811e52de251c00c04b7f227bd2.
-rw-r--r--packaging/mesa.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec
index afedad13839..b3c6a1982f8 100644
--- a/packaging/mesa.spec
+++ b/packaging/mesa.spec
@@ -2,6 +2,7 @@
%define enable_wayland 1
#
+%define _version 9.0.git20121028
%define _name_archive MesaLib
Name: mesa
@@ -44,7 +45,7 @@ Url: http://www.mesa3d.org
Summary: System for rendering interactive 3-D graphics
License: MIT
Group: System/Libraries
-Source: %{_name_archive}-%{version}.tar.bz2
+Source: %{_name_archive}-%{_version}.tar.bz2
Source2: baselibs.conf
Source3: README.updates
Source5: drirc
@@ -350,7 +351,7 @@ packages.
%prep
-%setup -n MesaLib-%{version} -q
+%setup -n MesaLib-%{_version} -q
rm -rf docs/README.{VMS,WIN32,OS2}