Bug 2232262 - Migrate qpdf sourceforge URLs to github and replace http URLs
Summary: Migrate qpdf sourceforge URLs to github and replace http URLs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qpdf
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-16 02:01 UTC by Douglas Kosovic
Modified: 2023-08-16 05:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 05:16:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.