From 73bf4c5dbca26219c19843858ce9ca528a9cdb81 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:44:13 +0200 Subject: [PATCH 1/7] Rebuilt for Python 3.11 --- youtube-dl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube-dl.spec b/youtube-dl.spec index 1986a7a..c43fe83 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,6 +1,6 @@ Name: youtube-dl Version: 2021.12.17 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A small command-line program to download online videos License: Unlicense URL: https://yt-dl.org @@ -85,6 +85,9 @@ install -Dpm644 youtube-dl.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/ %{_datadir}/fish/vendor_functions.d/youtube-dl.fish %changelog +* Mon Jun 13 2022 Python Maint - 2021.12.17-3 +- Rebuilt for Python 3.11 + * Sat Jan 22 2022 Fedora Release Engineering - 2021.12.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 8f250038d00b77b34b1d35392c6c6b2934223a78 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 13:46:25 +0000 Subject: [PATCH 2/7] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- youtube-dl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube-dl.spec b/youtube-dl.spec index c43fe83..e1e841a 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,6 +1,6 @@ Name: youtube-dl Version: 2021.12.17 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A small command-line program to download online videos License: Unlicense URL: https://yt-dl.org @@ -85,6 +85,9 @@ install -Dpm644 youtube-dl.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/ %{_datadir}/fish/vendor_functions.d/youtube-dl.fish %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 2021.12.17-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 2021.12.17-3 - Rebuilt for Python 3.11 From d6ecf6a29762a1ba737f76b492ada9c897678091 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 08:07:05 +0000 Subject: [PATCH 3/7] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- youtube-dl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube-dl.spec b/youtube-dl.spec index e1e841a..be4c8f1 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,6 +1,6 @@ Name: youtube-dl Version: 2021.12.17 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A small command-line program to download online videos License: Unlicense URL: https://yt-dl.org @@ -85,6 +85,9 @@ install -Dpm644 youtube-dl.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/ %{_datadir}/fish/vendor_functions.d/youtube-dl.fish %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 2021.12.17-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 2021.12.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 05aa972c950dacef40bf4249ae7d553552e102fb Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 21:00:38 +0200 Subject: [PATCH 4/7] Rebuilt for Python 3.12 --- youtube-dl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube-dl.spec b/youtube-dl.spec index be4c8f1..149c1f9 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,6 +1,6 @@ Name: youtube-dl Version: 2021.12.17 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A small command-line program to download online videos License: Unlicense URL: https://yt-dl.org @@ -85,6 +85,9 @@ install -Dpm644 youtube-dl.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/ %{_datadir}/fish/vendor_functions.d/youtube-dl.fish %changelog +* Tue Jun 13 2023 Python Maint - 2021.12.17-6 +- Rebuilt for Python 3.12 + * Sat Jan 21 2023 Fedora Release Engineering - 2021.12.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 08e468c9bbb95e13774c33834302c500ade5ca9d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 19:32:21 +0000 Subject: [PATCH 5/7] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- youtube-dl.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube-dl.spec b/youtube-dl.spec index 149c1f9..04195c8 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,6 +1,6 @@ Name: youtube-dl Version: 2021.12.17 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A small command-line program to download online videos License: Unlicense URL: https://yt-dl.org @@ -85,6 +85,9 @@ install -Dpm644 youtube-dl.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/ %{_datadir}/fish/vendor_functions.d/youtube-dl.fish %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 2021.12.17-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 13 2023 Python Maint - 2021.12.17-6 - Rebuilt for Python 3.12 From 3075b953c45657ccd88808a03f4ceb8288408fb5 Mon Sep 17 00:00:00 2001 From: David Bold Date: Tue, 1 Aug 2023 11:14:47 +0200 Subject: [PATCH 6/7] Update to git snapshot --- .gitignore | 4 ++-- sources | 4 +--- youtube-dl.spec | 38 +++++++++++++++++++------------------- 3 files changed, 22 insertions(+), 24 deletions(-) diff --git a/.gitignore b/.gitignore index cd95146..8ece10f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -/youtube-dl-20*.tar.gz -/youtube-dl-20*.tar.gz.sig +/youtube-dl-*.tar.gz +/youtube-dl-*.tar.gz.sig /youtube-dl-gpgkeys.gpg diff --git a/sources b/sources index 6ba3e7e..1d55b63 100644 --- a/sources +++ b/sources @@ -1,3 +1 @@ -SHA512 (youtube-dl-2021.12.17.tar.gz) = bfc8280703b08f66e1108e9ebd9ab4689f064ac7cef03bd3d1fd2bc64928570e4376e389c9bc188eafdbcd74444cfc8aeccc83ee362ad4f478910efef3573ddb -SHA512 (youtube-dl-2021.12.17.tar.gz.sig) = 4d26b6ae868426843a7aea1c9bf1454eb6c360f3f49c005a0db29f49859e19a4974ca901919b8056cd45b7e263be75c1ca62a8c5ab83fa143d4bd5af707c2547 -SHA512 (youtube-dl-gpgkeys.gpg) = fa4a760cd88709390cb4a5545efd9f8b7c94f821928f4f1348957357d71bd8aa3829d1db2a876263cab5a7f0a0f4b7aa71fdc86f1ead26a058f6d7a750132218 +SHA512 (youtube-dl-2efc8de4d2299e08e0c84d674d7fc7f3fa669487.tar.gz) = f7feb314e25fb77dd72fdbcfc29803bffbd9a68a4d269a52d838611d1c84e5e94627286aeb259990819256eba9428f7a886796437f5e4f0f879dce731edef820 diff --git a/youtube-dl.spec b/youtube-dl.spec index 1986a7a..1fbf9f1 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,39 +1,33 @@ +%global forgeurl https://github.com/ytdl-org/youtube-dl/ +%global commit 2efc8de4d2299e08e0c84d674d7fc7f3fa669487 +%forgemeta Name: youtube-dl -Version: 2021.12.17 -Release: 2%{?dist} +Release: 1%{?dist} Summary: A small command-line program to download online videos License: Unlicense -URL: https://yt-dl.org -Source0: https://yt-dl.org/downloads/%{version}/youtube-dl-%{version}.tar.gz -Source1: https://yt-dl.org/downloads/%{version}/youtube-dl-%{version}.tar.gz.sig -# 2016-06-09: -# Merged GPG keys from https://rg3.github.io/youtube-dl/download.html in one file -# gpg --export --export-options export-minimal "428D F5D6 3EF0 7494 BB45 5AC0 EBF0 1804 BCF0 5F6B" \ -# "ED7F 5BF4 6B3B BED8 1C87 368E 2C39 3E0F 18A9 236D" \ -# "7D33 D762 FD6C 3513 0481 347F DB4B 54CB A482 6A18" > youtube-dl-gpgkeys.gpg -Source2: youtube-dl-gpgkeys.gpg +Version: 2023.07.30.git%(c=%{commit}; echo ${c:0:7}) +URL: %{forgeurl} +Source: %{forgesource} Source3: %{name}.conf BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools Requires: python%{python3_pkgversion}-setuptools # Tests failed because of no connection in Koji. -# BuildRequires: python-nose BuildArch: noarch -# For source verification with gpgv -BuildRequires: gnupg2 +BuildRequires: pandoc +BuildRequires: make # https://bugzilla.redhat.com/show_bug.cgi?id=1951630 Recommends: AtomicParsley +# https://bugzilla.redhat.com/show_bug.cgi?id=2203543 +Recommends: /usr/bin/ffmpeg + %description Small command-line program to download videos from YouTube and other sites. %prep -gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} -%setup -qn %{name} - -# remove pre-built file -rm youtube-dl +%forgesetup cp -a setup.py setup.py.installpath # Remove files that are installed to the wrong path @@ -46,6 +40,8 @@ find youtube_dl -type f -exec sed -i -e '1{/^\#!\/usr\/bin\/env python$/d;};' {} %build %py3_build +make PYTHON=python3 + %install @@ -85,6 +81,10 @@ install -Dpm644 youtube-dl.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/ %{_datadir}/fish/vendor_functions.d/youtube-dl.fish %changelog +* Tue Aug 01 2023 David Bold - 2023.07.30.git2efc8de-1.20230801git2efc8de +- Update to latest git snapshot +- Ajust for building from snapshot + * Sat Jan 22 2022 Fedora Release Engineering - 2021.12.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From bfd2a49158e21d1f482dee13c8eb09c4b6eadb13 Mon Sep 17 00:00:00 2001 From: David Bold Date: Tue, 15 Aug 2023 20:23:08 +0200 Subject: [PATCH 7/7] Update to latest git snapshot --- sources | 2 +- youtube-dl.spec | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 1d55b63..564821a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (youtube-dl-2efc8de4d2299e08e0c84d674d7fc7f3fa669487.tar.gz) = f7feb314e25fb77dd72fdbcfc29803bffbd9a68a4d269a52d838611d1c84e5e94627286aeb259990819256eba9428f7a886796437f5e4f0f879dce731edef820 +SHA512 (youtube-dl-86e3cf5e5849aefcc540c19bb5fa5ab7f470d1c1.tar.gz) = b9dcd76f3a1b7f52a60022a837dc4f4cbb9e777d7b56ad2b2efa5ce773bddfb6a3b4e23509a16d72f4a9e99a62f0e50bf23f9989f458d9eaf1ac49c9d890b54b diff --git a/youtube-dl.spec b/youtube-dl.spec index c13c842..37510a0 100644 --- a/youtube-dl.spec +++ b/youtube-dl.spec @@ -1,8 +1,8 @@ %global forgeurl https://github.com/ytdl-org/youtube-dl/ -%global commit 2efc8de4d2299e08e0c84d674d7fc7f3fa669487 +%global commit 86e3cf5e5849aefcc540c19bb5fa5ab7f470d1c1 %forgemeta Name: youtube-dl -Version: 2023.07.30.git%(c=%{commit}; echo ${c:0:7}) +Version: 2023.08.04.git%(c=%{commit}; echo ${c:0:7}) Release: 1%{?dist} Summary: A small command-line program to download online videos License: Unlicense @@ -81,6 +81,9 @@ install -Dpm644 youtube-dl.fish %{buildroot}%{_datadir}/fish/vendor_functions.d/ %{_datadir}/fish/vendor_functions.d/youtube-dl.fish %changelog +* Tue Aug 15 2023 David Bold - 2023.08.04.git286e3cf-1.20230815git286e3cf +- Update to latest git snapshot + * Tue Aug 01 2023 David Bold - 2023.07.30.git2efc8de-1.20230801git2efc8de - Update to latest git snapshot - Ajust for building from snapshot