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.
This commit is contained in:
Miro Hrončok 2024-01-16 21:29:22 +01:00
parent 99cb3252fb
commit 23d0ab6ec6

View File

@ -50,12 +50,12 @@ features offered by PostgreSQL.
Summary: %{sum}
Name: python-%{srcname}
Version: 2.9.9
Release: 1%{?dist}
Release: 2%{?dist}
# The exceptions allow linking to OpenSSL and PostgreSQL's libpq
License: LGPL-3.0-or-later WITH openvpn-openssl-exception
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}
@ -311,6 +311,9 @@ done
%changelog
* Tue Jan 16 2024 Miro Hrončok <mhroncok@redhat.com> - 2.9.9-2
- Fix URL and Source URL
* Mon Dec 11 2023 Ondrej Sloup <osloup@redhat.com> - 2.9.9-1
- Rebase to the latest upstream version