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>2014-09-24 10:55:15 +0800
commit9a36f831ae38ff82f991cf2b605c1e10b3a8eea2 (patch)
tree3ecd6a6746e97a696ce87bfe23161b9c0a126178
parentced5a77395b9940c3c09cfc579deea9a68a1a1e0 (diff)
downloadmesa-9a36f831ae38ff82f991cf2b605c1e10b3a8eea2.tar.gz
mesa-9a36f831ae38ff82f991cf2b605c1e10b3a8eea2.tar.bz2
mesa-9a36f831ae38ff82f991cf2b605c1e10b3a8eea2.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}