From: Zhang Qiang Date: Mon, 28 May 2012 23:00:51 +0000 (+0800) Subject: using tar.bz2 and fix %setup issue X-Git-Tag: 2.0_alpha~2 X-Git-Url: http://review.tizen.org/git/?p=external%2Fbyacc.git;a=commitdiff_plain;h=fafcdd2abaca2b8ec68cc49398bc05144738c089 using tar.bz2 and fix %setup issue --- diff --git a/packaging/byacc.spec b/packaging/byacc.spec index 3ec6a23..7252875 100644 --- a/packaging/byacc.spec +++ b/packaging/byacc.spec @@ -8,7 +8,7 @@ Release: 2 License: Public Domain Group: Development/Tools URL: http://invisible-island.net/byacc/byacc.html -Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz +Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -19,7 +19,7 @@ If you are going to do development on your system, you will want to install this package. %prep -%setup -q -n byacc-%{byaccdate} +%setup -q -n %{name}-%{version} %build %configure --disable-dependency-tracking