commit 53c0d9882ac8b2f1a35b00d470f0e307c2866190
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Oct 22 17:56:33 2021 +0100
Increase timeout to 900 seconds
add-fedpkg-base-to-rfpkg-minimal.patch | 4 ++--
rfpkg-minimal.spec | 5 ++++-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/add-fedpkg-base-to-rfpkg-minimal.patch
b/add-fedpkg-base-to-rfpkg-minimal.patch
index 24753d2..2eb5633 100644
--- a/add-fedpkg-base-to-rfpkg-minimal.patch
+++ b/add-fedpkg-base-to-rfpkg-minimal.patch
@@ -50,13 +50,13 @@ index 0000000..87d90e8
+ # Remove parenthesis around tarball name
+ filename=${filename#(}
+ tarball=${filename%)}
-+ curl -L -H Pragma: -o "./$tarball" -R -S --fail --retry 5
--max-time 15 "$baseurl/$pkgname/$tarball/$hashtype/$hash/$tarball"
++ curl -L -H Pragma: -o "./$tarball" -R -S --fail --retry 5
--max-time 900 "$baseurl/$pkgname/$tarball/$hashtype/$hash/$tarball"
+ done < sources
+ "${hashtype}sum" -c sources
+ else
+ # Ok, we're working with MD5.
+ while read -r md5sum tarball; do
-+ curl -L -H Pragma: -o "./$tarball" -R -S --fail --retry 5
--max-time 15 "$baseurl/$pkgname/$tarball/$md5sum/$tarball"
++ curl -L -H Pragma: -o "./$tarball" -R -S --fail --retry 5
--max-time 900 "$baseurl/$pkgname/$tarball/$md5sum/$tarball"
+ done < sources
+ md5sum -c sources
+ fi
diff --git a/rfpkg-minimal.spec b/rfpkg-minimal.spec
index 75fe049..a0875be 100644
--- a/rfpkg-minimal.spec
+++ b/rfpkg-minimal.spec
@@ -1,6 +1,6 @@
Name: rfpkg-minimal
Version: 0.4.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Fork of fedpkg-minimal for RPM Fusion
# Licensing is unclear; LICENSE is the GPLv2 but bin/fedpkg (upstream)
@@ -43,6 +43,9 @@ install -pm 755 bin/rfpkg-minimal %{buildroot}%{_bindir}/rfpkg-minimal
%license LICENSE
%changelog
+* Fri Oct 22 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.4.1-4
+- Increase timeout to 900 seconds
+
* Sat Aug 24 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 0.4.1-3
- Use pull request instead