sources: upstream disabled the ftp:// download option

Version: 9.6.5-1
This commit is contained in:
Pavel Raiskup 2017-08-29 16:11:11 +02:00
parent d93550a71b
commit 1fa73e0a7b

View File

@ -81,12 +81,12 @@ Url: http://www.postgresql.org/
%global setup_version 5.1 %global setup_version 5.1
%global service_name postgresql.service %global service_name postgresql.service
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2 Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
# The PDF file is generated by generate-pdf.sh, which see for comments # The PDF file is generated by generate-pdf.sh, which see for comments
Source1: postgresql-%{version}-US.pdf Source1: postgresql-%{version}-US.pdf
# generate-pdf.sh is not used during RPM build, but include for documentation # generate-pdf.sh is not used during RPM build, but include for documentation
Source2: generate-pdf.sh Source2: generate-pdf.sh
Source3: ftp://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2 Source3: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2
Source4: Makefile.regress Source4: Makefile.regress
Source9: postgresql.tmpfiles.d Source9: postgresql.tmpfiles.d
Source10: postgresql.pam Source10: postgresql.pam
@ -99,8 +99,8 @@ Source12: https://github.com/devexp-db/postgresql-setup/releases/download/v%{set
# Those here are just to enforce packagers check that the tarball was downloaded # Those here are just to enforce packagers check that the tarball was downloaded
# correctly. Also, this allows us check that packagers-only tarballs do not # correctly. Also, this allows us check that packagers-only tarballs do not
# differ with publicly released ones. # differ with publicly released ones.
Source16: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256 Source16: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
Source17: ftp://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2.sha256 Source17: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{prevversion}.tar.bz2.sha256
# Comments for these patches are in the patch files. # Comments for these patches are in the patch files.
Patch1: rpm-pgsql.patch Patch1: rpm-pgsql.patch