public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-ytmusicapi] rawhide: spec cleanup and modernization
Date: Sat, 13 Jun 2026 23:24:28 GMT [thread overview]
Message-ID: <178139306845.1.18348234085940665583.rpms-python-ytmusicapi-d1198341d8a3@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-ytmusicapi
Branch : rawhide
Commit : d1198341d8a391914e6323bc524db481393c12b4
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-06-13T19:59:53-03:00
Stats : +53/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-ytmusicapi/c/d1198341d8a391914e6323bc524db481393c12b4?branch=rawhide
Log:
spec cleanup and modernization
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/python-ytmusicapi.spec b/python-ytmusicapi.spec
index 85dcf1d..be8789a 100644
--- a/python-ytmusicapi.spec
+++ b/python-ytmusicapi.spec
@@ -2,20 +2,20 @@
Name: python-%{srcname}
Version: 1.10.2
-Release: 7%{?dist}
+Release: 8%{?dist}
License: MIT
Summary: Unofficial API for YouTube Music
Url: https://github.com/sigma67/%{srcname}
-Source: %{pypi_source}
+Source0: %{pypi_source}
+Source1: ytmusicapi.1
#Patch0: 001-setuptools-version.patch
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
%global _description %{expand:
ytmusicapi is a Python 3 library to send requests to the YouTube Music API.
-It emulates YouTube Music web client requests using the user’s
+It emulates YouTube Music web client requests using the user's
cookie data for authentication.}
%description %_description
@@ -23,7 +23,6 @@ cookie data for authentication.}
%package -n python3-%{srcname}
Summary: %{summary}
-Recommends: python3-%{srcname}
%description -n python3-%{srcname} %_description
@@ -39,14 +38,25 @@ Recommends: python3-%{srcname}
%install
%pyproject_install
%pyproject_save_files %{srcname}
+install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/ytmusicapi.1
+
+%check
+%pyproject_check_import
%files -n python3-%{srcname} -f %{pyproject_files}
%license LICENSE
-%doc README.rst CONTRIBUTING.rst PKG-INFO
+%doc README.rst CONTRIBUTING.rst
%{_bindir}/ytmusicapi
+%{_mandir}/man1/ytmusicapi.1*
%changelog
+* Sat Jun 13 2026 Filipe Rosset <filiperosset@fedoraproject.org> - 1.10.2-8
+- Modernize spec file: remove duplicate/circular Recommends
+- Fix description encoding issue
+- Remove PKG-INFO from %%doc
+- Add manual page for ytmusicapi binary
+
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 1.10.2-7
- Rebuilt for Python 3.15
diff --git a/ytmusicapi.1 b/ytmusicapi.1
new file mode 100644
index 0000000..6b85b0d
--- /dev/null
+++ b/ytmusicapi.1
@@ -0,0 +1,37 @@
+.TH YTMUSICAPI "1" "June 2026" "ytmusicapi" "User Commands"
+.SH NAME
+ytmusicapi \- Unofficial API for YouTube Music
+.SH SYNOPSIS
+.B ytmusicapi
+[\fIOPTIONS\fR] {\fBoauth\fR|\fBbrowser\fR} [\fISUBOPTIONS\fR]
+.SH DESCRIPTION
+.B ytmusicapi
+is a command-line tool to setup authentication credentials for the ytmusicapi Python library.
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Show help message and exit.
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+Show program's version number and exit.
+.SH SUBCOMMANDS
+.SS oauth
+Setup OAuth authentication credentials.
+.TP
+\fB\-\-file\fR \fIFILE\fR
+Optional path to output JSON file.
+.TP
+\fB\-\-client\-id\fR \fICLIENT_ID\fR
+Use specified Google YouTube Data API client ID.
+.TP
+\fB\-\-client\-secret\fR \fICLIENT_SECRET\fR
+Use specified Google YouTube Data API client secret.
+.SS browser
+Setup browser cookie credentials (deprecated).
+.TP
+\fB\-\-file\fR \fIFILE\fR
+Optional path to output JSON file.
+.SH AUTHOR
+ytmusicapi was written by sigma67.
+.SH SEE ALSO
+The online documentation at https://ytmusicapi.readthedocs.io/
reply other threads:[~2026-06-13 23:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178139306845.1.18348234085940665583.rpms-python-ytmusicapi-d1198341d8a3@fedoraproject.org \
--to=filiperosset@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox