From fafcdd2abaca2b8ec68cc49398bc05144738c089 Mon Sep 17 00:00:00 2001 From: Zhang Qiang Date: Tue, 29 May 2012 07:00:51 +0800 Subject: [PATCH] using tar.bz2 and fix %setup issue --- packaging/byacc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4