diff --git a/.gitignore b/.gitignore index 9638d37..6c182f6 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,4 @@ /python-dateutil-2.5.0.tar.gz /dateutil-2.5.2.tar.gz /python-dateutil-2.5.3.tar.xz -/python-dateutil-2.5.3.tar.xz.asc +/dateutil-2.5.3.tar.gz diff --git a/key-D964BEFB.gpg b/key-D964BEFB.gpg deleted file mode 100644 index 0c2228e..0000000 Binary files a/key-D964BEFB.gpg and /dev/null differ diff --git a/python-dateutil.spec b/python-dateutil.spec index 73ad115..f019b8a 100644 --- a/python-dateutil.spec +++ b/python-dateutil.spec @@ -9,13 +9,10 @@ Summary: Powerful extensions to the standard datetime module Group: Development/Languages License: Python URL: https://github.com/dateutil/dateutil -Source0: https://github.com/dateutil/dateutil/releases/download/%{version}/python-dateutil-%{version}.tar.xz -Source1: https://github.com/dateutil/dateutil/releases/download/%{version}/python-dateutil-%{version}.tar.xz.asc -Source2: key-D964BEFB.gpg +Source0: https://github.com/dateutil/dateutil/archive/%{version}/%{modname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python-sphinx -BuildRequires: gnupg2 %description The dateutil module provides powerful extensions to the standard datetime @@ -59,8 +56,7 @@ Summary: API documentation for python-dateutil This package contains %{summary}. %prep -gpgv2 --homedir . --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} -%autosetup -p0 +%autosetup -p0 -n %{modname}-%{version} iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new mv NEWS.new NEWS diff --git a/sources b/sources index 948d55f..9637bb3 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -5aeb0a0806b03061890c641e1959f430 python-dateutil-2.5.3.tar.xz -ba2bb18bd7c1a296a4c6bd8b010f49e3 python-dateutil-2.5.3.tar.xz.asc +93e297b21a3c5d2a8db878788efbcf25 dateutil-2.5.3.tar.gz