Bug 2232262

Summary: Migrate qpdf sourceforge URLs to github and replace http URLs
Product: [Fedora] Fedora Reporter: Douglas Kosovic <doug>
Component: qpdfAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 05:16:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Douglas Kosovic 2023-08-16 02:01:20 UTC
As QPDF is now primarily hosted on GitHub and there are compatibility issues with http (as opposed to https) URLs, could the following SourceForge URLs in the RPM spec file:

URL:     http://qpdf.sourceforge.net/
Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
Source1: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}-doc.zip

be replaced with the following URLs:
URL:     https://qpdf.sourceforge.net/
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}-doc.zip


this will also help avoid the following error on Copr:
stderr: warning: Downloading http://downloads.sourceforge.net/sourceforge/qpdf/qpdf-11.5.0-doc.zip to /var/lib/copr-rpmbuild/workspace/workdir-y8naobo0/srcdir/qpdf-11.5.0-doc.zip
curl: (1) Protocol "http" not supported or disabled in libcurl
error: Couldn't download http://downloads.sourceforge.net/sourceforge/qpdf/qpdf-11.5.0-doc.zip

Reproducible: Always

Comment 1 Zdenek Dohnal 2023-08-16 05:16:02 UTC
Fixed in https://src.fedoraproject.org/rpms/qpdf/c/1279fd37ee84d2588cfabc3f85252dc7f86e0c37?branch=rawhide . IMO it is not a critical to create a new build for this, so the change will propagate with next qpdf update or during F40 rebuild.