SHA256
1
0
forked from pool/yt-dlp

49 Commits

Author SHA256 Message Date
562472d7b1 Import openSUSE:Leap:16.0 modifications 2025-08-12 12:21:25 +02:00
2ac05f0cd1 remove invalid imported files 2025-08-12 12:21:23 +02:00
6cb095b46c Accepting request 1246967 from network:utilities
- Update to release 2025.02.19

OBS-URL: https://build.opensuse.org/request/show/1246967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=59
2025-02-19 14:59:43 +00:00
OBS User unknown
bcff9a8e09 [info=3ff45ad337074a8977bcf7c83dfa2db84d40cae178bd5961cf327776bd465efb]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=120
2025-02-19 09:04:05 +00:00
OBS User unknown
99418bb9af [info=2d475ecc4dfdea8889c652fd08887cb28bd3a559bd3e94c4457389b11261572d]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=119
2025-02-19 08:56:00 +00:00
07d44dcaff Accepting request 1240380 from network:utilities
- Update to release 2025.01.26

OBS-URL: https://build.opensuse.org/request/show/1240380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=58
2025-01-27 19:54:33 +00:00
OBS User unknown
0e5097c432 [info=540639dbcf43877271944ba18389fe1eb1a67539b343f8052bde2b118e74b51d]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=118
2025-01-26 18:03:52 +00:00
e50549a2d3 Accepting request 1238335 from network:utilities
- Update to release 2025.01.15

OBS-URL: https://build.opensuse.org/request/show/1238335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=57
2025-01-17 17:38:03 +00:00
OBS User unknown
b81e686639 [info=0b49e4fcfb19e0992afbc169757fceae498ea5d8505a4a8d49e7993c599362bb]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=117
2025-01-16 21:29:27 +00:00
OBS User unknown
25b5a9d306 [info=561d59fd60523d37881d146ed40620945a46608c8f0156e243c8bdaa73731a7e]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=116
2025-01-16 15:47:28 +00:00
ab98d0853b Accepting request 1237204 from network:utilities
- Update to release 2025.01.12

OBS-URL: https://build.opensuse.org/request/show/1237204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=56
2025-01-13 16:50:46 +00:00
OBS User unknown
50d4f428d5 [info=70555edead64686b9bc388f28c63f7cdc8cb3a28c4b8ade8ea7fce950c132635]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=115
2025-01-13 00:15:07 +00:00
103f4e03d9 Accepting request 1233307 from network:utilities
- Fix 15.6 build

OBS-URL: https://build.opensuse.org/request/show/1233307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=55
2024-12-26 11:24:23 +00:00
OBS User unknown
6d5ce714d1 [info=21621d62687103a99aaf27e1b24836f81d98a453ec92e468b5b7de8e2ec0aa2d]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=114
2024-12-25 10:04:38 +00:00
OBS User unknown
75fba21ea3 [info=33b632532596ed45e2858cc5a0c9282733c7879f276c30e4992fca51dea215fe]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=113
2024-12-25 10:03:33 +00:00
7408a39b50 Accepting request 1233203 from network:utilities
- Update to release 2024.12.23

OBS-URL: https://build.opensuse.org/request/show/1233203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=54
2024-12-24 15:26:36 +00:00
OBS User unknown
78e878e627 [info=62f3cd1a8af87418652f917e394735f02a186445a364b38614fcefdf698b11a5]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=112
2024-12-24 01:27:20 +00:00
a01765742f Accepting request 1230791 from network:utilities
- Update to release 2024.12.13

OBS-URL: https://build.opensuse.org/request/show/1230791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=53
2024-12-13 21:39:29 +00:00
OBS User unknown
bdcbfcc4d5 [info=153289ffe07088d37be580b522647886c765e4d7947c189649721aa81f0343bb]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=111
2024-12-13 12:31:37 +00:00
398ff6dd21 Accepting request 1230582 from network:utilities
- Update to release 2024.12.06

OBS-URL: https://build.opensuse.org/request/show/1230582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=52
2024-12-12 20:20:08 +00:00
OBS User unknown
1fad9943f6 [info=1775396c4acf4f889232cd2bf4f310801254679e6dc75883fc0cc73d47b1de46]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=110
2024-12-12 12:55:29 +00:00
81b879156f Accepting request 1228119 from network:utilities
- Update to release 2024.12.03

OBS-URL: https://build.opensuse.org/request/show/1228119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=51
2024-12-04 14:27:01 +00:00
OBS User unknown
249d58ed2a [info=e67a7c9e7a6281dff155c28431ef9e13edd779ac81e96f287f20727aba1baac6]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=109
2024-12-03 21:05:20 +00:00
a1ea5cfb1f Accepting request 1225157 from network:utilities
- Update to release 2024.11.18

OBS-URL: https://build.opensuse.org/request/show/1225157
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=50
2024-11-19 21:24:33 +00:00
OBS User unknown
96512f901f [info=5304913c83f94cc675368f794c77db8ccbc0ac4ecc669910dceae173cf608046]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=108
2024-11-19 19:33:44 +00:00
4312dae86e Accepting request 1223214 from network:utilities
- Update to release 2024.11.04

OBS-URL: https://build.opensuse.org/request/show/1223214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=49
2024-11-11 12:45:36 +00:00
OBS User unknown
e6a1a25549 [info=e63ba14a9c95716b486e4289bca4873bafc22cf8f1eb187d59f58adc4e88cb5e]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=107
2024-11-04 21:53:43 +00:00
80116729e0 Accepting request 1217265 from network:utilities
- Update to release 2024.10.22

OBS-URL: https://build.opensuse.org/request/show/1217265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=48
2024-10-23 19:11:21 +00:00
OBS User unknown
a9a26075b6 [info=16d8fdc3228dfd9621e80059c79cbf05c4793443e66c3a11ce380b5a15f19709]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=106
2024-10-23 08:35:22 +00:00
adeb2d7f6a Accepting request 1206264 from network:utilities
- Update to release 2024.10.07

OBS-URL: https://build.opensuse.org/request/show/1206264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=47
2024-10-08 15:25:03 +00:00
OBS User unknown
6fb1c01801 [info=e0d553d717a556f18ce7d29b40fc58abcf94340f6c4e038fe3ab9c88449a748c]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=105
2024-10-08 08:53:10 +00:00
ea986638e7 Accepting request 1204596 from network:utilities
- Update to release 2024.09.27

OBS-URL: https://build.opensuse.org/request/show/1204596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=46
2024-09-30 13:40:38 +00:00
OBS User unknown
5e9977ee84 [info=772bea0c3ade184f7590e1d2fa4a728d5440c6d04f8bcbfb971699aea37713c2]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=104
2024-09-29 19:34:49 +00:00
OBS User unknown
d7542917f2 [info=2903687d0ba9228a4ac6e85a53089ec12af0390218d9c4d9d7d5b97a4fb2e77a]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=103
2024-09-29 19:27:50 +00:00
1397f7f8fa Accepting request 1193851 from network:utilities
- Update to release 2024.08.06

OBS-URL: https://build.opensuse.org/request/show/1193851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=45
2024-08-15 07:57:42 +00:00
OBS User unknown
6be522beb0 [info=652218aef2a55fa09144916b5b67bc0dff00939dd4ec510984539d6728fd2fc2]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=102
2024-08-14 08:51:51 +00:00
OBS User unknown
410e5acbfc [info=5b59a6ed84e3bf7be718ffd4387406171193e484400ad29e748de9ff71ef1c5e]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=101
2024-08-13 20:40:30 +00:00
OBS User unknown
0febb9ccd3 [info=0bb8636baffb9ca95bdb43c3550394aa623bf0a4ecdf3840e429d774bc2202ff]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=100
2024-08-13 20:38:11 +00:00
9dffe4ef38 Accepting request 1191016 from network:utilities
- Update to release 2024.08.01

OBS-URL: https://build.opensuse.org/request/show/1191016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=44
2024-08-01 20:06:08 +00:00
OBS User unknown
dd0331268d [info=e9e1c5b157a1853f7734104d802559b904d6a8bf689921644024215d3b7003fb]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=99
2024-08-01 15:51:26 +00:00
e627107d0b Accepting request 1189487 from network:utilities
- Update to release 2024.07.25

OBS-URL: https://build.opensuse.org/request/show/1189487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=43
2024-07-25 13:39:38 +00:00
OBS User unknown
013a3c9244 [info=3c69f3bf8086a6ac6cd8fd12083d592c06d28ff3ad2ad5e2e1d3cc1995057e0a]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=98
2024-07-25 04:26:21 +00:00
b8a7476236 Accepting request 1188111 from network:utilities
- Update to release 2024.07.16

OBS-URL: https://build.opensuse.org/request/show/1188111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=42
2024-07-17 13:15:11 +00:00
OBS User unknown
b6ffb00093 [info=bff58c4d9f250a16a0df9de249cbbd1ee579ada776cd85edb64ea3ab34f82d6a]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=97
2024-07-17 05:53:58 +00:00
4e124dbb89 Accepting request 1186521 from network:utilities
- Update to release 2024.07.09

OBS-URL: https://build.opensuse.org/request/show/1186521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=41
2024-07-11 18:29:55 +00:00
OBS User unknown
1366d74a0b [info=5a220b638cae3eeae154ca6500e2d8b34e754da97562b16e0b4ddfb210bb78f5]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=96
2024-07-10 07:24:23 +00:00
d9e3374691 Accepting request 1184916 from network:utilities
Update to release 2024.07.01

OBS-URL: https://build.opensuse.org/request/show/1184916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/yt-dlp?expand=0&rev=40
2024-07-03 18:30:38 +00:00
ec67df018b [info=81825454db1cadf353114d970ca18474b2a0e5f748e1918a9890ea3e1f3571bd]
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=95
2024-07-02 17:54:57 +00:00
56060aedbc Accepting request 1184826 from home:jubalh:branches:network:utilities
- Update to release 2024.07.01:
  * Security: [CVE-2024-38519] Properly sanitize file-extension
    to prevent file system modification and RCE
    Unsafe extensions are now blocked from being downloaded
  * For details see:
    https://github.com/yt-dlp/yt-dlp/releases/tag/2024.07.01

OBS-URL: https://build.opensuse.org/request/show/1184826
OBS-URL: https://build.opensuse.org/package/show/network:utilities/yt-dlp?expand=0&rev=94
2024-07-02 17:46:11 +00:00
4 changed files with 8 additions and 251 deletions

View File

@@ -1 +0,0 @@
addFilter("files-duplicate")

View File

@@ -1,228 +1,3 @@
-------------------------------------------------------------------
Sat Sep 06 09:45:45 CEST 2025 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 2025.09.05
* Fix --id deprecation warning
* charlierose: Fix extractor
* googledrive: Fix subtitles extraction
* itvbtcc: Fix extractor
* kick: vod: Support ongoing livestream VODs
* lrt: Fix extractors
* tver: Extract more metadata
* vevo: Restore extractors
* build: Overhaul Linux builds and refactor release workflow
-------------------------------------------------------------------
Thu Aug 28 00:09:55 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.08.27
* Add tcc player JS variant
* Deprioritize web_safari m3u8 formats
* Use alternative tv user-agent when authenticated
-------------------------------------------------------------------
Sat Aug 23 07:56:19 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.08.22
* cookies: Fix --cookies-from-browser with Firefox 142+
-------------------------------------------------------------------
Wed Aug 20 07:42:37 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.08.20
* Warn against use of `-f mp4`
* yt: Add es5 and es6 player JS variants
* yt: Default to main player JS variant
* yt: Extract title and description from initial data
* yt: Handle required preroll waiting period
-------------------------------------------------------------------
Mon Aug 11 07:18:23 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.08.11
* yt: Add player params to mweb client
* dash: Re-extract if using --load-info-json with
--live-from-start
-------------------------------------------------------------------
Tue Jul 22 00:13:54 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.07.21
* Default behaviour changed from --mtime to --no-mtime
* yt: Do not require PO Token for premium accounts
* yt: Extract global nsig helper functions
* yt: tab: Fix subscriptions feed extraction
-------------------------------------------------------------------
Tue Jul 1 15:00:04 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.06.30
* youtube: Fix premium formats extraction
-------------------------------------------------------------------
Thu Jun 26 07:58:44 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.06.25
* yt: Check any ios m3u8 formats prior to download
* yt: Improve player context payloads
-------------------------------------------------------------------
Tue Jun 10 00:19:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.06.09
* adobepass: add Fubo MSO, fix Philo MSO authentication
* yt: Add tv_simply player client
* yt: Extract srt subtitles
* yt: Rework nsig function name extraction
-------------------------------------------------------------------
Thu May 22 14:36:43 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.05.22
* yt: Add PO token support for subtitles
* yt: Add web_embedded client for age-restricted videos
* yt: Add a PO Token Provider Framework
* yt: Extract media_type for all videos
* yt: Fix --live-from-start support for premieres
* yt: Fix geo-restriction error handling
-------------------------------------------------------------------
Sun May 4 08:49:41 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.04.30 [boo#1242186]
* New option --preset-alias/-t has been added
-------------------------------------------------------------------
Mon Mar 31 23:24:45 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.03.31
* yt: add player_js_variant extractor-arg
* yt/tab: Fix playlist continuation extraction
-------------------------------------------------------------------
Fri Mar 28 11:09:09 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.03.27
* youtube: Make signature and nsig extraction more robust
-------------------------------------------------------------------
Wed Mar 26 02:01:15 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.03.26
* youtube: fix signature and nsig extraction for player 4fcd6e4a
-------------------------------------------------------------------
Sat Mar 22 09:03:31 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.03.21
* Fix external downloader availability when using
``--ffmpeg-location``
* youtube: fix nsig and signature extraction for player 643afba4.
-------------------------------------------------------------------
Fri Feb 28 21:01:45 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Require same version between yt-dlp -> python-yt-dlp
-------------------------------------------------------------------
Wed Feb 19 08:55:03 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.02.19
* NSIG workaround for tce player JS
-------------------------------------------------------------------
Sun Jan 26 18:02:45 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.01.26
* bilibili: Support space video list extraction without login
* crunchyroll: Remove extractors
* youtube: Download tv client Innertube config
* youtube: Use different PO token for GVS and Player
-------------------------------------------------------------------
Thu Jan 16 21:28:51 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.01.15
* youtube: Do not use web_creator as a default client
-------------------------------------------------------------------
Mon Jan 13 00:14:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.01.12
* yt: fix DASH formats incorrectly skipped in some situations
* yt: refactor cookie auth
-------------------------------------------------------------------
Wed Dec 25 09:38:56 UTC 2024 - Luigi Baldoni <aloisio@gmx.com>
- Fix 15.6 build
-------------------------------------------------------------------
Tue Dec 24 01:26:36 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.12.23
* yt: add age-gate workaround for some embeddable videos
-------------------------------------------------------------------
Fri Dec 13 12:28:50 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.12.13
* yt: fix signature function extraction for 2f1832d2
* yt: prioritize original language over auto-dubbed audio
-------------------------------------------------------------------
Thu Dec 12 12:50:03 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.12.06
* yt: fix ``n`` sig extraction for player 3bb1f723
* yt: fix signature function extraction
* yt: player client maintenance
-------------------------------------------------------------------
Tue Dec 3 20:59:18 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.12.03
* bilibili: Always try to extract HD formats
* youtube: Adjust player clients for site changes
-------------------------------------------------------------------
Tue Nov 19 19:30:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.11.18
* cloudflarestream: Avoid extraction via videodelivery.net
* youtube: remove broken OAuth support
-------------------------------------------------------------------
Mon Nov 4 21:48:05 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.11.04
* Prioritize AV1
* Remove Python <= 3.8 support
* youtube: Adjust OAuth refresh token handling
-------------------------------------------------------------------
Wed Oct 23 08:32:16 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.10.22
* yt: Remove broken android_producer client
* yt: Remove broken age-restriction workaround
* yt: Support logging in with OAuth
-------------------------------------------------------------------
Tue Oct 8 08:49:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.10.07
* Fix cookie load error handling
* youtube: Change default player clients to ios,mweb
* patreon: Extract all m3u8 formats for locked posts
-------------------------------------------------------------------
Sun Sep 29 19:34:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2024.09.27
* Support excluding player_clients in extractor-arg
* clip: Prioritize https formats
-------------------------------------------------------------------
Tue Aug 13 20:43:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package yt-dlp
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,20 +19,15 @@
%define skip_python2 1
%define skip_python36 1
%define skip_python37 1
%define skip_python38 1
%if 0%{?suse_version} < 1600
%global pythons python312
%endif
%{?sle15_python_module_pythons}
Name: yt-dlp
Version: 2025.09.05
Version: 2024.08.06
Release: 0
Summary: Enhanced fork of youtube-dl, a video site downloader for offline watching
License: CC-BY-SA-3.0 AND SUSE-Public-Domain
Group: Productivity/Networking/Web/Utilities
URL: https://github.com/yt-dlp/yt-dlp
Source: https://github.com/yt-dlp/yt-dlp/releases/download/%version/yt-dlp.tar.gz
Source9: yt-dlp-rpmlintrc
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
@@ -46,11 +41,8 @@ Obsoletes: yt-dlp-fish-completion < %version-%release
Provides: yt-dlp-fish-completion = %version-%release
Obsoletes: yt-dlp-zsh-completion < %version-%release
Provides: yt-dlp-zsh-completion = %version-%release
%if 0%{?suse_version} < 1600
Requires: python312-yt-dlp = %version
%else
Requires: python3-yt-dlp = %version
%endif
# %%primary_python not available in Leap yet
Requires: %(echo %{python_module yt-dlp} | perl -pe 's{.* }{}g')
%define python_subpackage_only 1
%python_subpackages
@@ -96,17 +88,8 @@ rm -f youtube-dl yt-dlp
b="%buildroot"
%pyproject_install
ln -s yt-dlp "$b/%_bindir/youtube-dl"
%fdupes %buildroot/usr
rm -Rf "$b/%_datadir/doc"
# if you leave everything as-is, rpmlint complains about
# python312-yt-dlp.noarch: W: files-duplicate
# /usr/lib/python3.12/site-packages/yt_dlp/utils/__pycache__/progress.cpython-312.pyc
# /usr/lib/python3.12/site-packages/yt_dlp/utils/__pycache__/progress.cpython-312.opt-1.pyc
# if you add fdupes, rpmlint complains about
# python312-yt-dlp.noarch: E: python-bytecode-inconsistent-mtime
# /usr/lib/python3.12/site-packages/yt_dlp/extractor/__pycache__/screencastomatic.cpython-312.pyc
# 2024-09-29T18:11:02
# /usr/lib/python3.12/site-packages/yt_dlp/extractor/screencastomatic.py
# 2024-09-29T18:11:01
%files -n yt-dlp
%license LICENSE

BIN
yt-dlp.tar.gz (Stored with Git LFS)

Binary file not shown.