--- a/contrib/mercurial.spec Thu May 15 01:48:37 2014 +0200
+++ b/contrib/mercurial.spec Tue May 20 04:07:58 2014 +0200
@@ -8,7 +8,7 @@
License: GPLv2+
Group: Development/Tools
URL: http://mercurial.selenic.com/
-Source0: http://mercurial.selenic.com/release/%{name}-%{version}.tar.gz
+Source0: %{name}-%{version}-%{release}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python >= 2.4, python-devel, make, gcc, python-docutils >= 0.5, gettext
@@ -22,7 +22,7 @@
for efficient handling of very large distributed projects.
%prep
-%setup -q
+%setup -q -n mercurial-%{version}-%{release}
%build
make all