From a157ec421378a3e7486f46516e0c6a77f60357bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 16 Jan 2024 21:29:22 +0100 Subject: [PATCH] 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 --- python-psycopg2.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 9850949..8f32c95 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -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}