Fix URL and Source URL

http://initd.org/psycopg/ no longer works

The SHA512 sum of the tarball downloaded from GitHub matches the one in sources.

Proposed for Fedora in https://src.fedoraproject.org/rpms/python-psycopg2/pull-request/14
This commit is contained in:
Miro Hrončok 2024-01-16 21:29:22 +01:00
parent ce44091330
commit a157ec4213

View File

@ -53,9 +53,9 @@ Version: 2.9.6
Release: 3%{?dist}
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
License: LGPL-3.0-or-later AND (GPL-2.0-or-later WITH Classpath-exception-2.0)
Url: http://initd.org/psycopg/
Url: https://www.psycopg.org/
Source0: http://initd.org/psycopg/tarballs/PSYCOPG-2-8/psycopg2-%{version}.tar.gz
Source0: https://github.com/psycopg/psycopg2/archive/%{version}/psycopg2-%{version}.tar.gz
%{?with_python2:BuildRequires: python2-devel python2-setuptools}
%{?with_python3:BuildRequires: python3-devel python3-setuptools}