diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2012-06-06 14:02:18 +0800 |
---|---|---|
committer | Chengwei Yang <chengwei.yang@intel.com> | 2012-06-06 14:02:18 +0800 |
commit | 3404ec33ad76543c55d646e77293959a94045e2a (patch) | |
tree | f75a33aad307105d34b678f9519dc7ee66a9b793 | |
parent | 13e104f2bd7d2df81f8685cc161d4f84f7ab02da (diff) | |
download | python-urlgrabber-3404ec33ad76543c55d646e77293959a94045e2a.tar.gz python-urlgrabber-3404ec33ad76543c55d646e77293959a94045e2a.tar.bz2 python-urlgrabber-3404ec33ad76543c55d646e77293959a94045e2a.zip |
fix build failure caused by incorrect %setup and update SOURCE0 to
consists of name and version macro as gbs and hudson expected.
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
-rw-r--r-- | packaging/python-urlgrabber.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/python-urlgrabber.spec b/packaging/python-urlgrabber.spec index 7b6e139..0ee10a4 100644 --- a/packaging/python-urlgrabber.spec +++ b/packaging/python-urlgrabber.spec @@ -8,7 +8,7 @@ Group: Development/Libraries License: LGPLv2+ BuildArch: noarch URL: http://urlgrabber.baseurl.org/ -Source0: http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz Source1001: packaging/python-urlgrabber.manifest Patch0: urlgrabber-HEAD.patch Patch1: urlgrabber-libproxy-httponly.patch @@ -30,7 +30,7 @@ authentication, proxies and more. %prep -%setup -q -n urlgrabber-%{version} +%setup -q %patch0 -p1 %patch1 -p1 |