diff --git a/centpkg.spec b/centpkg.spec
index 6444c60..e03bc99 100644
--- a/centpkg.spec
+++ b/centpkg.spec
@@ -3,8 +3,8 @@ Version:        0.4.6
 Release:        1%{?dist}
 Summary:        CentOS utility for working with dist-git
 License:        GPLv2+
-URL:            https://git.centos.org/summary/centpkg.git
-Source0:        centpkg-%{version}.tar.gz
+URL:            https://git.centos.org/centos/centpkg
+Source0:        https://git.centos.org/centos/centpkg/archive/%{version}/centpkg-%{version}.tar.gz
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
@@ -15,7 +15,7 @@ BuildRequires:  %{py3_dist setuptools}
 Provides the centpkg command for working with dist-git
 
 %prep
-%setup -q -c
+%autosetup
 
 
 %build